Home
last modified time | relevance | path

Searched refs:iconv_t (Results 1 – 25 of 48) sorted by relevance

12

/glibc-2.36/iconvdata/
Dbug-iconv4.c13 xiconv (iconv_t cd, int out_size) in xiconv()
41 static iconv_t
44 iconv_t cd; in xiconv_open()
47 if (errno || (cd = iconv_open (to_code, "UCS-2BE")) == (iconv_t) -1) in xiconv_open()
59 iconv_t cd; in main()
Dtst-iconv6.c9 iconv_t cd0 = iconv_open ("ISO-8859-7", "UTF-16LE"); in do_test()
10 if (cd0 == (iconv_t) -1) in do_test()
15 iconv_t cd1 = iconv_open ("ISO-8859-7", "UTF-16LE"); in do_test()
16 if (cd1 == (iconv_t) -1) in do_test()
Dbug-iconv2.c14 iconv_t dummy_cd[8], cd_a; in main()
22 if ((dummy_cd[i] = iconv_open (dummy_codesets[i], "UTF8")) == (iconv_t) -1) in main()
26 if ((cd_a = iconv_open ("EUC-JP", "UTF8")) == (iconv_t) -1) in main()
36 if ((cd_a = iconv_open ("EUC-JP", "UTF8")) == (iconv_t) -1) in main()
Dbug-iconv14.c28 iconv_t c = iconv_open ("UTF-8", "ISO-2022-JP-3"); in with_escape_sequence()
29 TEST_VERIFY_EXIT (c != (iconv_t) -1); in with_escape_sequence()
77 iconv_t c = iconv_open ("UTF-8", "ISO-2022-JP-3"); in with_flush()
78 TEST_VERIFY_EXIT (c != (iconv_t) -1); in with_flush()
Dbug-iconv13.c27 iconv_t cd = iconv_open ("UTF-8//IGNORE", "EUC-KR"); in do_test()
28 TEST_VERIFY_EXIT (cd != (iconv_t) -1); in do_test()
Dbug-iconv6.c17 iconv_t ic = iconv_open ("ISO-2022-JP//TRANSLIT", "UTF-8"); in do_test()
18 if (ic == (iconv_t) -1) in do_test()
Dtst-iconv4.c11 iconv_t cd = iconv_open ("ISO-8859-1", "UNICODE"); in do_test()
12 if (cd == (iconv_t) -1) in do_test()
Dbug-iconv15.c33 iconv_t cd; in do_test()
36 TEST_VERIFY_EXIT (cd != (iconv_t) -1); in do_test()
Dbug-iconv1.c20 iconv_t cd; in main()
27 if (cd == (iconv_t) -1) in main()
Dbug-iconv5.c9 iconv_t cd = iconv_open ("utf-8", "unicode"); in do_test()
10 if (cd == (iconv_t) -1) in do_test()
/glibc-2.36/iconv/
Diconv.h29 typedef void *iconv_t; typedef
36 extern int iconv_close (iconv_t __cd);
43 extern iconv_t iconv_open (const char *__tocode, const char *__fromcode)
49 extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
Diconv_open.c30 iconv_t
37 return (iconv_t) -1; in iconv_open()
49 cd = (iconv_t) -1; in iconv_open()
52 return (iconv_t) cd; in iconv_open()
Diconv_prog.c107 static int process_block (iconv_t cd, char *addr, size_t len, FILE **output,
109 static int process_fd (iconv_t cd, int fd, FILE **output,
111 static int process_file (iconv_t cd, FILE *input, FILE **output,
198 (iconv_open ("UTF-8", from_code) == (iconv_t) -1 in main()
201 (iconv_open (to_code, "UTF-8") == (iconv_t) -1 in main()
449 process_block (iconv_t cd, char *addr, size_t len, FILE **output, in process_block()
538 process_fd (iconv_t cd, int fd, FILE **output, const char *output_file) in process_fd()
617 process_file (iconv_t cd, FILE *input, FILE **output, const char *output_file) in process_file()
739 iconv_t h; in print_known_names()
Dtst-iconv9.c46 iconv_t cd; in do_test()
60 TEST_VERIFY (cd != (iconv_t) -1); in do_test()
73 TEST_VERIFY (cd != (iconv_t) -1); in do_test()
Dtst-iconv-opt.c41 iconv_t cd; in test_iconv()
48 TEST_VERIFY (cd != (iconv_t) -1); in test_iconv()
124 TEST_VERIFY (iconv_open ("INVALID", "UTF-8") == (iconv_t) -1); in do_test()
125 TEST_VERIFY (iconv_open ("UTF-8", "INVALID") == (iconv_t) -1); in do_test()
126 TEST_VERIFY (iconv_open ("INVALID", "INVALID") == (iconv_t) -1); in do_test()
Diconv_close.c26 iconv_close (iconv_t cd) in iconv_close()
28 if (__glibc_unlikely (cd == (iconv_t *) -1L)) in iconv_close()
Diconv_charmap.c282 convert_charseq (iconv_t cd, const struct charseq *seq) in convert_charseq()
326 iconv_t cd; in use_from_charmap()
333 if (cd == (iconv_t) -1) in use_from_charmap()
361 iconv_t cd; in use_to_charmap()
372 if (cd == (iconv_t) -1) in use_to_charmap()
Dtst-iconv8.c28 iconv_t cd = iconv_open ("UTF-8//IGNORE", "ISO-10646/UCS4/"); in do_test()
29 TEST_VERIFY_EXIT (cd != (iconv_t) -1); in do_test()
Dtst-iconv7.c29 iconv_t cd = iconv_open ("ASCII//IGNORE", "ASCII"); in do_test()
30 TEST_VERIFY_EXIT (cd != (iconv_t) -1); in do_test()
Dtst-iconv1.c12 iconv_t cd; in do_test()
23 if (cd == (iconv_t) -1) in do_test()
Dtst-iconv4.c10 iconv_t cd = iconv_open ("ASCII//TRANSLIT", "UTF-8"); in do_test()
11 if (cd == (iconv_t) -1) in do_test()
Dtst-iconv2.c32 iconv_t cd; in do_test()
44 if (cd == (iconv_t) -1) in do_test()
/glibc-2.36/conform/data/
Diconv.h-data2 type iconv_t
7 function iconv_t iconv_open (const char*, const char*)
8 function size_t iconv (iconv_t, char**, size_t*, char**, size_t*)
9 function int iconv_close (iconv_t)
/glibc-2.36/catgets/
Dgencat.c148 static void normalize_line (const char *fname, size_t line, iconv_t cd,
152 static int open_conversion (const char *codesetp, iconv_t *cd_towcp,
153 iconv_t *cd_tombp, wchar_t *escape_charp);
272 iconv_t cd_towc = (iconv_t) -1; in read_input_file()
273 iconv_t cd_tomb = (iconv_t) -1; in read_input_file()
533 if (cd_towc == (iconv_t) -1 in read_input_file()
689 if (cd_towc == (iconv_t) -1 in read_input_file()
1101 normalize_line (const char *fname, size_t line, iconv_t cd, wchar_t *string, in normalize_line()
1302 open_conversion (const char *codeset, iconv_t *cd_towcp, iconv_t *cd_tombp, in open_conversion()
1323 if (*cd_towcp == (iconv_t) -1 || *cd_tombp == (iconv_t) -1) in open_conversion()
[all …]
/glibc-2.36/localedata/
Dtst-iconv-math-trans.c29 iconv_t cd; in do_test()
64 if (cd == (iconv_t) -1) in do_test()

12