Home
last modified time | relevance | path

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

/external/icu4c/test/threadtest/
Dconverttest.cpp49 UConverter *cnv2; in runOnce() local
58 cnv2 = ucnv_safeClone(fCnv, // The source converter, common to all threads. in runOnce()
66 ucnv_close(cnv2); in runOnce()
/external/icu4c/test/cintltst/
Dccapitst.c1734 UConverter * cnv, *cnv2; in TestConvertSafeClone() local
1789 if (0 == (cnv2 = ucnv_safeClone(cnv, buffer[0], &bufferSize, &err)) || U_FAILURE(err)) in TestConvertSafeClone()
1793 if (cnv2) { in TestConvertSafeClone()
1794 ucnv_close(cnv2); in TestConvertSafeClone()
1799 …if (0 == (cnv2 = ucnv_safeClone(cnv, 0, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_WARNIN… in TestConvertSafeClone()
1803 if (cnv2) { in TestConvertSafeClone()
1804 ucnv_close(cnv2); in TestConvertSafeClone()
1811 …if (0 == (cnv2 = ucnv_safeClone(cnv, 0, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_WARNIN… in TestConvertSafeClone()
1815 if (cnv2) { in TestConvertSafeClone()
1816 ucnv_close(cnv2); in TestConvertSafeClone()
[all …]
Dnucnvtst.c4854 UConverter *cnv2; in TestLMBCS() local
4866 cnv2=ucnv_open(NAME_LMBCS_2, &errorCode); in TestLMBCS()
4877 get_name = ucnv_getName (cnv2, &errorCode); in TestLMBCS()
4893 ucnv_setSubstChars (cnv2,new_subchars, len, &errorCode); in TestLMBCS()
4897 ucnv_getSubstChars (cnv2, get_subchars, &len, &errorCode); in TestLMBCS()
4908 ucnv_close(cnv2); in TestLMBCS()