Home
last modified time | relevance | path

Searched refs:cnv1 (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp746 LocalUConverterPointer cnv1(ucnv_open("UTF-8", errorCode)); in TestUTF8ToUTF8Overflow() local
762 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow()
772 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow()
784 ucnv_reset(cnv1.getAlias()); in TestUTF8ToUTF8Overflow()
795 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow()
805 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow()
817 ucnv_reset(cnv1.getAlias()); in TestUTF8ToUTF8Overflow()
826 …ucnv_setToUCallBack(cnv1.getAlias(), UCNV_TO_U_CALLBACK_STOP, nullptr, nullptr, nullptr, errorCode… in TestUTF8ToUTF8Overflow()
832 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow()
840 ucnv_getInvalidChars(cnv1.getAlias(), errorBytes, &errorLength, errorCode); in TestUTF8ToUTF8Overflow()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c2272 UConverter *cnv1, *cnv2; in TestConvertEx() local
2276 cnv1=ucnv_open("UTF-8", &errorCode); in TestConvertEx()
2285 ucnv_close(cnv1); in TestConvertEx()
2290 convertExMultiStreaming(cnv1, cnv2, in TestConvertEx()
2294 convertExMultiStreaming(cnv2, cnv1, in TestConvertEx()
2299 convertExMultiStreaming(cnv1, cnv2, in TestConvertEx()
2311 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2327 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(shiftJIS), &src, NULL, in TestConvertEx()
2342 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2351 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
[all …]
Dnucnvtst.c4860 UConverter *cnv1; in TestLMBCS() local
4868 cnv1=ucnv_open(NAME_LMBCS_1, &errorCode); in TestLMBCS()
4880 get_name = ucnv_getName (cnv1, &errorCode); in TestLMBCS()
4890 ucnv_getSubstChars (cnv1, get_subchars, &len, &errorCode); in TestLMBCS()
4914 ucnv_close(cnv1); in TestLMBCS()