HomeSort by: relevance | last modified time | path
    Searched refs:iconv (Results 1 - 24 of 24) sorted by relevancy

  /src/share/i18n/iconv/
Makefile 3 BINDIR?= /usr/share/i18n/iconv
5 FILES+= iconv.dir
  /src/share/i18n/
Makefile 3 SUBDIR=csmapper esdb iconv
  /src/usr.bin/iconv/
Makefile 5 PROG= iconv
6 SRCS= iconv.c
8 MAN= iconv.1
iconv.c 1 /* $NetBSD: iconv.c,v 1.20 2019/10/24 18:18:00 kamil Exp $ */
31 __RCSID("$NetBSD: iconv.c,v 1.20 2019/10/24 18:18:00 kamil Exp $");
36 #include <iconv.h>
128 * XXX: iconv(3) is bad interface.
133 err(EXIT_FAILURE, "iconv()");
157 ret = iconv(cd, NULL, NULL, &out, &outbytes);
159 err(EXIT_FAILURE, "iconv()");
  /src/sys/modules/nsmb/
Makefile 8 SRCS= iconv.c smb_conn.c smb_crypt.c smb_dev.c smb_iod.c smb_rq.c \
  /src/usr.bin/mail/
mime_codecs.h 38 #include <iconv.h>
mime_codecs.c 59 #include <iconv.h>
76 * Fault-tolerant iconv() function.
88 while ((sz = iconv(cd, __UNCONST(inb), inbleft, outb, outbleft))
110 * This routine was mostly borrowed from src/usr.bin/iconv/iconv.c.
143 "\n\t[ iconv truncated message: %s ]\n\n",
178 ret = iconv(cd, NULL, NULL, &out, &outbytes);
180 (void)fprintf(fo, "\n\t[ iconv(): %s ]\n\n",
mime_decode.c 49 #include <iconv.h>
  /src/lib/libc/iconv/
iconv.c 1 /* $NetBSD: iconv.c,v 1.14 2019/10/24 18:17:59 kamil Exp $ */
31 __RCSID("$NetBSD: iconv.c,v 1.14 2019/10/24 18:17:59 kamil Exp $");
40 #include <iconv.h>
43 __weak_alias(iconv, _iconv)
87 iconv(iconv_t handle, char **in, size_t *szin, char **out, size_t *szout) function in typeref:typename:size_t
  /src/include/
iconv.h 1 /* $NetBSD: iconv.h,v 1.7 2019/10/24 18:17:59 kamil Exp $ */
46 size_t iconv(iconv_t, char ** __restrict,
51 * non-portable interfaces for iconv
Makefile 13 fstab.h fts.h ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \
  /src/lib/libc/locale/
mbrtoc32.c 105 struct _citrus_iconv *iconv = NULL; local in function:mbrtoc32_l
152 * definition. Don't bother with iconv -- we'd have to
161 * Open an iconv handle to convert locale-dependent multibyte
164 if ((error = _citrus_iconv_open(&iconv, _PATH_ICONV,
191 * we can pass that through iconv to get a Unicode scalar
206 error = _citrus_iconv_convert(iconv, &src, &srcleft, &dst, &dstleft,
226 * XXX Is this necessary? Won't iconv take care of it for us?
253 _citrus_iconv_close(iconv);
c32rtomb.c 93 struct _citrus_iconv *iconv = NULL; local in function:c32rtomb_l
139 * XXX Is this necessary? Won't iconv take care of it for us?
148 * Open an iconv handle to convert UTF-32LE to locale-dependent
151 if ((error = _citrus_iconv_open(&iconv, _PATH_ICONV, "utf-32le",
166 error = _citrus_iconv_convert(iconv, &src, &srcleft, &dst, &dstleft,
225 _citrus_iconv_close(iconv);
  /src/lib/libintl/
gettext_iconv.c 36 #include <iconv.h>
187 nvalid = iconv(cd, __UNCONST(&src), &srclen, &dst, &dstlen);
  /src/usr.sbin/fstyp/
ntfs.c 41 #include <iconv.h>
114 warn("ntfs: Could not open iconv");
120 rc = iconv(cd, __UNCONST(&label), &labellen, &label_out,
123 warn("ntfs: iconv()");
126 /* NUL-terminate result (iconv advances label_out). */
exfat.c 37 #include <iconv.h>
216 warn("exfat: Could not open iconv");
222 /* Dummy up the byte pointer and byte length iconv's API wants. */
226 rc = iconv(cd, __UNCONST(&label), &srcleft, &label_out,
229 warn("exfat: iconv()");
232 /* NUL-terminate result (iconv advances label_out). */
fstyp.c 47 #include <iconv.h>
  /src/usr.bin/
Makefile 16 head hexdump iconv id indent infocmp innetgr ipcrm ipcs join jot \
  /src/usr.sbin/usbdevs/
usbdevs.c 45 #include <iconv.h>
104 icres = iconv(ic, __UNCONST(&utf8str), &insz, &termstr,
  /src/sys/fs/hfs/
libhfs.h 47 #include <iconv.h>
  /src/sys/arch/hp300/dev/
dcm.c 224 #define hp2dce_in(ibits) (iconv[(ibits) & 0xf])
225 static const char iconv[16] = { variable in typeref:typename:const char[16]
  /src/usr.bin/sdpquery/
print.c 36 #include <iconv.h>
923 (void)iconv(ih, __UNCONST(&src), &srclen, &dst, &dstlen);
  /src/lib/libc/include/
namespace.h 452 #define iconv _iconv macro
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_common_interceptors.inc 70 #define iconv __bsd_iconv
5049 INTERCEPTOR(SIZE_T, iconv, void *cd, char **inbuf, SIZE_T *inbytesleft,
5052 COMMON_INTERCEPTOR_ENTER(ctx, iconv, cd, inbuf, inbytesleft, outbuf,
5064 SIZE_T res = REAL(iconv)(cd, inbuf, inbytesleft, outbuf, outbytesleft);
5071 #define INIT_ICONV COMMON_INTERCEPT_FUNCTION(iconv);

Completed in 34 milliseconds