Home
last modified time | relevance | path

Searched refs:utf8Length (Results 1 – 7 of 7) sorted by relevance

/external/icu4c/test/perf/unisetperf/
Dunisetperf.cpp50 utf8(NULL), utf8Length(0), countInputCodePoints(0), spanCount(0) { in UnicodeSetPerformanceTest()
67 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status); in UnicodeSetPerformanceTest()
69 utf8=(char *)malloc(utf8Length); in UnicodeSetPerformanceTest()
72 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); in UnicodeSetPerformanceTest()
81 … (long)countInputCodePoints, (long)bufferLen, (long)utf8Length, (long)spanCount, in UnicodeSetPerformanceTest()
82 … (double)countInputCodePoints/spanCount, (double)bufferLen/spanCount, (double)utf8Length/spanCount, in UnicodeSetPerformanceTest()
83 (double)utf8Length/countInputCodePoints); in UnicodeSetPerformanceTest()
122 int32_t utf8Length; member in UnicodeSetPerformanceTest
341 int32_t length=testcase.utf8Length; in call()
387 int32_t length=testcase.utf8Length; in call()
/external/icu4c/common/
Dunisetspan.cpp205 utf8Length(0), in UnicodeSetStringSpan()
242 utf8Length+=length8; in UnicodeSetStringSpan()
267 allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan()
272 allocSize+=stringsLength*4+utf8Length; in UnicodeSetStringSpan()
327 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); in UnicodeSetStringSpan()
365 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); in UnicodeSetStringSpan()
393 utf8Length(otherStringSpan.utf8Length), in UnicodeSetStringSpan()
405 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan()
Dunisetspan.h125 int32_t utf8Length; variable
/external/icu4c/test/perf/utfperf/
Dutfperf.cpp39 static int32_t utf8Length, encodedLength, outputLength, countInputCodePoints; variable
89 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status); in UtfPerformanceTest()
268 input8(utf8), input8Length(utf8Length) { in FromUTF8()
/external/icu4c/test/intltest/
Dconvtest.h46 int32_t utf8Length; member
Dconvtest.cpp1165 utf8Limit=source+cc.utf8Length; in stepFromUTF8()
1398 u_strToUTF8(utf8, LENGTHOF(utf8), &cc.utf8Length, in FromUnicodeCase()
1405 cc.utf8Length=-1; in FromUnicodeCase()
1457 if(cc.utf8Length>=0) { in FromUnicodeCase()
/external/icu4c/test/cintltst/
Dccapitst.c2523 int32_t utf8Length; in testFromTruncatedUTF8() local
2555 utf8Length=charUTF8Length+length; in testFromTruncatedUTF8()
2564 &source, utf8+utf8Length, in testFromTruncatedUTF8()
2588 int32_t utf8Length, expectLength; in testFromBadUTF8() local
2604 utf8Length=charUTF8Length; in testFromBadUTF8()
2611 memcpy(utf8+utf8Length, badUTF8[i], length); in testFromBadUTF8()
2612 utf8Length+=length; in testFromBadUTF8()
2614 memcpy(utf8+utf8Length, charUTF8, charUTF8Length); in testFromBadUTF8()
2615 utf8Length+=charUTF8Length; in testFromBadUTF8()
2626 utf8, utf8Length, in testFromBadUTF8()