Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dccapitst.c1691 UConverter * cnv, *cnv2; in TestConvertSafeClone() local
1728 if (NULL == (cnv2 = ucnv_safeClone(cnv, buffer[0], NULL, &err)) || U_FAILURE(err)) in TestConvertSafeClone()
1732 ucnv_close(cnv2); in TestConvertSafeClone()
1747 if (NULL == (cnv2 = ucnv_safeClone(cnv, buffer[0], &bufferSize, &err)) || U_FAILURE(err)) in TestConvertSafeClone()
1751 if (cnv2) { in TestConvertSafeClone()
1752 ucnv_close(cnv2); in TestConvertSafeClone()
1757 …if (NULL == (cnv2 = ucnv_safeClone(cnv, NULL, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_… in TestConvertSafeClone()
1761 if (cnv2) { in TestConvertSafeClone()
1762 ucnv_close(cnv2); in TestConvertSafeClone()
1769 …if (NULL == (cnv2 = ucnv_safeClone(cnv, NULL, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_… in TestConvertSafeClone()
[all …]
Dnucnvtst.c4849 UConverter *cnv2; in TestLMBCS() local
4861 cnv2=ucnv_open(NAME_LMBCS_2, &errorCode); in TestLMBCS()
4872 get_name = ucnv_getName (cnv2, &errorCode); in TestLMBCS()
4888 ucnv_setSubstChars (cnv2,new_subchars, len, &errorCode); in TestLMBCS()
4892 ucnv_getSubstChars (cnv2, get_subchars, &len, &errorCode); in TestLMBCS()
4903 ucnv_close(cnv2); in TestLMBCS()