• Home
  • Raw
  • Download

Lines Matching refs:cnv2

1734     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()
1858 cnv2 = ucnv_safeClone(cnv, buffer[1], &bufferSize, &err); in TestConvertSafeClone()
1889 ucnv_fromUnicode(cnv2, in TestConvertSafeClone()
1900 ucnv_toUnicode(cnv2, in TestConvertSafeClone()
1915 if (uniBuffer [0] != ucnv_getNextUChar(cnv2, &pConstCharBuffer, pCharBuffer, &err)) in TestConvertSafeClone()
1919 ucnv_close(cnv2); in TestConvertSafeClone()
2306 UConverter *cnv1, *cnv2; in TestConvertEx() local
2316 cnv2=ucnv_open("Shift-JIS", &errorCode); in TestConvertEx()
2324 convertExMultiStreaming(cnv1, cnv2, in TestConvertEx()
2328 convertExMultiStreaming(cnv2, cnv1, in TestConvertEx()
2333 convertExMultiStreaming(cnv1, cnv2, in TestConvertEx()
2345 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2361 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(shiftJIS), &src, NULL, in TestConvertEx()
2376 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2385 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2394 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2404 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2414 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2421 ucnv_close(cnv2); in TestConvertEx()