Searched refs:cnv2 (Results 1 – 3 of 3) sorted by relevance
/third_party/icu/icu4c/source/test/cintltst/ |
D | ccapitst.c | 1706 UConverter * cnv, *cnv2; in TestConvertSafeClone() local 1743 if (NULL == (cnv2 = ucnv_safeClone(cnv, buffer[0], NULL, &err)) || U_FAILURE(err)) in TestConvertSafeClone() 1747 ucnv_close(cnv2); in TestConvertSafeClone() 1762 if (NULL == (cnv2 = ucnv_safeClone(cnv, buffer[0], &bufferSize, &err)) || U_FAILURE(err)) in TestConvertSafeClone() 1766 if (cnv2) { in TestConvertSafeClone() 1767 ucnv_close(cnv2); in TestConvertSafeClone() 1772 …if (NULL == (cnv2 = ucnv_safeClone(cnv, NULL, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_… in TestConvertSafeClone() 1776 if (cnv2) { in TestConvertSafeClone() 1777 ucnv_close(cnv2); in TestConvertSafeClone() 1784 …if (NULL == (cnv2 = ucnv_safeClone(cnv, NULL, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_… in TestConvertSafeClone() [all …]
|
D | nucnvtst.c | 4880 UConverter *cnv2; in TestLMBCS() local 4892 cnv2=ucnv_open(NAME_LMBCS_2, &errorCode); in TestLMBCS() 4903 get_name = ucnv_getName (cnv2, &errorCode); in TestLMBCS() 4919 ucnv_setSubstChars (cnv2,new_subchars, len, &errorCode); in TestLMBCS() 4923 ucnv_getSubstChars (cnv2, get_subchars, &len, &errorCode); in TestLMBCS() 4934 ucnv_close(cnv2); in TestLMBCS()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | convtest.cpp | 717 LocalUConverterPointer cnv2(ucnv_open("UTF-8", errorCode)); in TestUTF8ToUTF8Overflow() local 732 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 742 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 755 ucnv_reset(cnv2.getAlias()); in TestUTF8ToUTF8Overflow() 765 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 775 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 788 ucnv_reset(cnv2.getAlias()); in TestUTF8ToUTF8Overflow() 802 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 818 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 838 LocalUConverterPointer cnv2(ucnv_open("UTF-8", errorCode)); in TestUTF8ToUTF8Streaming() local [all …]
|