Home
last modified time | relevance | path

Searched refs:fromcode (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
170 pfc.code = __strdup (fromcode); 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()
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()
224 free (conv_spec->fromcode); in libc_hidden_def()
Dtst-iconv5.c36 const char *fromcode; member
52 convert (const char *tocode, const char *fromcode, char *inbufp, in convert() argument
59 ic = iconv_open (tocode, fromcode); in convert()
63 fromcode, tocode, strerror (errno)); in convert()
73 fromcode, tocode, strerror (errno)); in convert()
83 fromcode, tocode, strerror (errno)); in convert()
120 retlen = convert (codes->tocode, codes->fromcode, inbuf, inbytesleft, in test_unalign()
129 retlen = convert (codes->fromcode, codes->tocode, inbuf, inbytesleft, in test_unalign()
152 testcode[i].fromcode, testcode[i].tocode); in do_test()
Dgconv_open.c43 char *tocode, *fromcode; in __gconv_open() local
52 fromcode = conv_spec->fromcode; in __gconv_open()
64 if (strcmp (fromcode, "//") == 0) in __gconv_open()
69 fromcode = dest = (char *) alloca (len + 3); in __gconv_open()
73 res = __gconv_find_transform (tocode, fromcode, &steps, &nsteps, flags); in __gconv_open()
Diconv_open.c31 iconv_open (const char *tocode, const char *fromcode) in iconv_open() argument
36 if (__gconv_create_spec (&conv_spec, fromcode, tocode) == NULL) in iconv_open()
Dgconv_int.h80 char *fromcode; member
166 __gconv_create_spec (struct gconv_spec *conv_spec, const char *fromcode,
/glibc-2.36/manual/
Dcharset.texi1672 @deftypefun iconv_t iconv_open (const char *@var{tocode}, const char *@var{fromcode})
1675 @c Calls malloc if tocode and/or fromcode are too big for alloca. Calls
1702 The conversion from @var{fromcode} to @var{tocode} is not supported.