Searched refs:strLen (Results 1 - 25 of 32) sorted by relevance

12

/external/icu/icu4c/source/io/
H A Dufmt_cmn.h28 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*U16_MAX_LENGTH*sizeof(UChar))
/external/icu/icu4c/source/common/
H A Duset.cpp88 uset_addString(USet* set, const UChar* str, int32_t strLen) { argument
89 // UnicodeString handles -1 for strLen
90 UnicodeString s(strLen<0, str, strLen);
95 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen) { argument
96 // UnicodeString handles -1 for strLen
97 UnicodeString s(str, strLen);
112 uset_removeString(USet* set, const UChar* str, int32_t strLen) { argument
113 UnicodeString s(strLen==-1, str, strLen);
173 uset_containsString(const USet* set, const UChar* str, int32_t strLen) argument
184 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen) argument
[all...]
H A Dutext.cpp1198 int32_t strLen = ut->b; local
1200 if (strLen < 0) {
1201 strLen = 0x7fffffff;
1234 U8_NEXT_OR_FFFD(s8, srcIx, strLen, c);
1249 if (srcIx>=strLen) {
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
H A DMessageNanoPrinter.java226 int strLen = str.length();
227 StringBuilder b = new StringBuilder(strLen);
228 for (int i = 0; i < strLen; i++) {
/external/skia/src/ports/
H A DSkOSFile_posix.cpp141 size_t strLen = strlen(str); local
143 return strLen >= suffixLen &&
144 memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0;
H A DSkFontConfigInterface_direct.cpp48 uint32_t strLen, weight, width; local
49 (void)buffer.readU32(&strLen);
56 fString.resize(strLen);
57 (void)buffer.read(fString.writable_str(), strLen);
H A DSkRemotableFontMgr_win_dw.cpp436 UINT32 strLen = static_cast<UINT32>( variable
439 HR_GENERAL(dwFactory->CreateTextLayout(str, strLen, fallbackFormat.get(),
H A DSkFontMgr_win_dw.cpp746 UINT32 strLen = static_cast<UINT32>( local
771 new FontFallbackSource(str, strLen, *dwBcp47, numberSubstitution.get()));
778 strLen,
815 HRNM(fFactory->CreateTextLayout(str, strLen, fallbackFormat.get(),
/external/icu/icu4c/source/common/unicode/
H A Duset.h563 * uset_containsString(set, str, strLen) will return TRUE.
567 * @param strLen the length of the string or -1 if null terminated.
571 uset_addString(USet* set, const UChar* str, int32_t strLen);
579 * @param strLen the length of the string or -1 if null terminated.
583 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
610 * uset_containsString(set, str, strLen) will return FALSE.
614 * @param strLen the length of the string or -1 if null terminated.
618 uset_removeString(USet* set, const UChar* str, int32_t strLen);
787 * @param strLen the length of the string or -1 if null terminated.
792 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
[all...]
/external/deqp/execserver/
H A DxsProtocol.cpp135 int strLen = (int)strlen(value); local
137 m_buf.resize(curPos + strLen+1);
138 deMemcpy(&m_buf[curPos], &value[0], strLen+1);
/external/skia/src/core/
H A DSkString.cpp43 size_t strLen = strlen(string); local
45 return strLen >= suffixLen &&
46 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen);
51 size_t strLen = strlen(string); local
52 if (0 == strLen) {
55 return (suffixChar == string[strLen-1]);
/external/llvm/include/llvm/ADT/
H A DStringMap.h118 explicit StringMapEntry(unsigned strLen) argument
119 : StringMapEntryBase(strLen), second() {}
121 StringMapEntry(unsigned strLen, InitTy &&V) argument
122 : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
/external/icu/icu4c/source/i18n/
H A Duspoof_conf.cpp333 int32_t strLen = s->fStr->length(); local
335 U_ASSERT(strLen >= previousStringLength);
336 if (strLen == 1) {
342 if ((strLen > previousStringLength) && (previousStringLength >= 4)) {
349 previousStringLength = strLen;
H A Ddtfmtsym.cpp1394 int32_t strLen = 0; local
1399 const UChar *resStr = ures_getStringByIndex(data, i, &strLen, &status);
1401 (*(field)+i)->setTo(TRUE, resStr, strLen);
1412 initField(UnicodeString **field, int32_t& length, const UChar *data, LastResortSize numStr, LastResortSize strLen, UErrorCode &status) { argument
1420 (*(field)+i)->setTo(TRUE, data+(i*((int32_t)strLen)), -1);
1434 int32_t strLen = 0; local
1435 const UChar *resStr = ures_getStringByKey(data, gNamesLeapTag, &strLen, &status);
1437 field[index].setTo(TRUE, resStr, strLen);
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DM_E_T_A_.py235 strLen = len(string)
237 while i < strLen:
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DM_E_T_A_.py235 strLen = len(string)
237 while i < strLen:
/external/icu/icu4c/source/test/cintltst/
H A Dcreststn.c676 int32_t strLen =0; local
677 const UChar* str = tres_getString(theBundle, -1, "testincludeUTF",&strLen,&status);
691 if(strLen != len ){
692 log_err("Did not get the expected len for riwords. Expected: %i , Got: %i\n", len ,strLen);
695 if(u_strlen(str) != strLen || str[strLen]!= 0 ){
698 if(u_strncmp(str, buffer,strLen)!=0){
713 int32_t strLen =0; local
714 const UChar* str = tres_getString(theBundle, -1, "testinclude",&strLen,&status);
729 if(strLen !
2169 int32_t strLen = 0, seqLen = 0;/*, binLen = 0, binSeqLen = 0;*/ local
[all...]
H A Dcapitst.c1682 static void doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) { argument
1688 skLen = ucol_getSortKey(coll, uString, strLen, NULL, 0);
1692 skLen2 = ucol_getSortKey(coll, uString, strLen, sortKey, i);
1713 int32_t strLen = 0; local
1715 strLen = u_unescape(cString, uString, 256);
1720 doOverrunTest(coll, uString, strLen);
1724 doOverrunTest(coll, uString, strLen);
1728 doOverrunTest(coll, uString, strLen);
1734 doOverrunTest(coll, uString, strLen);
H A Dcldrtest.c1141 int32_t strLen; local
1202 strLen = uset_getItem(exemplarSet, m, &start, &end, ubuf,
1206 if (strLen == 0) {
1215 if (codeSets[j]!=NULL && uset_containsString(codeSets[j], ubuf, strLen)) {
H A Dcitertst.c1061 int strLen = u_unescape(src[count], str, 20); local
1064 ucol_setText(iter, str, strLen, &status);
H A Dcustrtrn.c1437 int32_t strLen =0; local
1438 const UChar* str = ures_getStringByKey(theBundle, "testinclude",&strLen,&status);
1440 int32_t uSrcLen = strLen;
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang/ ...
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DSpoofChecker.java1120 int strLen = s.fStr.length();
1122 assert (strLen >= previousStringLength);
1123 if (strLen == 1) {
1129 if ((strLen > previousStringLength) && (previousStringLength >= 4)) {
1136 previousStringLength = strLen;
H A DUTF16.java2662 final int strLen = s.length();
2663 if (strLen == 0) {
2671 return strLen == Character.charCount(codePoint) ? 0 : -1;
/external/mockito/cglib-and-asm/src/org/mockito/asm/
H A DClassReader.java1927 int strLen = 0;
1941 buf[strLen++] = (char) c;
1947 buf[strLen++] = (char) (((c & 0x1F) << 6) | (d & 0x3F));
1953 buf[strLen++] = (char) (((c & 0x0F) << 12)
1958 return new String(buf, 0, strLen);

Completed in 606 milliseconds

12