/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | utf_str.c | 58 static char *convert_ucs2xx_to_utf8(iconv_t, const uint16_t *); 67 static iconv_t cd1 = (iconv_t)-1; in convert_unicode_to_utf8() 70 if (cd1 == (iconv_t)-1) in convert_unicode_to_utf8() 83 static iconv_t cd2 = (iconv_t)-1; in convert_leunicode_to_utf8() 86 if (cd2 == (iconv_t)-1) in convert_leunicode_to_utf8() 93 convert_ucs2xx_to_utf8(iconv_t cd, const uint16_t *us) in convert_ucs2xx_to_utf8() 99 if (cd == (iconv_t)-1) { in convert_ucs2xx_to_utf8() 135 static uint16_t *convert_utf8_to_ucs2xx(iconv_t, const char *); 144 static iconv_t cd3 = (iconv_t)-1; in convert_utf8_to_unicode() 147 if (cd3 == (iconv_t)-1) in convert_utf8_to_unicode() [all …]
|
H A D | nls.c | 49 typedef void *iconv_t; typedef 51 static size_t(*my_iconv)(iconv_t, const char **, size_t *, char **, size_t *); 56 static iconv_t nls_toext, nls_toloc; 91 if (nls_toloc == (iconv_t)0) in nls_str_toloc() 109 if (nls_toext == (iconv_t)0) in nls_str_toext() 131 if (nls_toloc == (iconv_t)0) in nls_mem_toloc() 149 if (!iconv_loaded || nls_toext == (iconv_t)0) in nls_mem_toext()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | iconv.c | 47 static size_t passthru_icv_iconv(iconv_t, const char **, size_t *, char **, 49 static void passthru_icv_close(iconv_t); 86 iconv_t 89 iconv_t cd; in iconv_open() 93 return ((iconv_t)-1); in iconv_open() 101 return ((iconv_t)-1); in iconv_open() 128 return ((iconv_t)-1); in iconv_open() 139 return ((iconv_t)-1); in iconv_open() 339 iconv_t (*fptr)(const char *); in iconv_open_private() 353 if ((fptr = (iconv_t(*)(const char *))dlsym(cdpath->_icv_handle, in iconv_open_private() [all …]
|
H A D | iconvP.h | 36 size_t (*_icv_iconv)(iconv_t, const char **, size_t *, char **, 38 void (*_icv_close)(iconv_t);
|
/illumos-gate/usr/src/head/ |
H A D | iconv.h | 39 typedef struct _iconv_info *iconv_t; typedef 41 extern iconv_t iconv_open(const char *, const char *); 43 extern size_t iconv(iconv_t, char **_RESTRICT_KYWD, 47 extern size_t iconv(iconv_t, const char **_RESTRICT_KYWD, 51 extern int iconv_close(iconv_t);
|
/illumos-gate/usr/src/lib/iconv_modules/utf-8/common/binarytables/test/ |
H A D | sb_to_utf8_test.c | 71 validate(int i, iconv_t cd, iconv_t cd2, iconv_t cd3) in validate() 201 iconv_t cd; in main() 202 iconv_t cd2; in main() 203 iconv_t cd3; in main() 232 if (((iconv_t)(-1)) == cd) { in main() 238 if (((iconv_t)(-1)) == cd2) { in main() 244 if (((iconv_t)(-1)) == cd3) { in main()
|
H A D | utf8_to_ebcdic_test.c | 76 validate(uint_t i, iconv_t cd, iconv_t cd2, iconv_t cd3) in validate() 278 iconv_t cd; in main() 279 iconv_t cd2; in main() 280 iconv_t cd3; in main() 309 if (((iconv_t)(-1)) == cd) { in main() 315 if (((iconv_t)(-1)) == cd2) { in main() 321 if (((iconv_t)(-1)) == cd3) { in main()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | catopen.c | 58 iconv_t cvt; 116 if ((cc->cvt = iconv_open("", "utf")) == (iconv_t)(-1) || !(cc->tmp = sfstropen())) in _ast_catopen() 124 cc->cvt = (iconv_t)(-1); in _ast_catopen() 152 if (((Cc_t*)cat)->cvt != (iconv_t)(-1)) in _ast_catgets() 174 if (((Cc_t*)cat)->cvt != (iconv_t)(-1)) in _ast_catclose()
|
H A D | iconv.c | 46 #define _ast_iconv_t iconv_t 81 iconv_t cvt; 1070 return (iconv_t)(0); in _ast_iconv_open() 1077 return (iconv_t)(0); in _ast_iconv_open() 1092 if (cc->cvt != (iconv_t)(-1)) in _ast_iconv_open() 1103 return (iconv_t)(-1); in _ast_iconv_open() 1107 cc->cvt = (iconv_t)(-1); in _ast_iconv_open() 1116 …else if ((cc->cvt = iconv_open(t, f)) != (iconv_t)(-1) || (cc->cvt = iconv_open(to, fr)) != (iconv… in _ast_iconv_open() 1170 return (iconv_t)cc; in _ast_iconv_open() 1172 return (iconv_t)(-1); in _ast_iconv_open() [all …]
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | gnu_handle.c | 34 iconv_t cd = (iconv_t)-1; 187 cd = (iconv_t)-1; in conv_init() 195 cd = (iconv_t)-1; in conv_init() 199 if (cd == (iconv_t)-1) { in conv_init() 533 cd = (iconv_t)-1; in po_init() 543 if (cd != (iconv_t)-1) in po_fini()
|
H A D | gnu_msgfmt.h | 144 extern iconv_t cd;
|
H A D | gnu_lex.c | 60 if (cd == (iconv_t)-1) { in get_mb()
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_utf8.c | 375 iconv_t ic; in smb_oemtombs() 377 if (ic == (iconv_t)-1) in smb_oemtombs() 453 iconv_t ic; in smb_mbstooem() 455 if (ic == (iconv_t)-1) in smb_mbstooem()
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | gettext_gnu.c | 482 do_conv(iconv_t fd, const char *src, uint32_t srclen) in do_conv() 606 iconv_t fd; in gnu_key_2_text() 668 if (gmnp->fd && (gmnp->fd != (iconv_t)-1)) { in gnu_key_2_text() 670 gmnp->fd = (iconv_t)-1; in gnu_key_2_text() 700 if (gmnp->fd == (iconv_t)-1) { in gnu_key_2_text() 717 gmnp->fd = (iconv_t)-1; in gnu_key_2_text() 754 if (gmnp->fd && (gmnp->fd != (iconv_t)-1)) { in gnu_key_2_text() 757 if (gmnp->fd != (iconv_t)-1) { in gnu_key_2_text() 758 gmnp->fd = (iconv_t)-1; in gnu_key_2_text() 796 if (fd == (iconv_t)-1) { in gnu_key_2_text()
|
H A D | gettext.h | 111 iconv_t fd; /* iconv descriptor */
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/ |
H A D | mc.c | 39 iconv_t cvt; \ 249 mc->cvt = (iconv_t)(-1); in mcopen() 353 if (mc->cvt == (iconv_t)(-1)) in mcget() 671 if (mc->cvt != (iconv_t)(-1)) in mcclose()
|
/illumos-gate/usr/src/cmd/iconv/ |
H A D | iconv_main.c | 46 iconv_t ich; /* iconv(3c) lib handle */ 132 if (ich == ((iconv_t)-1)) { in main()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | iconv | 51 printf("#undef iconv_t\n"); 52 printf("#define iconv_t %siconv_t\n", lib);
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | convutf8.c | 69 iconv_t cd; in ldaptool_convert() 81 if ((cd = iconv_open(tcode, fcode)) == (iconv_t)-1) { in ldaptool_convert()
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | iconv | 88 #undef iconv_t 89 #define iconv_t _ast_iconv_t
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | iconv | 88 #undef iconv_t 89 #define iconv_t _ast_iconv_t
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | iconv | 88 #undef iconv_t 89 #define iconv_t _ast_iconv_t
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | iconv | 88 #undef iconv_t 89 #define iconv_t _ast_iconv_t
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tmlocale.c | 562 iconv_t cvt; in load() 583 …if (u[0] == 0xef && u[1] == 0xbb && u[2] == 0xbf && (cvt = iconv_open("", "utf")) != (iconv_t)(-1)) in load()
|
/illumos-gate/usr/src/lib/libsasl/plugin/ |
H A D | plugin_common.c | 937 iconv_t cd; 962 if (cd == (iconv_t)-1)
|