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

12

/external/icu4c/io/
H A Dufmt_cmn.h28 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*U16_MAX_LENGTH*sizeof(UChar))
/external/icu4c/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.cpp1184 int32_t strLen = ut->b; local
1186 if (strLen < 0) {
1187 strLen = 0x7fffffff;
1220 U8_NEXT(s8, srcIx, strLen, c);
1239 if (srcIx>=strLen) {
/external/skia/legacy/src/utils/
H A DSkOSFile.cpp182 size_t strLen = strlen(str); local
184 return strLen >= suffixLen &&
185 memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0;
/external/skia/src/utils/
H A DSkOSFile.cpp182 size_t strLen = strlen(str); local
184 return strLen >= suffixLen &&
185 memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0;
/external/icu4c/common/unicode/
H A Duset.h561 * uset_containsString(set, str, strLen) will return TRUE.
565 * @param strLen the length of the string or -1 if null terminated.
569 uset_addString(USet* set, const UChar* str, int32_t strLen);
577 * @param strLen the length of the string or -1 if null terminated.
581 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
608 * uset_containsString(set, str, strLen) will return FALSE.
612 * @param strLen the length of the string or -1 if null terminated.
616 uset_removeString(USet* set, const UChar* str, int32_t strLen);
785 * @param strLen the length of the string or -1 if null terminated.
790 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
[all...]
/external/webkit/Source/JavaScriptCore/icu/unicode/
H A Duset.h343 * uset_containsString(set, str, strLen) will return TRUE.
346 * @param strLen the length of the string or -1 if null terminated.
350 uset_addString(USet* set, const UChar* str, int32_t strLen);
375 * uset_containsString(set, str, strLen) will return FALSE.
378 * @param strLen the length of the string or -1 if null terminated.
382 uset_removeString(USet* set, const UChar* str, int32_t strLen);
505 * @param strLen the length of the string or -1 if null terminated.
510 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
/external/webkit/Source/WebCore/icu/unicode/
H A Duset.h343 * uset_containsString(set, str, strLen) will return TRUE.
346 * @param strLen the length of the string or -1 if null terminated.
350 uset_addString(USet* set, const UChar* str, int32_t strLen);
375 * uset_containsString(set, str, strLen) will return FALSE.
378 * @param strLen the length of the string or -1 if null terminated.
382 uset_removeString(USet* set, const UChar* str, int32_t strLen);
505 * @param strLen the length of the string or -1 if null terminated.
510 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
/external/webkit/Source/WebCore/platform/
H A DKURL.cpp1530 static void appendEncodedHostname(UCharBuffer& buffer, const UChar* str, unsigned strLen) argument
1536 if (strLen > hostnameBufferLength || charactersAreAllASCII(str, strLen)) {
1537 buffer.append(str, strLen);
1544 int32_t numCharactersConverted = uidna_IDNToASCII(str, strLen, hostnameBuffer,
1549 QByteArray result = QUrl::toAce(String(str, strLen));
1554 utf8Hostname.set(g_utf16_to_utf8(str, strLen, 0, 0, &utf8Err.outPtr()));
1567 static void findHostnamesInMailToURL(const UChar* str, int strLen, Vector<pair<int, int> >& nameRanges) argument
1578 int hostnameOrStringStart = findFirstOf(str, strLen, p, "\"@?");
1590 int hostnameEnd = findFirstOf(str, strLen,
1630 findHostnameInHierarchicalURL(const UChar* str, int strLen, int& startOffset, int& endOffset) argument
[all...]
/external/skia/src/core/
H A DSkString.cpp42 size_t strLen = strlen(string); local
44 return strLen >= suffixLen &&
45 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen);
50 size_t strLen = strlen(string); local
51 if (0 == strLen) {
54 return (suffixChar == string[strLen-1]);
/external/llvm/include/llvm/ADT/
H A DStringMap.h115 explicit StringMapEntry(unsigned strLen) argument
116 : StringMapEntryBase(strLen), second() {}
117 StringMapEntry(unsigned strLen, const ValueTy &V) argument
118 : StringMapEntryBase(strLen), second(V) {}
/external/icu4c/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.cpp1219 int32_t strLen = 0; local
1224 const UChar *resStr = ures_getStringByIndex(data, i, &strLen, &status);
1226 (*(field)+i)->setTo(TRUE, resStr, strLen);
1237 initField(UnicodeString **field, int32_t& length, const UChar *data, LastResortSize numStr, LastResortSize strLen, UErrorCode &status) { argument
1245 (*(field)+i)->setTo(TRUE, data+(i*((int32_t)strLen)), -1);
1259 int32_t strLen = 0; local
1260 const UChar *resStr = ures_getStringByKey(data, gNamesLeapTag, &strLen, &status);
1262 field[index].setTo(TRUE, resStr, strLen);
H A Duspoof.cpp728 int32_t strLen = s.length(); local
731 int32_t outputSize = uspoof_getSkeleton(sc, type, str, strLen, smallBuf, USPOOF_STACK_BUFFER_SIZE, status);
739 uspoof_getSkeleton(sc, type, str, strLen, buf, outputSize+1, status);
/external/icu4c/test/cintltst/
H A Dcreststn.c684 int32_t strLen =0; local
685 const UChar* str = tres_getString(theBundle, -1, "testincludeUTF",&strLen,&status);
699 if(strLen != len ){
700 log_err("Did not get the expected len for riwords. Expected: %i , Got: %i\n", len ,strLen);
703 if(u_strlen(str) != strLen || str[strLen]!= 0 ){
706 if(u_strncmp(str, buffer,strLen)!=0){
721 int32_t strLen =0; local
722 const UChar* str = tres_getString(theBundle, -1, "testinclude",&strLen,&status);
737 if(strLen !
2117 int32_t strLen = 0, seqLen = 0;/*, binLen = 0, binSeqLen = 0;*/ local
[all...]
H A Dcapitst.c1674 static void doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) { argument
1680 skLen = ucol_getSortKey(coll, uString, strLen, NULL, 0);
1684 skLen2 = ucol_getSortKey(coll, uString, strLen, sortKey, i);
1705 int32_t strLen = 0; local
1707 strLen = u_unescape(cString, uString, 256);
1712 doOverrunTest(coll, uString, strLen);
1716 doOverrunTest(coll, uString, strLen);
1720 doOverrunTest(coll, uString, strLen);
1726 doOverrunTest(coll, uString, strLen);
H A Dcldrtest.c1079 int32_t strLen; local
1137 strLen = uset_getItem(exemplarSet, m, &start, &end, ubuf,
1141 if (strLen == 0) {
1150 if (codeSets[j]!=NULL && uset_containsString(codeSets[j], ubuf, strLen)) {
H A Dcustrtrn.c1425 int32_t strLen =0; local
1426 const UChar* str = ures_getStringByKey(theBundle, "testinclude",&strLen,&status);
1428 int32_t uSrcLen = strLen;
H A Dcitertst.c1417 int strLen = u_unescape(src[count], str, 20); local
1420 ucol_setText(iter, str, strLen, &status);
/external/webkit/Source/WebKit/android/jni/
H A DWebHistory.cpp432 unsigned strLen = str.length(); local
434 if (strLen) {
439 unsigned length = (strLen << 2) + vectorLen;
446 int l = SkUTF16_ToUTF8(str.characters(), strLen, data);
455 vector.append((char*)&strLen, sizeof(unsigned));
/external/skia/legacy/src/core/
H A DSkString.cpp48 size_t strLen = strlen(string); local
50 return strLen >= suffixLen &&
51 !strncmp(string + strLen - suffixLen, suffix, suffixLen);
/external/webkit/Tools/WinLauncher/
H A DWinLauncher.cpp423 int strLen = SendMessage(hDlg, EM_GETLINE, 0, (LPARAM)strPtr); local
425 BSTR bstr = SysAllocStringLen(strPtr, strLen);
/external/webkit/Source/WebCore/accessibility/gtk/
H A DAccessibilityObjectWrapperAtk.cpp1004 glong strLen = g_utf8_strlen(string, -1); local
1005 if (start > strLen || end > strLen)
/external/expat/lib/
H A Dxmlparse.c163 int strLen; member in struct:__anon6083
2060 int nameLen = sizeof(XML_Char) * (tag->name.strLen + 1);
2423 tag->name.strLen = convLen;
/external/robolectric/lib/test/
H A Dmockito-core-1.8.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...

Completed in 778 milliseconds

12