Searched refs:cnv2 (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | ccapitst.c | 1694 UConverter * cnv, *cnv2; in TestConvertSafeClone() local 1731 if (NULL == (cnv2 = ucnv_safeClone(cnv, buffer[0], NULL, &err)) || U_FAILURE(err)) in TestConvertSafeClone() 1735 ucnv_close(cnv2); in TestConvertSafeClone() 1750 if (NULL == (cnv2 = ucnv_safeClone(cnv, buffer[0], &bufferSize, &err)) || U_FAILURE(err)) in TestConvertSafeClone() 1754 if (cnv2) { in TestConvertSafeClone() 1755 ucnv_close(cnv2); in TestConvertSafeClone() 1760 …if (NULL == (cnv2 = ucnv_safeClone(cnv, NULL, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_… in TestConvertSafeClone() 1764 if (cnv2) { in TestConvertSafeClone() 1765 ucnv_close(cnv2); in TestConvertSafeClone() 1772 …if (NULL == (cnv2 = ucnv_safeClone(cnv, NULL, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_… in TestConvertSafeClone() [all …]
|
D | nucnvtst.c | 4861 UConverter *cnv2; in TestLMBCS() local 4873 cnv2=ucnv_open(NAME_LMBCS_2, &errorCode); in TestLMBCS() 4884 get_name = ucnv_getName (cnv2, &errorCode); in TestLMBCS() 4900 ucnv_setSubstChars (cnv2,new_subchars, len, &errorCode); in TestLMBCS() 4904 ucnv_getSubstChars (cnv2, get_subchars, &len, &errorCode); in TestLMBCS() 4915 ucnv_close(cnv2); in TestLMBCS()
|
/external/icu/icu4c/source/test/intltest/ |
D | convtest.cpp | 747 LocalUConverterPointer cnv2(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() 785 ucnv_reset(cnv2.getAlias()); in TestUTF8ToUTF8Overflow() 795 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 805 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 818 ucnv_reset(cnv2.getAlias()); in TestUTF8ToUTF8Overflow() 832 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow() 848 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow()
|