Home
last modified time | relevance | path

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

/external/icu4c/test/perf/utfperf/
Dutfperf.cpp267 utf8Cnv(NULL), in FromUTF8()
269 utf8Cnv=ucnv_open("UTF-8", &errorCode); in FromUTF8()
282 ucnv_close(utf8Cnv); in ~FromUTF8()
289 ucnv_resetToUnicode(utf8Cnv); in call()
305 ucnv_convertEx(cnv, utf8Cnv, in call()
323 UConverter *utf8Cnv; member in FromUTF8
/external/icu4c/test/intltest/
Dconvtest.cpp55 utf8Cnv=ucnv_open("UTF-8", &errorCode); in ConversionTest()
56 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode); in ConversionTest()
63 ucnv_close(utf8Cnv); in ~ConversionTest()
1185 UConverter *utf8Cnv, UConverter *cnv, in stepFromUTF8() argument
1225 ucnv_resetFromUnicode(utf8Cnv); in stepFromUTF8()
1229 ucnv_convertEx(cnv, utf8Cnv, in stepFromUTF8()
1389 ucnv_resetToUnicode(utf8Cnv); in FromUnicodeCase()
1492 resultLength=stepFromUTF8(cc, utf8Cnv, cnv, in FromUnicodeCase()
1503 ucnv_resetToUnicode(utf8Cnv); in FromUnicodeCase()
Dconvtest.h100 UConverter *utf8Cnv; variable
Dusettest.h184 UConverter *utf8Cnv; variable
Dusettest.cpp51 UnicodeSetTest::UnicodeSetTest() : utf8Cnv(NULL) { in UnicodeSetTest()
55 if(utf8Cnv==NULL) { in openUTF8Converter()
57 utf8Cnv=ucnv_open("UTF-8", &errorCode); in openUTF8Converter()
59 return utf8Cnv; in openUTF8Converter()
63 ucnv_close(utf8Cnv); in ~UnicodeSetTest()
3241 ucnv_resetFromUnicode(utf8Cnv); in testSpanBothUTFs()
/external/icu4c/test/cintltst/
Dccapitst.c2530 static void testFromTruncatedUTF8(UConverter *utf8Cnv, UConverter *cnv, const char *converterName, in testFromTruncatedUTF8() argument
2554 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode); in testFromTruncatedUTF8()
2574 ucnv_convertEx(cnv, utf8Cnv, in testFromTruncatedUTF8()
2588 ucnv_getInvalidChars(utf8Cnv, invalidChars, &invalidLength, &errorCode); in testFromTruncatedUTF8()
2595 static void testFromBadUTF8(UConverter *utf8Cnv, UConverter *cnv, const char *converterName, in testFromBadUTF8() argument
2608 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_SKIP, NULL, NULL, NULL, &errorCode); in testFromBadUTF8()
2637 convertExMultiStreaming(utf8Cnv, cnv, in testFromBadUTF8()
2656 UConverter *utf8Cnv, *cnv; in TestConvertExFromUTF8() local
2665 utf8Cnv=ucnv_open("UTF-8", &errorCode); in TestConvertExFromUTF8()
2681 …testFromTruncatedUTF8(utf8Cnv, cnv, converterNames[i], charUTF8, charUTF8Length, char0, char0Lengt… in TestConvertExFromUTF8()
[all …]