Home
last modified time | relevance | path

Searched refs:conv_spec (Results 1 – 6 of 6) sorted by relevance

/glibc-2.36/iconv/
Dgconv_charset.c164 __gconv_create_spec (struct gconv_spec *conv_spec, const char *fromcode, in __gconv_create_spec() argument
189 conv_spec->translit = ptc.translit; in __gconv_create_spec()
190 conv_spec->ignore = ptc.ignore; in __gconv_create_spec()
194 conv_spec->fromcode = malloc (strlen (fromcode) + 3); in __gconv_create_spec()
195 if (conv_spec->fromcode == NULL) in __gconv_create_spec()
198 conv_spec->tocode = malloc (strlen (tocode) + 3); in __gconv_create_spec()
199 if (conv_spec->tocode == NULL) in __gconv_create_spec()
201 free (conv_spec->fromcode); in __gconv_create_spec()
202 conv_spec->fromcode = NULL; in __gconv_create_spec()
208 strip (conv_spec->fromcode, pfc.code); in __gconv_create_spec()
[all …]
Diconv_open.c34 struct gconv_spec conv_spec; in iconv_open() local
36 if (__gconv_create_spec (&conv_spec, fromcode, tocode) == NULL) in iconv_open()
39 int res = __gconv_open (&conv_spec, &cd, 0); in iconv_open()
41 __gconv_destroy_spec (&conv_spec); in iconv_open()
Dgconv_open.c33 __gconv_open (struct gconv_spec *conv_spec, __gconv_t *handle, in __gconv_open() argument
46 translit = conv_spec->translit; in __gconv_open()
48 if (conv_spec->ignore) in __gconv_open()
51 tocode = conv_spec->tocode; in __gconv_open()
52 fromcode = conv_spec->fromcode; in __gconv_open()
Dgconv_int.h150 extern int __gconv_open (struct gconv_spec *conv_spec,
166 __gconv_create_spec (struct gconv_spec *conv_spec, const char *fromcode,
172 __gconv_destroy_spec (struct gconv_spec *conv_spec);
Diconv_prog.c170 struct gconv_spec conv_spec; in main() local
173 if (__gconv_create_spec (&conv_spec, from_code, to_code) == NULL) in main()
181 conv_spec.ignore = true; in main()
184 res = __gconv_open (&conv_spec, &cd, 0); in main()
186 __gconv_destroy_spec (&conv_spec); in main()
/glibc-2.36/intl/
Ddcigettext.c1123 struct gconv_spec conv_spec; in _nl_find_msg() local
1125 __gconv_create_spec (&conv_spec, charset, outcharset); in _nl_find_msg()
1128 conv_spec.translit = true; in _nl_find_msg()
1130 int r = __gconv_open (&conv_spec, &convd->conv, in _nl_find_msg()
1133 __gconv_destroy_spec (&conv_spec); in _nl_find_msg()