Home
last modified time | relevance | path

Searched refs:cLength (Results 1 – 21 of 21) sorted by relevance

/third_party/icu/icu4c/source/test/letest/
Dletsutil.cpp41 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV); in getCString() local
42 char *cString = NEW_ARRAY(char, cLength + 1); in getCString()
44 uString->extract(0, uLength, cString, cLength, US_INV); in getCString()
45 cString[cLength] = '\0'; in getCString()
68 le_int32 cLength = uString->extract(0, uLength, NULL, 0, "UTF-8"); in getUTF8String() local
69 char *cString = NEW_ARRAY(char, cLength + 1); in getUTF8String()
71 uString->extract(0, uLength, cString, cLength, "UTF-8"); in getUTF8String()
73 cString[cLength] = '\0'; in getUTF8String()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DEdits.java931 int aLength = 0, ab_bLength = 0, bc_bLength = 0, cLength = 0;
950 cLength = bcIter.newLength();
954 addReplace(pending_aLength, pending_cLength + cLength);
957 pending_cLength += cLength;
1005 int unchangedLength = aLength <= cLength ? aLength : cLength;
1008 bc_bLength = cLength -= unchangedLength;
1016 addReplace(pending_aLength + bc_bLength, pending_cLength + cLength);
1029 cLength = bc_bLength -= ab_bLength;
1037 addReplace(pending_aLength + aLength, pending_cLength + cLength);
1046 pending_cLength += cLength;
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DEdits.java905 int aLength = 0, ab_bLength = 0, bc_bLength = 0, cLength = 0;
924 cLength = bcIter.newLength();
928 addReplace(pending_aLength, pending_cLength + cLength);
931 pending_cLength += cLength;
979 int unchangedLength = aLength <= cLength ? aLength : cLength;
982 bc_bLength = cLength -= unchangedLength;
990 addReplace(pending_aLength + bc_bLength, pending_cLength + cLength);
1003 cLength = bc_bLength -= ab_bLength;
1011 addReplace(pending_aLength + aLength, pending_cLength + cLength);
1020 pending_cLength += cLength;
[all …]
/third_party/node/deps/icu-small/source/common/
Dedits.cpp263 int32_t aLength = 0, ab_bLength = 0, bc_bLength = 0, cLength = 0; in mergeAndAppend() local
282 cLength = bcIter.newLength(); in mergeAndAppend()
286 addReplace(pending_aLength, pending_cLength + cLength); in mergeAndAppend()
289 pending_cLength += cLength; in mergeAndAppend()
343 int32_t unchangedLength = aLength <= cLength ? aLength : cLength; in mergeAndAppend()
346 bc_bLength = cLength -= unchangedLength; in mergeAndAppend()
354 addReplace(pending_aLength + bc_bLength, pending_cLength + cLength); in mergeAndAppend()
367 cLength = bc_bLength -= ab_bLength; in mergeAndAppend()
375 addReplace(pending_aLength + aLength, pending_cLength + cLength); in mergeAndAppend()
384 pending_cLength += cLength; in mergeAndAppend()
[all …]
Dunistr.cpp1953 int32_t cLength = 0; in appendCodePoint() local
1955 U16_APPEND(buffer, cLength, U16_MAX_LENGTH, c, isError); in appendCodePoint()
1956 return !isError && str.doAppend(buffer, 0, cLength).isWritable(); in appendCodePoint()
/third_party/icu/icu4c/source/common/
Dedits.cpp263 int32_t aLength = 0, ab_bLength = 0, bc_bLength = 0, cLength = 0; in mergeAndAppend() local
282 cLength = bcIter.newLength(); in mergeAndAppend()
286 addReplace(pending_aLength, pending_cLength + cLength); in mergeAndAppend()
289 pending_cLength += cLength; in mergeAndAppend()
343 int32_t unchangedLength = aLength <= cLength ? aLength : cLength; in mergeAndAppend()
346 bc_bLength = cLength -= unchangedLength; in mergeAndAppend()
354 addReplace(pending_aLength + bc_bLength, pending_cLength + cLength); in mergeAndAppend()
367 cLength = bc_bLength -= ab_bLength; in mergeAndAppend()
375 addReplace(pending_aLength + aLength, pending_cLength + cLength); in mergeAndAppend()
384 pending_cLength += cLength; in mergeAndAppend()
[all …]
Dunistr.cpp1911 int32_t cLength = 0; in appendCodePoint() local
1913 U16_APPEND(buffer, cLength, U16_MAX_LENGTH, c, isError); in appendCodePoint()
1914 return !isError && str.doAppend(buffer, 0, cLength).isWritable(); in appendCodePoint()
/third_party/skia/third_party/externals/icu/source/common/
Dedits.cpp263 int32_t aLength = 0, ab_bLength = 0, bc_bLength = 0, cLength = 0; in mergeAndAppend() local
282 cLength = bcIter.newLength(); in mergeAndAppend()
286 addReplace(pending_aLength, pending_cLength + cLength); in mergeAndAppend()
289 pending_cLength += cLength; in mergeAndAppend()
343 int32_t unchangedLength = aLength <= cLength ? aLength : cLength; in mergeAndAppend()
346 bc_bLength = cLength -= unchangedLength; in mergeAndAppend()
354 addReplace(pending_aLength + bc_bLength, pending_cLength + cLength); in mergeAndAppend()
367 cLength = bc_bLength -= ab_bLength; in mergeAndAppend()
375 addReplace(pending_aLength + aLength, pending_cLength + cLength); in mergeAndAppend()
384 pending_cLength += cLength; in mergeAndAppend()
[all …]
Dunistr.cpp1910 int32_t cLength = 0; in appendCodePoint() local
1912 U16_APPEND(buffer, cLength, U16_MAX_LENGTH, c, isError); in appendCodePoint()
1913 return !isError && str.doAppend(buffer, 0, cLength).isWritable(); in appendCodePoint()
/third_party/icu/icu4c/source/test/cintltst/
Ducsdetst.c171 int32_t beLength = 0, leLength = 0, cLength = UPRV_LENGTHOF(chars); in TestUTF16() local
172 char *beBytes = extractBytes(chars, cLength, "UTF-16BE", &beLength); in TestUTF16()
173 char *leBytes = extractBytes(chars, cLength, "UTF-16LE", &leLength); in TestUTF16()
476 …int32_t bLength = 0, brLength = 0, cLength = UPRV_LENGTHOF(chars), crLength = UPRV_LENGTHOF(chars_… in TestIBM424() local
478 char *bytes = extractBytes(chars, cLength, "IBM424", &bLength); in TestIBM424()
554 …int32_t bLength = 0, brLength = 0, cLength = UPRV_LENGTHOF(chars), crLength = UPRV_LENGTHOF(chars_… in TestIBM420() local
556 char *bytes = extractBytes(chars, cLength, "IBM420", &bLength); in TestIBM420()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCharsTrieTest.java742 int cLength=Character.charCount(c); in checkFirst() local
743 nextCp=expectedString.length()>cLength ? expectedString.codePointAt(cLength) : 0; in checkFirst()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DCharsTrieTest.java745 int cLength=Character.charCount(c); in checkFirst() local
746 nextCp=expectedString.length()>cLength ? expectedString.codePointAt(cLength) : 0; in checkFirst()
/third_party/icu/icu4c/source/test/intltest/
Ducharstrietest.cpp843 int32_t cLength=U16_LENGTH(c); in checkFirst() local
844 nextCp=expectedString.length()>cLength ? expectedString.char32At(cLength) : 0; in checkFirst()
Dtstnorm.cpp1385 int32_t cLength=s.length(); in initExpectedSkippables() local
1400 s.truncate(cLength); in initExpectedSkippables()
/third_party/node/deps/icu-small/source/i18n/
Dcollationdatabuilder.cpp574 int32_t cLength = U16_LENGTH(c); in addCE32() local
576 UBool hasContext = !prefix.isEmpty() || s.length() > cLength; in addCE32()
657 if (s.length() > cLength) { in addCE32()
705 UnicodeString suffix(s, cLength); in addCE32()
/third_party/icu/icu4c/source/i18n/
Dcollationdatabuilder.cpp574 int32_t cLength = U16_LENGTH(c); in addCE32() local
576 UBool hasContext = !prefix.isEmpty() || s.length() > cLength; in addCE32()
657 if (s.length() > cLength) { in addCE32()
705 UnicodeString suffix(s, cLength); in addCE32()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataBuilder.java181 int cLength = Character.charCount(c); in addCE32() local
183 boolean hasContext = prefix.length() != 0|| s.length() > cLength; in addCE32()
218 CharSequence suffix = s.subSequence(cLength, s.length()); in addCE32()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationDataBuilder.java182 int cLength = Character.charCount(c); in addCE32() local
184 boolean hasContext = prefix.length() != 0|| s.length() > cLength; in addCE32()
219 CharSequence suffix = s.subSequence(cLength, s.length()); in addCE32()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationdatabuilder.cpp555 int32_t cLength = U16_LENGTH(c); in addCE32() local
557 UBool hasContext = !prefix.isEmpty() || s.length() > cLength; in addCE32()
594 UnicodeString suffix(s, cLength); in addCE32()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DBasicTest.java2396 int cLength=s.length(); in initSkippables() local
2411 s.delete(cLength, 0x7fffffff); in initSkippables()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
DBasicTest.java2399 int cLength=s.length(); in initSkippables() local
2414 s.delete(cLength, 0x7fffffff); in initSkippables()