Home
last modified time | relevance | path

Searched refs:utf8Cnv (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/test/perf/utfperf/
Dutfperf.cpp270 utf8Cnv(NULL), in FromUTF8()
272 utf8Cnv=ucnv_open("UTF-8", &errorCode); in FromUTF8()
285 ucnv_close(utf8Cnv); in ~FromUTF8()
292 ucnv_resetToUnicode(utf8Cnv); in call()
308 ucnv_convertEx(cnv, utf8Cnv, in call()
326 UConverter *utf8Cnv; member in FromUTF8
/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp56 utf8Cnv=ucnv_open("UTF-8", &errorCode); in ConversionTest()
57 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode); in ConversionTest()
64 ucnv_close(utf8Cnv); in ~ConversionTest()
1261 UConverter *utf8Cnv, UConverter *cnv, in stepFromUTF8() argument
1301 ucnv_resetFromUnicode(utf8Cnv); in stepFromUTF8()
1305 ucnv_convertEx(cnv, utf8Cnv, in stepFromUTF8()
1465 ucnv_resetToUnicode(utf8Cnv); in FromUnicodeCase()
1568 resultLength=stepFromUTF8(cc, utf8Cnv, cnv, in FromUnicodeCase()
1579 ucnv_resetToUnicode(utf8Cnv); in FromUnicodeCase()
Dconvtest.h103 UConverter *utf8Cnv; variable
Dusettest.h191 UConverter *utf8Cnv; variable
Dusettest.cpp52 UnicodeSetTest::UnicodeSetTest() : utf8Cnv(NULL) { in UnicodeSetTest()
56 if(utf8Cnv==NULL) { in openUTF8Converter()
58 utf8Cnv=ucnv_open("UTF-8", &errorCode); in openUTF8Converter()
60 return utf8Cnv; in openUTF8Converter()
64 ucnv_close(utf8Cnv); in ~UnicodeSetTest()
3276 ucnv_resetFromUnicode(utf8Cnv); in testSpanBothUTFs()
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c2497 static void testFromTruncatedUTF8(UConverter *utf8Cnv, UConverter *cnv, const char *converterName, in testFromTruncatedUTF8() argument
2521 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode); in testFromTruncatedUTF8()
2541 ucnv_convertEx(cnv, utf8Cnv, in testFromTruncatedUTF8()
2556 ucnv_getInvalidChars(utf8Cnv, invalidChars, &invalidLength, &errorCode); in testFromTruncatedUTF8()
2563 static void testFromBadUTF8(UConverter *utf8Cnv, UConverter *cnv, const char *converterName, in testFromBadUTF8() argument
2576 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_SKIP, NULL, NULL, NULL, &errorCode); in testFromBadUTF8()
2605 convertExMultiStreaming(utf8Cnv, cnv, in testFromBadUTF8()
2624 UConverter *utf8Cnv, *cnv; in TestConvertExFromUTF8() local
2633 utf8Cnv=ucnv_open("UTF-8", &errorCode); in TestConvertExFromUTF8()
2649 …testFromTruncatedUTF8(utf8Cnv, cnv, converterNames[i], charUTF8, charUTF8Length, char0, char0Lengt… in TestConvertExFromUTF8()
[all …]