/third_party/icu/icu4c/source/test/perf/utrie2perf/ |
H A D | utrie2perf.cpp | 51 utf8(NULL), utf8Length(0), countInputCodePoints(0) { in UTrie2PerfTest() 63 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status); in UTrie2PerfTest() 65 utf8=(char *)malloc(utf8Length); in UTrie2PerfTest() 68 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); in UTrie2PerfTest() 77 (long)countInputCodePoints, (long)bufferLen, (long)utf8Length, in UTrie2PerfTest() 78 (double)utf8Length/countInputCodePoints); in UTrie2PerfTest() 90 int32_t utf8Length; member in UTrie2PerfTest 166 UBool isFCD=unorm_checkFCDUTF8((const uint8_t *)testcase.utf8, testcase.utf8Length, NULL);
|
/third_party/icu/icu4c/source/test/perf/unisetperf/ |
H A D | unisetperf.cpp | 53 utf8(NULL), utf8Length(0), countInputCodePoints(0), spanCount(0) { in UnicodeSetPerformanceTest() 70 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status); in UnicodeSetPerformanceTest() 72 utf8=(char *)malloc(utf8Length); in UnicodeSetPerformanceTest() 75 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); in UnicodeSetPerformanceTest() 84 (long)countInputCodePoints, (long)bufferLen, (long)utf8Length, (long)spanCount, in UnicodeSetPerformanceTest() 85 (double)countInputCodePoints/spanCount, (double)bufferLen/spanCount, (double)utf8Length/spanCount, in UnicodeSetPerformanceTest() 86 (double)utf8Length/countInputCodePoints); in UnicodeSetPerformanceTest() 125 int32_t utf8Length; member in UnicodeSetPerformanceTest 344 int32_t length=testcase.utf8Length; in call() 390 int32_t length=testcase.utf8Length; in call() [all...] |
/third_party/icu/icu4c/source/test/perf/utfperf/ |
H A D | utfperf.cpp | 42 static int32_t utf8Length, encodedLength, outputLength, countInputCodePoints; variable 92 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status); in UtfPerformanceTest() 271 input8(utf8), input8Length(utf8Length) { in FromUTF8()
|
/third_party/icu/icu4c/source/common/ |
H A D | unisetspan.cpp | 209 utf8Length(0), in UnicodeSetStringSpan() 249 utf8Length+=length8; in UnicodeSetStringSpan() 274 allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan() 279 allocSize+=stringsLength*4+utf8Length; in UnicodeSetStringSpan() 334 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); in UnicodeSetStringSpan() 372 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); in UnicodeSetStringSpan() 400 utf8Length(otherStringSpan.utf8Length), in UnicodeSetStringSpan() 412 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan()
|
H A D | unisetspan.h | 127 int32_t utf8Length; member in UnicodeSetStringSpan
|
/third_party/node/deps/icu-small/source/common/ |
H A D | unisetspan.cpp | 209 utf8Length(0), in UnicodeSetStringSpan() 249 utf8Length+=length8; in UnicodeSetStringSpan() 274 allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan() 279 allocSize+=stringsLength*4+utf8Length; in UnicodeSetStringSpan() 334 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); in UnicodeSetStringSpan() 372 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); in UnicodeSetStringSpan() 400 utf8Length(otherStringSpan.utf8Length), in UnicodeSetStringSpan() 412 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan()
|
H A D | unisetspan.h | 127 int32_t utf8Length; member in UnicodeSetStringSpan
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unisetspan.cpp | 209 utf8Length(0), in UnicodeSetStringSpan() 249 utf8Length+=length8; in UnicodeSetStringSpan() 274 allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan() 279 allocSize+=stringsLength*4+utf8Length; in UnicodeSetStringSpan() 334 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); in UnicodeSetStringSpan() 372 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); in UnicodeSetStringSpan() 400 utf8Length(otherStringSpan.utf8Length), in UnicodeSetStringSpan() 412 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan()
|
H A D | unisetspan.h | 127 int32_t utf8Length; member in UnicodeSetStringSpan
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | Utf8.java | 242 int utf8Length = utf16Length; in encodedLength() 254 utf8Length += ((0x7f - c) >>> 31); // branch free! in encodedLength() 256 utf8Length += encodedLengthGeneral(sequence, i); in encodedLength() 261 if (utf8Length < utf16Length) { in encodedLength() 264 "UTF-8 length does not fit in int: " + (utf8Length + (1L << 32))); in encodedLength() 266 return utf8Length; in encodedLength() 271 int utf8Length = 0; in encodedLengthGeneral() 275 utf8Length += (0x7f - c) >>> 31; // branch free! in encodedLengthGeneral() 277 utf8Length += 2; in encodedLengthGeneral() 289 return utf8Length; in encodedLengthGeneral() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | convtest.h | 48 int32_t utf8Length; member
|
H A D | convtest.cpp | 1428 utf8Limit=source+cc.utf8Length; in stepFromUTF8() 1661 u_strToUTF8(utf8, UPRV_LENGTHOF(utf8), &cc.utf8Length, in FromUnicodeCase() 1668 cc.utf8Length=-1; in FromUnicodeCase() 1724 if(cc.utf8Length>=0) { in FromUnicodeCase()
|
H A D | rbbitst.cpp | 440 int32_t utf8Length; in CharStringAppend() local 441 u_strToUTF8WithSub(NULL, 0, &utf8Length, // Output Buffer, NULL for preflight. in CharStringAppend() 450 char *buffer = dest.getAppendBuffer(utf8Length, utf8Length, capacity, status); in CharStringAppend() 451 u_strToUTF8WithSub(buffer, utf8Length, NULL, in CharStringAppend() 454 dest.append(buffer, utf8Length, status); in CharStringAppend()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | ccapitst.c | 2677 int32_t utf8Length; in testFromTruncatedUTF8() local 2709 utf8Length=charUTF8Length+length; in testFromTruncatedUTF8() 2718 &source, utf8+utf8Length, in testFromTruncatedUTF8() 2743 int32_t utf8Length, expectLength; in testFromBadUTF8() local 2759 utf8Length=charUTF8Length; in testFromBadUTF8() 2766 memcpy(utf8+utf8Length, badUTF8[i], length); in testFromBadUTF8() 2767 utf8Length+=length; in testFromBadUTF8() 2769 memcpy(utf8+utf8Length, charUTF8, charUTF8Length); in testFromBadUTF8() 2770 utf8Length+=charUTF8Length; in testFromBadUTF8() 2781 utf8, utf8Length, in testFromBadUTF8() [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | stylo.hpp | [all...] |