Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dccapitst.c1706 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 …]
Dnucnvtst.c4885 UConverter *cnv2; in TestLMBCS() local
4897 cnv2=ucnv_open(NAME_LMBCS_2, &errorCode); in TestLMBCS()
4908 get_name = ucnv_getName (cnv2, &errorCode); in TestLMBCS()
4924 ucnv_setSubstChars (cnv2,new_subchars, len, &errorCode); in TestLMBCS()
4928 ucnv_getSubstChars (cnv2, get_subchars, &len, &errorCode); in TestLMBCS()
4939 ucnv_close(cnv2); in TestLMBCS()
/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp744 LocalUConverterPointer cnv2(ucnv_open("UTF-8", errorCode)); in TestUTF8ToUTF8Overflow() local
759 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow()
769 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow()
782 ucnv_reset(cnv2.getAlias()); in TestUTF8ToUTF8Overflow()
792 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow()
802 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow()
815 ucnv_reset(cnv2.getAlias()); in TestUTF8ToUTF8Overflow()
829 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow()
845 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(), in TestUTF8ToUTF8Overflow()
865 LocalUConverterPointer cnv2(ucnv_open("UTF-8", errorCode)); in TestUTF8ToUTF8Streaming() local
[all …]