Lines Matching refs:cnv2

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()
1776 if (cnv2) { in TestConvertSafeClone()
1777 ucnv_close(cnv2); in TestConvertSafeClone()
1819 cnv2 = ucnv_safeClone(cnv, buffer[1], &bufferSize, &err); in TestConvertSafeClone()
1850 ucnv_fromUnicode(cnv2, in TestConvertSafeClone()
1861 ucnv_toUnicode(cnv2, in TestConvertSafeClone()
1876 if (uniBuffer [0] != ucnv_getNextUChar(cnv2, &pConstCharBuffer, pCharBuffer, &err)) in TestConvertSafeClone()
1880 ucnv_close(cnv2); in TestConvertSafeClone()
2272 UConverter *cnv1, *cnv2; in TestConvertEx() local
2282 cnv2=ucnv_open("Shift-JIS", &errorCode); in TestConvertEx()
2290 convertExMultiStreaming(cnv1, cnv2, in TestConvertEx()
2294 convertExMultiStreaming(cnv2, cnv1, in TestConvertEx()
2299 convertExMultiStreaming(cnv1, cnv2, in TestConvertEx()
2311 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2327 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(shiftJIS), &src, NULL, in TestConvertEx()
2342 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2351 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2360 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2370 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2380 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2387 ucnv_close(cnv2); in TestConvertEx()