• Home
  • Raw
  • Download

Lines Matching refs:cnv2

1706     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()
1788 if (cnv2) { in TestConvertSafeClone()
1789 ucnv_close(cnv2); in TestConvertSafeClone()
1831 cnv2 = ucnv_safeClone(cnv, buffer[1], &bufferSize, &err); in TestConvertSafeClone()
1862 ucnv_fromUnicode(cnv2, in TestConvertSafeClone()
1873 ucnv_toUnicode(cnv2, in TestConvertSafeClone()
1888 if (uniBuffer [0] != ucnv_getNextUChar(cnv2, &pConstCharBuffer, pCharBuffer, &err)) in TestConvertSafeClone()
1892 ucnv_close(cnv2); in TestConvertSafeClone()
2284 UConverter *cnv1, *cnv2; in TestConvertEx() local
2294 cnv2=ucnv_open("Shift-JIS", &errorCode); in TestConvertEx()
2302 convertExMultiStreaming(cnv1, cnv2, in TestConvertEx()
2306 convertExMultiStreaming(cnv2, cnv1, in TestConvertEx()
2311 convertExMultiStreaming(cnv1, cnv2, in TestConvertEx()
2323 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2339 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(shiftJIS), &src, NULL, in TestConvertEx()
2354 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2363 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2372 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2382 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2392 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2399 ucnv_close(cnv2); in TestConvertEx()