Lines Matching refs:test_iconv
38 test_iconv (const char *to, const char *from, char *input, size_t exp_in, in test_iconv() function
131 test_iconv ("ASCII", "UTF-8", ascii, strlen (ascii), 0, ascii, 0); in do_test()
132 test_iconv ("ASCII//", "UTF-8", ascii, strlen (ascii), 0, ascii, 0); in do_test()
133 test_iconv ("ASCII//TRANSLIT", "UTF-8", ascii, strlen (ascii), 0, ascii, 0); in do_test()
134 test_iconv ("ASCII//TRANSLIT//", "UTF-8", ascii, strlen (ascii), 0, ascii, in do_test()
136 test_iconv ("ASCII//IGNORE", "UTF-8", ascii, strlen (ascii), 0, ascii, 0); in do_test()
137 test_iconv ("ASCII//IGNORE//", "UTF-8", ascii, strlen (ascii), 0, ascii, 0); in do_test()
143 test_iconv ("ASCII", "UTF-8", utf8, strlen (u2a), (size_t) -1, u2a, EILSEQ); in do_test()
146 test_iconv ("ASCII//TRANSLIT", "UTF-8", utf8, strlen (utf8), 2, u2a_translit, in do_test()
150 test_iconv ("ASCII//IGNORE", "UTF-8", utf8, strlen (utf8), (size_t) -1, in do_test()
156 test_iconv ("ASCII//TRANSLIT,IGNORE", "UTF-8", utf8, strlen (utf8), 2, in do_test()
158 test_iconv ("ASCII//TRANSLIT//IGNORE", "UTF-8", utf8, strlen (utf8), 2, in do_test()
160 test_iconv ("ASCII//IGNORE,TRANSLIT", "UTF-8", utf8, strlen (utf8), 2, in do_test()
163 test_iconv ("ASCII//IGNORE//TRANSLIT", "UTF-8", utf8, strlen (utf8), 2, in do_test()
169 test_iconv ("ASCII//T", "UTF-8", utf8, strlen (u2a), (size_t) -1, u2a, in do_test()
171 test_iconv ("ASCII//TRANSLITERATE", "UTF-8", utf8, strlen (u2a), (size_t) -1, in do_test()
173 test_iconv ("ASCII//I", "UTF-8", utf8, strlen (u2a), (size_t) -1, u2a, in do_test()
175 test_iconv ("ASCII//IGNORED", "UTF-8", utf8, strlen (u2a), (size_t) -1, u2a, in do_test()
177 test_iconv ("ASCII//TRANSLITERATE//IGNORED", "UTF-8", utf8, strlen (u2a), in do_test()
179 test_iconv ("ASCII//IGNORED,TRANSLITERATE", "UTF-8", utf8, strlen (u2a), in do_test()
181 test_iconv ("ASCII//T//I", "UTF-8", utf8, strlen (u2a), (size_t) -1, u2a, in do_test()
184 test_iconv ("ASCII//TRANSLIT//I", "UTF-8", utf8, strlen (utf8), 2, in do_test()
187 test_iconv ("ASCII//I//TRANSLIT", "UTF-8", utf8, strlen (utf8), 2, in do_test()
189 test_iconv ("ASCII//IGNORED,TRANSLIT", "UTF-8", utf8, strlen (utf8), 2, in do_test()
191 test_iconv ("ASCII//TRANSLIT,IGNORED", "UTF-8", utf8, strlen (utf8), 2, in do_test()
194 test_iconv ("ASCII//IGNORE,T", "UTF-8", utf8, strlen (utf8), (size_t) -1, in do_test()
196 test_iconv ("ASCII//T,IGNORE", "UTF-8", utf8, strlen (utf8), (size_t) -1, in do_test()
199 test_iconv ("ASCII//TRANSLITERATE//IGNORE", "UTF-8", utf8, strlen (utf8), in do_test()
201 test_iconv ("ASCII//IGNORE//TRANSLITERATE", "UTF-8", utf8, strlen (utf8), in do_test()
208 test_iconv ("ASCII", "UTF-8", iutf8, strlen (iu2a), (size_t) -1, iu2a, in do_test()
213 test_iconv ("ASCII//TRANSLIT", "UTF-8", iutf8, strlen (iu2a), (size_t) -1, in do_test()
218 test_iconv ("ASCII//IGNORE", "UTF-8", iutf8, strlen (iutf8), (size_t) -1, in do_test()
225 test_iconv ("ASCII//TRANSLIT,IGNORE", "UTF-8", iutf8, strlen (iutf8), 2, in do_test()
228 test_iconv ("ASCII//TRANSLIT//IGNORE", "UTF-8", iutf8, strlen (iutf8), 2, in do_test()
230 test_iconv ("ASCII//IGNORE,TRANSLIT", "UTF-8", iutf8, strlen (iutf8), 2, in do_test()
233 test_iconv ("ASCII//IGNORE//TRANSLIT", "UTF-8", iutf8, strlen (iutf8), 2, in do_test()
240 test_iconv ("ASCII", "UTF-8", jutf8, strlen (ju2a), (size_t) -1, ju2a, in do_test()
245 test_iconv ("ASCII//TRANSLIT", "UTF-8", jutf8, strlen (jutf8) - 5, in do_test()
247 test_iconv ("ASCII//translit", "UTF-8", jutf8, strlen (jutf8) - 5, in do_test()
252 test_iconv ("ASCII//IGNORE", "UTF-8", jutf8, strlen (jutf8), (size_t) -1, in do_test()
254 test_iconv ("ASCII//ignore", "UTF-8", jutf8, strlen (jutf8), (size_t) -1, in do_test()
261 test_iconv ("ASCII//TRANSLIT,IGNORE", "UTF-8", jutf8, strlen (jutf8), 2, in do_test()
264 test_iconv ("ASCII//TRANSLIT//IGNORE", "UTF-8", jutf8, strlen (jutf8), 2, in do_test()
266 test_iconv ("ASCII//IGNORE,TRANSLIT", "UTF-8", jutf8, strlen (jutf8), 2, in do_test()
269 test_iconv ("ASCII//IGNORE//TRANSLIT", "UTF-8", jutf8, strlen (jutf8), 2, in do_test()
271 test_iconv ("ASCII//translit,ignore", "UTF-8", jutf8, strlen (jutf8), 2, in do_test()
274 test_iconv ("ASCII//IGNORE,TRANSLIT ", "UTF-8", jutf8, strlen (jutf8), 2, in do_test()
276 test_iconv ("ASCII//IGNORE,TRANSLIT/", "UTF-8", jutf8, strlen (jutf8), 2, in do_test()
278 test_iconv ("ASCII//IGNORE,TRANSLIT//", "UTF-8", jutf8, strlen (jutf8), 2, in do_test()
280 test_iconv ("ASCII//IGNORE,TRANSLIT,", "UTF-8", jutf8, strlen (jutf8), 2, in do_test()
282 test_iconv ("ASCII//IGNORE,TRANSLIT,,", "UTF-8", jutf8, strlen (jutf8), 2, in do_test()
284 test_iconv ("ASCII//IGNORE,TRANSLIT /,", "UTF-8", jutf8, strlen (jutf8), 2, in do_test()
288 test_iconv ("ASCII", "UTF-8//TRANSLIT", jutf8, strlen (ju2a), (size_t) -1, in do_test()
290 test_iconv ("ASCII", "UTF-8//IGNORE", jutf8, strlen (ju2a), (size_t) -1, in do_test()
292 test_iconv ("ASCII", "UTF-8//TRANSLIT,IGNORE", jutf8, strlen (ju2a), in do_test()
299 test_iconv ("ISO-10646/UTF-8", "ISO-8859-1", iso8859_1_a, in do_test()
301 test_iconv ("ISO-10646/UTF-8/", "ISO-8859-1", iso8859_1_a, in do_test()
303 test_iconv ("ISO-10646/UTF-8/IGNORE", "ISO-8859-1", iso8859_1_a, in do_test()
305 test_iconv ("ISO-10646/UTF-8//IGNORE", "ISO-8859-1", iso8859_1_a, in do_test()
307 test_iconv ("ISO-10646/UTF-8/TRANSLIT", "ISO-8859-1", iso8859_1_a, in do_test()
309 test_iconv ("ISO-10646/UTF-8//TRANSLIT", "ISO-8859-1", iso8859_1_a, in do_test()
311 test_iconv ("ISO-10646/UTF-8//TRANSLIT/IGNORE", "ISO-8859-1", iso8859_1_a, in do_test()
313 test_iconv ("ISO-10646/UTF-8//TRANSLIT//IGNORE", "ISO-8859-1", iso8859_1_a, in do_test()
315 test_iconv ("ISO-10646/UTF-8/TRANSLIT,IGNORE", "ISO-8859-1", iso8859_1_a, in do_test()
319 test_iconv ("ASCII", "ISO-10646/UTF-8", utf8_a, in do_test()
321 test_iconv ("ASCII//IGNORE", "ISO-10646/UTF-8", utf8_a, in do_test()
323 test_iconv ("ASCII//TRANSLIT", "ISO-10646/UTF-8", utf8_a, in do_test()
327 test_iconv ("ISO-10646/UTF-8", "ASCII", iascii, strlen (empty), (size_t) -1, in do_test()
329 test_iconv ("ISO-10646/UTF-8/TRANSLIT", "ASCII", iascii, strlen (empty), in do_test()
331 test_iconv ("ISO-10646/UTF-8/IGNORE", "ASCII", iascii, strlen (iascii), in do_test()
333 test_iconv ("ISO-10646/UTF-8/TRANSLIT,IGNORE", "ASCII", iascii, in do_test()
337 test_iconv ("ISO-10646/UTF-8/TRANSLIT/IGNORE", "ASCII", iascii, in do_test()
339 test_iconv ("ISO-10646/UTF-8//TRANSLIT,IGNORE", "ASCII", iascii, in do_test()
341 test_iconv ("ISO-10646/UTF-8//TRANSLIT//IGNORE", "ASCII", iascii, in do_test()