Searched refs:utf8Cnv (Results 1 – 6 of 6) sorted by relevance
/third_party/icu/icu4c/source/test/perf/utfperf/ |
D | utfperf.cpp | 270 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
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | ccapitst.c | 2666 static void testFromTruncatedUTF8(UConverter *utf8Cnv, UConverter *cnv, const char *converterName, in testFromTruncatedUTF8() argument 2696 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode); in testFromTruncatedUTF8() 2716 ucnv_convertEx(cnv, utf8Cnv, in testFromTruncatedUTF8() 2731 ucnv_getInvalidChars(utf8Cnv, invalidChars, &invalidLength, &errorCode); in testFromTruncatedUTF8() 2738 static void testFromBadUTF8(UConverter *utf8Cnv, UConverter *cnv, const char *converterName, in testFromBadUTF8() argument 2751 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_SKIP, NULL, NULL, NULL, &errorCode); in testFromBadUTF8() 2780 convertExMultiStreaming(utf8Cnv, cnv, in testFromBadUTF8() 2799 UConverter *utf8Cnv, *cnv; in TestConvertExFromUTF8() local 2808 utf8Cnv=ucnv_open("UTF-8", &errorCode); in TestConvertExFromUTF8() 2824 …testFromTruncatedUTF8(utf8Cnv, cnv, converterNames[i], charUTF8, charUTF8Length, char0, char0Lengt… in TestConvertExFromUTF8() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | convtest.cpp | 58 utf8Cnv=ucnv_open("UTF-8", &errorCode); in ConversionTest() 59 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode); in ConversionTest() 66 ucnv_close(utf8Cnv); in ~ConversionTest() 1415 UConverter *utf8Cnv, UConverter *cnv, in stepFromUTF8() argument 1455 ucnv_resetFromUnicode(utf8Cnv); in stepFromUTF8() 1459 ucnv_convertEx(cnv, utf8Cnv, in stepFromUTF8() 1619 ucnv_resetToUnicode(utf8Cnv); in FromUnicodeCase() 1726 resultLength=stepFromUTF8(cc, utf8Cnv, cnv, in FromUnicodeCase() 1737 ucnv_resetToUnicode(utf8Cnv); in FromUnicodeCase()
|
D | convtest.h | 105 UConverter *utf8Cnv; variable
|
D | usettest.h | 200 UConverter *utf8Cnv; variable
|
D | usettest.cpp | 51 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() 3315 ucnv_resetFromUnicode(utf8Cnv); in testSpanBothUTFs()
|