Home
last modified time | relevance | path

Searched refs:length16 (Results 1 - 20 of 20) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DUnicodeSetStringSpan.java115 int length16 = string.length(); in UnicodeSetStringSpan()
116 if (length16 == 0) { in UnicodeSetStringSpan()
123 if (spanLength < length16) { // Relevant string. in UnicodeSetStringSpan()
126 if (/* (0 != (which & UTF16)) && */ length16 > maxLength16) { in UnicodeSetStringSpan()
127 maxLength16 = length16; in UnicodeSetStringSpan()
166 int length16 = string.length(); in UnicodeSetStringSpan()
168 if (spanLength < length16) { // Relevant string. in UnicodeSetStringSpan()
175 spanLength = length16 in UnicodeSetStringSpan()
176 - spanSet.spanBack(string, length16, SpanCondition.CONTAINED); in UnicodeSetStringSpan()
193 c = string.codePointBefore(length16); in UnicodeSetStringSpan()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DUnicodeSetStringSpan.java119 int length16 = string.length(); in UnicodeSetStringSpan()
121 if (spanLength < length16) { // Relevant string. in UnicodeSetStringSpan()
124 if (/* (0 != (which & UTF16)) && */ length16 > maxLength16) { in UnicodeSetStringSpan()
125 maxLength16 = length16; in UnicodeSetStringSpan()
163 int length16 = string.length(); in UnicodeSetStringSpan()
165 if (spanLength < length16) { // Relevant string. in UnicodeSetStringSpan()
172 spanLength = length16 in UnicodeSetStringSpan()
173 - spanSet.spanBack(string, length16, SpanCondition.CONTAINED); in UnicodeSetStringSpan()
190 c = string.codePointBefore(length16); in UnicodeSetStringSpan()
410 int length16 in spanWithStrings()
[all...]
/third_party/icu/icu4c/source/common/
H A Dunisetspan.cpp233 int32_t length16=string.length(); in UnicodeSetStringSpan() local
234 if (length16==0) { in UnicodeSetStringSpan()
238 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
239 if(spanLength<length16) { // Relevant string. in UnicodeSetStringSpan()
244 if((which&UTF16) && length16>maxLength16) { in UnicodeSetStringSpan()
245 maxLength16=length16; in UnicodeSetStringSpan()
248 int32_t length8=getUTF8Length(s16, length16); in UnicodeSetStringSpan()
316 int32_t length16=string.length(); in UnicodeSetStringSpan() local
317 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
318 if(spanLength<length16 in UnicodeSetStringSpan()
663 int32_t length16=string.length(); span() local
703 int32_t length16=string.length(); span() local
831 int32_t length16=string.length(); spanBack() local
873 int32_t length16=string.length(); spanBack() local
1376 int32_t length16=string.length(); spanNot() local
1420 int32_t length16=string.length(); spanNotBack() local
[all...]
H A Dunistr.cpp464 int32_t length16; in fromUTF32() local
466 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16, in fromUTF32()
471 result.releaseBuffer(length16); in fromUTF32()
473 capacity = length16 + 1; // +1 for the terminating NUL. in fromUTF32()
971 int32_t length16 = length(); in toUTF8() local
972 if(length16 != 0) { in toUTF8()
976 char *utf8 = sink.GetAppendBuffer(length16 < capacity ? length16 : capacity, in toUTF8()
977 3*length16, in toUTF8()
983 getBuffer(), length16, in toUTF8()
1341 int32_t length16; setToUTF8() local
[all...]
H A Duresbund.cpp1539 ures_toUTF8String(const UChar *s16, int32_t length16, in ures_toUTF8String() argument
1558 if (length16 == 0) { in ures_toUTF8String()
1571 if (capacity < length16) { in ures_toUTF8String()
1573 return u_strToUTF8(NULL, 0, pLength, s16, length16, status); in ures_toUTF8String()
1575 if (!forceCopy && (length16 <= 0x2aaaaaaa)) { in ures_toUTF8String()
1590 int32_t maxLength = 3 * length16 + 1; in ures_toUTF8String()
1596 return u_strToUTF8(dest, capacity, pLength, s16, length16, status); in ures_toUTF8String()
1605 int32_t length16; in ures_getUTF8String() local
1606 const UChar *s16 = ures_getString(resB, &length16, status); in ures_getUTF8String()
1607 return ures_toUTF8String(s16, length16, des in ures_getUTF8String()
1936 int32_t length16; ures_getUTF8StringByIndex() local
2574 int32_t length16; ures_getUTF8StringByKey() local
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dunisetspan.cpp233 int32_t length16=string.length(); in UnicodeSetStringSpan() local
234 if (length16==0) { in UnicodeSetStringSpan()
238 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
239 if(spanLength<length16) { // Relevant string. in UnicodeSetStringSpan()
244 if((which&UTF16) && length16>maxLength16) { in UnicodeSetStringSpan()
245 maxLength16=length16; in UnicodeSetStringSpan()
248 int32_t length8=getUTF8Length(s16, length16); in UnicodeSetStringSpan()
316 int32_t length16=string.length(); in UnicodeSetStringSpan() local
317 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
318 if(spanLength<length16 in UnicodeSetStringSpan()
663 int32_t length16=string.length(); span() local
703 int32_t length16=string.length(); span() local
831 int32_t length16=string.length(); spanBack() local
873 int32_t length16=string.length(); spanBack() local
1376 int32_t length16=string.length(); spanNot() local
1420 int32_t length16=string.length(); spanNotBack() local
[all...]
H A Dunistr.cpp464 int32_t length16; in fromUTF32() local
466 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16, in fromUTF32()
471 result.releaseBuffer(length16); in fromUTF32()
473 capacity = length16 + 1; // +1 for the terminating NUL. in fromUTF32()
1013 int32_t length16 = length(); in toUTF8() local
1014 if(length16 != 0) { in toUTF8()
1018 char *utf8 = sink.GetAppendBuffer(length16 < capacity ? length16 : capacity, in toUTF8()
1019 3*length16, in toUTF8()
1025 getBuffer(), length16, in toUTF8()
1383 int32_t length16; setToUTF8() local
[all...]
H A Duresbund.cpp1541 ures_toUTF8String(const char16_t *s16, int32_t length16, in ures_toUTF8String() argument
1560 if (length16 == 0) { in ures_toUTF8String()
1573 if (capacity < length16) { in ures_toUTF8String()
1575 return u_strToUTF8(nullptr, 0, pLength, s16, length16, status); in ures_toUTF8String()
1577 if (!forceCopy && (length16 <= 0x2aaaaaaa)) { in ures_toUTF8String()
1592 int32_t maxLength = 3 * length16 + 1; in ures_toUTF8String()
1598 return u_strToUTF8(dest, capacity, pLength, s16, length16, status); in ures_toUTF8String()
1607 int32_t length16; in ures_getUTF8String() local
1608 const char16_t *s16 = ures_getString(resB, &length16, status); in ures_getUTF8String()
1609 return ures_toUTF8String(s16, length16, des in ures_getUTF8String()
1938 int32_t length16; ures_getUTF8StringByIndex() local
2635 int32_t length16; ures_getUTF8StringByKey() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dunisetspan.cpp233 int32_t length16=string.length(); in UnicodeSetStringSpan() local
234 if (length16==0) { in UnicodeSetStringSpan()
238 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
239 if(spanLength<length16) { // Relevant string. in UnicodeSetStringSpan()
244 if((which&UTF16) && length16>maxLength16) { in UnicodeSetStringSpan()
245 maxLength16=length16; in UnicodeSetStringSpan()
248 int32_t length8=getUTF8Length(s16, length16); in UnicodeSetStringSpan()
316 int32_t length16=string.length(); in UnicodeSetStringSpan() local
317 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
318 if(spanLength<length16 in UnicodeSetStringSpan()
663 int32_t length16=string.length(); span() local
703 int32_t length16=string.length(); span() local
831 int32_t length16=string.length(); spanBack() local
873 int32_t length16=string.length(); spanBack() local
1376 int32_t length16=string.length(); spanNot() local
1420 int32_t length16=string.length(); spanNotBack() local
[all...]
H A Dunistr.cpp463 int32_t length16; in fromUTF32() local
465 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16, in fromUTF32()
470 result.releaseBuffer(length16); in fromUTF32()
472 capacity = length16 + 1; // +1 for the terminating NUL. in fromUTF32()
970 int32_t length16 = length(); in toUTF8() local
971 if(length16 != 0) { in toUTF8()
975 char *utf8 = sink.GetAppendBuffer(length16 < capacity ? length16 : capacity, in toUTF8()
976 3*length16, in toUTF8()
982 getBuffer(), length16, in toUTF8()
1340 int32_t length16; setToUTF8() local
[all...]
H A Duresbund.cpp1316 ures_toUTF8String(const UChar *s16, int32_t length16, in ures_toUTF8String() argument
1335 if (length16 == 0) { in ures_toUTF8String()
1348 if (capacity < length16) { in ures_toUTF8String()
1350 return u_strToUTF8(NULL, 0, pLength, s16, length16, status); in ures_toUTF8String()
1352 if (!forceCopy && (length16 <= 0x2aaaaaaa)) { in ures_toUTF8String()
1367 int32_t maxLength = 3 * length16 + 1; in ures_toUTF8String()
1373 return u_strToUTF8(dest, capacity, pLength, s16, length16, status); in ures_toUTF8String()
1382 int32_t length16; in ures_getUTF8String() local
1383 const UChar *s16 = ures_getString(resB, &length16, status); in ures_getUTF8String()
1384 return ures_toUTF8String(s16, length16, des in ures_getUTF8String()
1713 int32_t length16; ures_getUTF8StringByIndex() local
2213 int32_t length16; ures_getUTF8StringByKey() local
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Ducnvseltst.c451 int32_t length8, length16; in TestSelector() local
474 u_strFromUTF8(utf16, UPRV_LENGTHOF(utf16), &length16, s, length8, &status); in TestSelector()
484 verifyResult(ucnvsel_selectForString(sel_rt, utf16, length16, &status), manual_rt); in TestSelector()
485 verifyResult(ucnvsel_selectForString(sel_fb, utf16, length16, &status), manual_fb); in TestSelector()
H A Dcreststn.c2914 int32_t length16, length8, i16, i8; in tres_getString() local
2918 length = &length16; in tres_getString()
2930 length16 = *length; in tres_getString()
2981 while(i16 < length16 && i8 < length8) { in tres_getString()
2982 U16_NEXT(s16, i16, length16, c16); in tres_getString()
2990 if(i16 < length16) { in tres_getString()
2991 log_err("ures_getUTF8String(%p, %ld, '%s') UTF-8 string too short, length8=%ld, length16=%ld\n", in tres_getString()
2992 resB, (long)idx, key, (long)length8, (long)length16); in tres_getString()
2995 log_err("ures_getUTF8String(%p, %ld, '%s') UTF-8 string too long, length8=%ld, length16=%ld\n", in tres_getString()
2996 resB, (long)idx, key, (long)length8, (long)length16); in tres_getString()
[all...]
H A Dtrie2test.c1343 int32_t length16, length32; in testTrie2FromTrie1() local
1366 length16=utrie_serialize(newTrie1_16, memory1_16, sizeof(memory1_16), in testTrie2FromTrie1()
1370 utrie_unserialize(&trie1_16, memory1_16, length16, &errorCode); in testTrie2FromTrie1()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_string.cpp1203 uint32 length16 = 0; in Set_UTF16() local
1205 while (s [length16] != 0) in Set_UTF16()
1207 length16 = SafeUint32Add (length16, 1); in Set_UTF16()
1210 const uint16 *sEnd = s + length16; in Set_UTF16()
1213 SafeUint32Add (SafeUint32Mult (length16, 6), 1); in Set_UTF16()
/third_party/icu/icu4c/source/test/intltest/
H A Dusettest.h191 const UChar *s16, int32_t length16,
H A Dusettest.cpp3285 const UChar *s16, int32_t length16, in testSpanBothUTFs()
3294 testSpan(sets, s16, length16, true, whichSpans, expectLimits, expectCount, testName, index); in testSpanBothUTFs()
3304 const UChar *s16Limit=s16+length16; in testSpanBothUTFs()
3324 if(expect==length16) { in testSpanBothUTFs()
3865 int32_t length16=string16.length(); in TestStringSpan() local
3866 (void)length16; // Suppress set but not used warning. in TestStringSpan()
3886 length16=string16.length(); in TestStringSpan()
3903 length16=string16.length(); in TestStringSpan()
3284 testSpanBothUTFs(const UnicodeSetWithStrings *sets[4], const UChar *s16, int32_t length16, uint32_t whichSpans, const char *testName, int32_t index) testSpanBothUTFs() argument
/third_party/pcre2/pcre2/src/
H A Dpcre2_jit_test.c1182 int length16; in regression_tests() local
1413 length16 = convert_utf8_to_utf16((PCRE2_SPTR8)current->input, regtest_buf16, regtest_offsetmap16, REGTEST_MAX_LENGTH16); in regression_tests()
1415 length16 = copy_char8_to_char16((PCRE2_SPTR8)current->input, regtest_buf16, REGTEST_MAX_LENGTH16); in regression_tests()
1417 return_value16[1] = pcre2_match_16(re16, regtest_buf16, length16, in regression_tests()
1424 return_value16[0] = pcre2_match_16(re16, regtest_buf16, length16, in regression_tests()
1428 return_value16[0] = pcre2_jit_match_16(re16, regtest_buf16, length16, in regression_tests()
/third_party/icu/icu4c/source/test/perf/collperf2/
H A Dcollperf2.cpp1364 int32_t length16 = d16->lengthOf(i); in getData8FromData16() local
1368 u_strToUTF8(NULL, 0, &length8, s16, length16, &status); in getData8FromData16()
1378 u_strToUTF8(d8->last(), capacity8, NULL, s16, length16, &status); in getData8FromData16()
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 59 milliseconds