Home
last modified time | relevance | path

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

/external/icu4c/test/perf/utrie2perf/
Dutrie2perf.cpp49 utf8(NULL), utf8Length(0), countInputCodePoints(0) { in UTrie2PerfTest()
61 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status); in UTrie2PerfTest()
63 utf8=(char *)malloc(utf8Length); in UTrie2PerfTest()
66 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); in UTrie2PerfTest()
75 (long)countInputCodePoints, (long)bufferLen, (long)utf8Length, in UTrie2PerfTest()
76 (double)utf8Length/countInputCodePoints); in UTrie2PerfTest()
88 int32_t utf8Length; member in UTrie2PerfTest
164 UBool isFCD=unorm_checkFCDUTF8((const uint8_t *)testcase.utf8, testcase.utf8Length, NULL);
/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/webkit/Source/WebKit/gtk/WebCoreSupport/
DTextCheckerClientEnchant.cpp81 int utf8Length = g_utf8_strlen(utf8Text.get(), -1); in checkSpellingOfString() local
84 GOwnPtr<PangoLogAttr> attrs(g_new(PangoLogAttr, utf8Length + 1)); in checkSpellingOfString()
87 pango_get_log_attrs(utf8Text.get(), -1, -1, language, attrs.get(), utf8Length + 1); in checkSpellingOfString()
/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.cpp1198 utf8Limit=source+cc.utf8Length; in stepFromUTF8()
1431 u_strToUTF8(utf8, LENGTHOF(utf8), &cc.utf8Length, in FromUnicodeCase()
1438 cc.utf8Length=-1; in FromUnicodeCase()
1490 if(cc.utf8Length>=0) { in FromUnicodeCase()
/external/icu4c/test/cintltst/
Dccapitst.c2535 int32_t utf8Length; in testFromTruncatedUTF8() local
2567 utf8Length=charUTF8Length+length; in testFromTruncatedUTF8()
2576 &source, utf8+utf8Length, in testFromTruncatedUTF8()
2600 int32_t utf8Length, expectLength; in testFromBadUTF8() local
2616 utf8Length=charUTF8Length; in testFromBadUTF8()
2623 memcpy(utf8+utf8Length, badUTF8[i], length); in testFromBadUTF8()
2624 utf8Length+=length; in testFromBadUTF8()
2626 memcpy(utf8+utf8Length, charUTF8, charUTF8Length); in testFromBadUTF8()
2627 utf8Length+=charUTF8Length; in testFromBadUTF8()
2638 utf8, utf8Length, in testFromBadUTF8()