Home
last modified time | relevance | path

Searched refs:strLength (Results 1 – 15 of 15) 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.h224 inline const char *AllocatePoolCharArray(const char *str, size_t strLength) in AllocatePoolCharArray() argument
226 size_t requiredSize = strLength + 1; in AllocatePoolCharArray()
229 ASSERT(buffer[strLength] == '\0'); in AllocatePoolCharArray()
/external/skia/src/gpu/gl/
DGrGLContext.cpp48 int strLength = __system_property_get("ro.build.version.sdk", androidAPIVersion); in Make() local
49 if (strLength == 0 || atoi(androidAPIVersion) < 26) { in Make()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCStringChecker.cpp205 SVal strLength);
699 SVal strLength) { in setCStringLength() argument
700 assert(!strLength.isUndef() && "Attempt to set an undefined string length"); in setCStringLength()
732 if (strLength.isUnknown()) in setCStringLength()
735 return state->set<CStringLength>(MR, strLength); in setCStringLength()
753 SVal strLength = svalBuilder.getMetadataSymbolVal(CStringChecker::getTag(), in getCStringLengthForRegion() local
759 if (Optional<NonLoc> strLn = strLength.getAs<NonLoc>()) { in getCStringLengthForRegion()
771 state = state->set<CStringLength>(MR, strLength); in getCStringLengthForRegion()
774 return strLength; in getCStringLengthForRegion()
1397 SVal strLength = getCStringLength(C, state, Arg.Expression, ArgVal); in evalstrLengthCommon() local
[all …]
/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/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.cpp2532 int32_t strLength=(int32_t)ut->a; in ucstrTextExtract() local
2533 if (strLength >= 0) { in ucstrTextExtract()
2534 limit32 = pinIndex(limit, strLength); in ucstrTextExtract()
2540 if (strLength<0 && s[si]==0) { in ucstrTextExtract()
2546 strLength = si; in ucstrTextExtract()
2555 if (strLength>=0) { in ucstrTextExtract()
2569 ((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.cpp485 int strLength = __system_property_get("ro.build.version.sdk", androidAPIVersionStr); in applyDriverCorrectnessWorkarounds() local
488 androidAPIVersion = (strLength == 0) ? 0 : atoi(androidAPIVersionStr); in applyDriverCorrectnessWorkarounds()