Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DImmutableStringBuilder.h64 inline static char *AllocateEmptyPoolCharArray(size_t strLength) in AllocateEmptyPoolCharArray() argument
66 size_t requiredSize = strLength + 1u; in AllocateEmptyPoolCharArray()
DCommon.h120 inline const char *AllocatePoolCharArray(const char *str, size_t strLength) in AllocatePoolCharArray() argument
122 size_t requiredSize = strLength + 1; in AllocatePoolCharArray()
125 ASSERT(buffer[strLength] == '\0'); in AllocatePoolCharArray()
/third_party/skia/third_party/externals/angle2/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()
/third_party/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()
/third_party/flutter/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()
/third_party/node/deps/npm/node_modules/har-validator/node_modules/ajv/lib/dot/
D_limitLength.jst9 if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
Ddefinitions.def73 {{## def.strLength:
/third_party/skia/third_party/externals/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
/third_party/flutter/skia/third_party/externals/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
/third_party/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/node/deps/icu-small/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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/icu/docs/userguide/strings/
Dunicodeset.md254 int32_t strLength =4;
264 UnicodeString str(shortname,strLength,US_INV);
/third_party/flutter/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()
/third_party/skia/src/gpu/vk/
DGrVkCaps.cpp491 int strLength = __system_property_get("ro.build.version.sdk", androidAPIVersionStr); in applyDriverCorrectnessWorkarounds() local
494 androidAPIVersion = (strLength == 0) ? 0 : atoi(androidAPIVersionStr); in applyDriverCorrectnessWorkarounds()