Home
last modified time | relevance | path

Searched refs:strLength (Results 1 – 18 of 18) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUTF16.java1590 int strLength = str.length(); in indexOf() local
1592 if (!isTrailSurrogate(str.charAt(0)) && !isLeadSurrogate(str.charAt(strLength - 1))) { in indexOf()
1597 int resultEnd = result + strLength; in indexOf()
1600 if (isLeadSurrogate(str.charAt(strLength - 1)) && (result < source.length() - 1) in indexOf()
1693 int strLength = str.length(); in indexOf() local
1695 if (!isTrailSurrogate(str.charAt(0)) && !isLeadSurrogate(str.charAt(strLength - 1))) { in indexOf()
1700 int resultEnd = result + strLength; in indexOf()
1703 if (isLeadSurrogate(str.charAt(strLength - 1)) && (result < source.length() - 1) in indexOf()
1793 int strLength = str.length(); in lastIndexOf() local
1795 if (!isTrailSurrogate(str.charAt(0)) && !isLeadSurrogate(str.charAt(strLength - 1))) { in lastIndexOf()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUTF16.java1530 int strLength = str.length(); in indexOf() local
1532 if (!isTrailSurrogate(str.charAt(0)) && !isLeadSurrogate(str.charAt(strLength - 1))) { in indexOf()
1537 int resultEnd = result + strLength; in indexOf()
1540 if (isLeadSurrogate(str.charAt(strLength - 1)) && (result < source.length() - 1) in indexOf()
1631 int strLength = str.length(); in indexOf() local
1633 if (!isTrailSurrogate(str.charAt(0)) && !isLeadSurrogate(str.charAt(strLength - 1))) { in indexOf()
1638 int resultEnd = result + strLength; in indexOf()
1641 if (isLeadSurrogate(str.charAt(strLength - 1)) && (result < source.length() - 1) in indexOf()
1729 int strLength = str.length(); in lastIndexOf() local
1731 if (!isTrailSurrogate(str.charAt(0)) && !isLeadSurrogate(str.charAt(strLength - 1))) { in lastIndexOf()
[all …]
/external/angle/src/compiler/translator/
DImmutableStringBuilder.h64 inline static char *AllocateEmptyPoolCharArray(size_t strLength) in AllocateEmptyPoolCharArray() argument
66 size_t requiredSize = strLength + 1u; in AllocateEmptyPoolCharArray()
DCommon.h223 inline const char *AllocatePoolCharArray(const char *str, size_t strLength) in AllocatePoolCharArray() argument
225 size_t requiredSize = strLength + 1; in AllocatePoolCharArray()
228 ASSERT(buffer[strLength] == '\0'); in AllocatePoolCharArray()
/external/clang/lib/StaticAnalyzer/Checkers/
DCStringChecker.cpp132 SVal strLength);
634 SVal strLength) { in setCStringLength() argument
635 assert(!strLength.isUndef() && "Attempt to set an undefined string length"); in setCStringLength()
666 if (strLength.isUnknown()) in setCStringLength()
669 return state->set<CStringLength>(MR, strLength); in setCStringLength()
687 SVal strLength = svalBuilder.getMetadataSymbolVal(CStringChecker::getTag(), in getCStringLengthForRegion() local
692 if (Optional<NonLoc> strLn = strLength.getAs<NonLoc>()) { in getCStringLengthForRegion()
704 state = state->set<CStringLength>(MR, strLength); in getCStringLengthForRegion()
707 return strLength; in getCStringLengthForRegion()
1280 SVal strLength = getCStringLength(C, state, Arg, ArgVal); in evalstrLengthCommon() local
[all …]
/external/ant-glob/src/org/apache/tools/ant/types/selectors/
DSelectorUtils.java292 int strLength = (strIdxEnd - strIdxStart + 1); in matchPath() local
295 for (int i = 0; i <= strLength - patLength; i++) { in matchPath()
456 int strLength = (strIdxEnd - strIdxStart + 1); in match() local
459 for (int i = 0; i <= strLength - patLength; i++) { in match()
/external/skia/src/gpu/gl/
DGrGLContext.cpp62 int strLength = __system_property_get("ro.build.version.sdk", androidAPIVersion); in Make() local
63 if (strLength == 0 || atoi(androidAPIVersion) < 26) { in Make()
/external/swiftshader/third_party/PowerVR_SDK/Shell/API/KEGL/
DPVRShellAPI.cpp340 const size_t strLength = strlen("GL_EXT_discard_framebuffer"); in ApiInitAPI() local
346 while (position!=NULL && position[strLength]!='\0' && position[strLength]!=' ') in ApiInitAPI()
348 position = strstr(position+strLength,"GL_EXT_discard_framebuffer"); in ApiInitAPI()
/external/tinyxml/
Dtinyxml.cpp75 outString->append( entity[0].str, entity[0].strLength ); in PutString()
80 outString->append( entity[1].str, entity[1].strLength ); in PutString()
85 outString->append( entity[2].str, entity[2].strLength ); in PutString()
90 outString->append( entity[3].str, entity[3].strLength ); in PutString()
95 outString->append( entity[4].str, entity[4].strLength ); in PutString()
Dtinyxmlparser.cpp498 if ( strncmp( entity[i].str, p, entity[i].strLength ) == 0 ) in GetEntity()
500 assert( strlen( entity[i].str ) == entity[i].strLength ); in GetEntity()
503 return ( p + entity[i].strLength ); in GetEntity()
Dtinyxml.h362 unsigned int strLength; member
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxml.cpp85 outString->append( entity[0].str, entity[0].strLength ); in EncodeString()
90 outString->append( entity[1].str, entity[1].strLength ); in EncodeString()
95 outString->append( entity[2].str, entity[2].strLength ); in EncodeString()
100 outString->append( entity[3].str, entity[3].strLength ); in EncodeString()
105 outString->append( entity[4].str, entity[4].strLength ); in EncodeString()
Dtinyxmlparser.cpp517 if ( strncmp( entity[i].str, p, entity[i].strLength ) == 0 ) in GetEntity()
519 assert( strlen( entity[i].str ) == entity[i].strLength ); in GetEntity()
522 return ( p + entity[i].strLength ); in GetEntity()
Dtinyxml.h403 unsigned int strLength; member
/external/icu/icu4c/source/common/
Dutext.cpp2530 int32_t strLength=(int32_t)ut->a; in ucstrTextExtract() local
2531 if (strLength >= 0) { in ucstrTextExtract()
2532 limit32 = pinIndex(limit, strLength); in ucstrTextExtract()
2538 if (strLength<0 && s[si]==0) { in ucstrTextExtract()
2544 strLength = si; in ucstrTextExtract()
2553 if (strLength>=0) { in ucstrTextExtract()
2567 ((si<strLength || strLength<0) && U16_IS_TRAIL(s[si]))) in ucstrTextExtract()
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c5548 int32_t strLength; in TestImport() local
5599 strLength = uset_getItem(tailoredSet, i, &start, &end, str, 500, &status); in TestImport()
5600 if(strLength < 2){ in TestImport()
5613 ucol_getSortKey(viescoll, str, strLength, sk1, 500); in TestImport()
5614 ucol_getSortKey(importviescoll, str, strLength, sk2, 500); in TestImport()
5655 int32_t strLength; in TestImportWithType() local
5710 strLength = uset_getItem(tailoredSet, i, &start, &end, str, 500, &status); in TestImportWithType()
5711 if(strLength < 2){ in TestImportWithType()
5723 ucol_getSortKey(videcoll, str, strLength, sk1, 500); in TestImportWithType()
5724 ucol_getSortKey(importvidecoll, str, strLength, sk2, 500); in TestImportWithType()
Dcreststn.c681 int32_t strLength = 0; in TestNewTypes() local
686 str = tres_getString(resB,-1,"Sequence",&strLength,&status); in TestNewTypes()
/external/skia/src/gpu/vk/
DGrVkCaps.cpp429 int strLength = __system_property_get("ro.build.version.sdk", androidAPIVersion); in applyDriverCorrectnessWorkarounds() local
430 if (strLength == 0 || atoi(androidAPIVersion) <= 28) { in applyDriverCorrectnessWorkarounds()