Lines Matching defs:iconv
67 system library's iconv() primitive to do charset conversion
71 /* Make certain that the uses of iconv(), iconv_open(), iconv_close()
75 #define iconv(a,b,c,d,e) (errno = EINVAL, (size_t)-1)
105 line, even if iconv quadruples its size (e.g. conversion from
110 logic. This is because a depressing number of systems lack iconv,
111 or have have iconv libraries that do not do these conversions, so
272 do for iconv.
567 name plus the iconv descriptor CD (which may be fake), and the
624 /* And this one uses the system iconv primitive. It's a little
625 different, since iconv's interface is a little different. */
645 if (iconv (cd, 0, 0, 0, 0) == (size_t)-1)
655 iconv (cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
659 if (iconv (cd, 0, 0, &outbuf, &outbytesleft) == (size_t)-1)
665 if (iconv (cd, 0, 0, &outbuf, &outbytesleft) == (size_t)-1)
746 /* No custom converter - try iconv. */
759 "conversion from %s to %s not supported by iconv",
772 "no iconv implementation, cannot convert from %s to %s",
783 /* If charset conversion is requested, initialize iconv(3) descriptors
785 character sets. If iconv is not present in the C library, and
827 /* Destroy iconv(3) descriptors set up by cpp_init_iconv, if necessary. */
3157 that glib'c UTF-8 iconv() provider (as of glibc 2.7) does not ignore a