Lines Matching refs:cd2
61 iconv_t cd1, cd2; in iconvert() local
72 cd2 = (iconv_t)(-1); in iconvert()
92 cd2 = iconv_open(tocode1, "UTF-8"); in iconvert()
95 if (cd2 == (iconv_t)(-1)) in iconvert()
96 cd2 = iconv_open(tocode, fromcode); in iconvert()
98 if (cd2 == (iconv_t)(-1)) { in iconvert()
143 if (cd2 == (iconv_t)(-1)) { in iconvert()
176 k = iconv(cd2, &ib, &ibl, &ob, &obl); in iconvert()
188 k = iconv(cd2, &tb, &tbl, &ob, &obl); in iconvert()
198 k = iconv(cd2, 0, 0, &ob, &obl); in iconvert()
211 k = iconv(cd2, &ib, &ibl, &ob, &obl); in iconvert()
221 k = iconv(cd2, &tb, &tbl, &ob, &obl); in iconvert()
228 k = iconv(cd2, 0, 0, &ob, &obl); in iconvert()
235 iconv_close(cd2); in iconvert()
249 if (cd2 != (iconv_t)(-1)) in iconvert()
250 iconv_close(cd2); in iconvert()