/titanic_50/usr/src/lib/iconv_modules/ko/common/ |
H A D | nbyte_to_euc.c | 551 size_t oleft, ileft; in main() local 557 ileft = sizeof(ibuf1); in main() 563 for (i = 0; i < ileft ; i++) { in main() 568 _cv_enconv(st, &ip1, &ileft, &op1, &oleft)); in main() 569 printf("ileft %d oleft %d\n", ileft, oleft); in main() 580 ileft = sizeof(ibuf2); in main() 586 for (i = 0; i < ileft ; i++) { in main() 591 _cv_enconv(st, &ip2, &ileft, &op2, &oleft)); in main() 592 printf("ileft %d oleft %d\n", ileft, oleft); in main() 601 ileft = sizeof(ibuf21); in main() [all …]
|
H A D | euc_to_johap.c | 376 size_t oleft, ileft; in main() local 382 ileft = sizeof(ibuf1); in main() 388 for (i = 0; i < ileft ; i++) { in main() 393 _cv_enconv(st, &ip1, &ileft, &op1, &oleft)); in main() 394 printf("ileft %d oleft %d\n", ileft, oleft); in main() 405 ileft = sizeof(ibuf2); in main() 411 for (i = 0; i < ileft ; i++) { in main() 416 _cv_enconv(st, &ip2, &ileft, &op2, &oleft)); in main() 417 printf("ileft %d oleft %d\n", ileft, oleft); in main() 426 ileft = sizeof(ibuf21); in main() [all …]
|
H A D | johap_to_euc.c | 343 size_t oleft, ileft; in main() local 349 ileft = sizeof(ibuf1); in main() 355 for (i = 0; i < ileft ; i++) { in main() 360 _cv_enconv(st, &ip1, &ileft, &op1, &oleft)); in main() 361 printf("ileft %d oleft %d\n", ileft, oleft); in main() 372 ileft = sizeof(ibuf2); in main() 378 for (i = 0; i < ileft ; i++) { in main() 383 _cv_enconv(st, &ip2, &ileft, &op2, &oleft)); in main() 384 printf("ileft %d oleft %d\n", ileft, oleft); in main() 393 ileft = sizeof(ibuf21); in main() [all …]
|
/titanic_50/usr/src/lib/libsmbfs/smb/ |
H A D | utf_str.c | 97 size_t ileft, obsize, oleft, ret; in convert_ucs2xx_to_utf8() local 106 ileft = unicode_strlen(us); in convert_ucs2xx_to_utf8() 107 ileft *= 2; /* now bytes */ in convert_ucs2xx_to_utf8() 110 oleft = ileft * 2; in convert_ucs2xx_to_utf8() 117 ret = iconv(cd, &iptr, &ileft, &optr, &oleft); in convert_ucs2xx_to_utf8() 123 if (ileft) { in convert_ucs2xx_to_utf8() 172 size_t ileft, obsize, oleft, ret; in convert_utf8_to_ucs2xx() local 181 ileft = strlen(iptr); in convert_utf8_to_ucs2xx() 184 oleft = ileft * 2; in convert_utf8_to_ucs2xx() 191 ret = iconv(cd, &iptr, &ileft, (char **)&optr, &oleft); in convert_utf8_to_ucs2xx() [all …]
|
/titanic_50/usr/src/lib/iconv_modules/ja/common/ |
H A D | jis_TO_eucJP.c | 70 size_t ileft, oleft; in _icv_iconv() local 86 ileft = *inbytesleft; in _icv_iconv() 93 while ((int)ileft > 0) { in _icv_iconv() 108 if ((int)ileft > 0) { in _icv_iconv() 119 if ((int)ileft > 0) { in _icv_iconv() 130 if ((int)ileft > 0) { in _icv_iconv() 157 if ((int)ileft > 0) { in _icv_iconv() 215 if ((int)ileft > 0) { in _icv_iconv() 236 if ((int)ileft > 0) { in _icv_iconv() 259 if ((int)ileft > 0) { in _icv_iconv() [all …]
|
H A D | ISO-2022-JP_TO_eucJP.c | 70 size_t ileft, oleft; in _icv_iconv() local 89 ileft = *inbytesleft; in _icv_iconv() 96 while ((int)ileft > 0) { in _icv_iconv() 104 if ((int)ileft > 0) { in _icv_iconv() 115 if ((int)ileft > 0) { in _icv_iconv() 126 if ((int)ileft > 0) { in _icv_iconv() 149 if ((int)ileft > 0) { in _icv_iconv() 211 if ((int)ileft > 0) { in _icv_iconv() 232 if ((int)ileft > 0) { in _icv_iconv() 255 if ((int)ileft > 0) { in _icv_iconv() [all …]
|
H A D | jis_TO_PCK.c | 71 size_t ileft, oleft; in _icv_iconv() local 87 ileft = *inbytesleft; in _icv_iconv() 94 while ((int)ileft > 0) { in _icv_iconv() 101 if ((int)ileft > 0) { in _icv_iconv() 112 if ((int)ileft > 0) { in _icv_iconv() 123 if ((int)ileft > 0) { in _icv_iconv() 146 if ((int)ileft > 0) { in _icv_iconv() 208 if ((int)ileft > 0) { in _icv_iconv() 229 if ((int)ileft > 0) { in _icv_iconv() 252 if ((int)ileft > 0) { in _icv_iconv() [all …]
|
H A D | ISO-2022-JP_TO_UTF-8.c | 76 size_t ileft; in _icv_iconv() local 96 ileft = *inbytesleft; in _icv_iconv() 103 while ((int)ileft > 0) { in _icv_iconv() 107 if ((int)ileft > 0) { in _icv_iconv() 118 if ((int)ileft > 0) { in _icv_iconv() 129 if ((int)ileft > 0) { in _icv_iconv() 152 if ((int)ileft > 0) { in _icv_iconv() 214 if ((int)ileft > 0) { in _icv_iconv() 235 if ((int)ileft > 0) { in _icv_iconv() 258 if ((int)ileft > 0) { in _icv_iconv() [all …]
|
H A D | ISO-2022-JP_TO_PCK.c | 70 size_t ileft, oleft; in _icv_iconv() local 89 ileft = *inbytesleft; in _icv_iconv() 96 while ((int)ileft > 0) { in _icv_iconv() 106 if ((int)ileft > 0) { in _icv_iconv() 117 if ((int)ileft > 0) { in _icv_iconv() 128 if ((int)ileft > 0) { in _icv_iconv() 151 if ((int)ileft > 0) { in _icv_iconv() 213 if ((int)ileft > 0) { in _icv_iconv() 234 if ((int)ileft > 0) { in _icv_iconv() 257 if ((int)ileft > 0) { in _icv_iconv() [all …]
|
H A D | PCK_TO_eucJP.c | 53 size_t ileft, oleft; in _icv_iconv() local 69 ileft = *inbytesleft; in _icv_iconv() 76 while ((int)ileft > 0) { in _icv_iconv() 93 if ((int)ileft > 0) { in _icv_iconv() 116 if ((int)ileft > 0) { in _icv_iconv() 147 if ((int)ileft > 0) { in _icv_iconv() 211 if ((int)ileft > 0) { in _icv_iconv() 237 retval = ileft; in _icv_iconv() 240 *inbytesleft = ileft; in _icv_iconv()
|
H A D | eucJP_TO_KUTEN.c | 53 size_t ileft, oleft; in _icv_iconv() local 69 ileft = *inbytesleft; in _icv_iconv() 76 while ((int)ileft > 0) { in _icv_iconv() 94 if ((int)ileft > 0) { in _icv_iconv() 121 if (ileft >= EUCW3) { in _icv_iconv() 149 retval = ileft; in _icv_iconv() 152 *inbytesleft = ileft; in _icv_iconv()
|
/titanic_50/usr/src/uts/common/kiconv/kiconv_ja/ |
H A D | kiconv_ja.c | 87 size_t ileft = *pileft; /* number of bytes available */ in utf8_ucs() local 138 rv = *pileft - ileft; in utf8_ucs() 140 *pileft = ileft; in utf8_ucs() 153 size_t ileft = *pileft; /* number of bytes available */ in utf8_ucs_replace() local 185 ileft -= (remaining_bytes - 1); in utf8_ucs_replace() 194 ileft -= (remaining_bytes - 1); in utf8_ucs_replace() 209 rv = *pileft - ileft; in utf8_ucs_replace() 212 *pileft = ileft; in utf8_ucs_replace() 334 size_t ileft; in _do_kiconv_fr_eucjp() local 344 ileft = *inbytesleft; in _do_kiconv_fr_eucjp() [all …]
|
/titanic_50/usr/src/lib/iconv_modules/common/ |
H A D | 646%CODESET.c | 35 #define GET(c) ((c) = *ip, ip++, ileft--) 37 #define UNGET() (ip--, ileft++) 69 size_t ileft, oleft; in _icv_iconv() local 83 ileft = *inbytesleft; in _icv_iconv() 90 while (ileft > 0) { in _icv_iconv() 108 *inbytesleft = ileft; in _icv_iconv()
|
/titanic_50/usr/src/lib/iconv_modules/euro/utils/ |
H A D | 8859-1%IBM-037.c | 78 #define GET(c) ((c) = *ip, ip++, ileft--) 80 #define UNGET() (ip--, ileft++) 112 size_t ileft, oleft; in _icv_iconv() local 154 ileft = *inbytesleft; in _icv_iconv() 161 while (ileft > 0) { in _icv_iconv() 175 *inbytesleft = ileft; in _icv_iconv()
|
H A D | 8859-1%IBM-850.c | 48 #define GET(c) ((c) = *ip, ip++, ileft--) 50 #define UNGET() (ip--, ileft++) 82 size_t ileft, oleft; in _icv_iconv() local 124 ileft = *inbytesleft; in _icv_iconv() 131 while (ileft > 0) { in _icv_iconv() 145 *inbytesleft = ileft; in _icv_iconv()
|
H A D | IBM-037%8859-1.c | 78 #define GET(c) ((c) = *ip, ip++, ileft--) 80 #define UNGET() (ip--, ileft++) 112 size_t ileft, oleft; in _icv_iconv() local 154 ileft = *inbytesleft; in _icv_iconv() 161 while (ileft > 0) { in _icv_iconv() 175 *inbytesleft = ileft; in _icv_iconv()
|
H A D | IBM-850%8859-1.c | 49 #define GET(c) ((c) = *ip, ip++, ileft--) 51 #define UNGET() (ip--, ileft++) 83 size_t ileft, oleft; in _icv_iconv() local 125 ileft = *inbytesleft; in _icv_iconv() 132 while (ileft > 0) { in _icv_iconv() 146 *inbytesleft = ileft; in _icv_iconv()
|
H A D | 646%8859.c | 82 size_t ileft, oleft; in _icv_iconv() local 103 ileft = *inbytesleft; in _icv_iconv() 113 while (ileft > 0) in _icv_iconv() 135 if ((oleft < 1) && (ileft > 0)) in _icv_iconv() 148 retval = ileft; in _icv_iconv() 156 *inbytesleft = ileft; in _icv_iconv()
|
H A D | 646en%8859.c | 82 size_t ileft, oleft; in _icv_iconv() local 103 ileft = *inbytesleft; in _icv_iconv() 112 while (ileft > 0) in _icv_iconv() 152 if ((oleft < 1) && (ileft > 0)) in _icv_iconv() 165 retval = ileft; in _icv_iconv() 173 *inbytesleft = ileft; in _icv_iconv()
|
H A D | 8859%646.c | 82 size_t ileft, oleft; in _icv_iconv() local 103 ileft = *inbytesleft; in _icv_iconv() 112 while (ileft > 0) in _icv_iconv() 134 if ((oleft < 1) && (ileft > 0)) in _icv_iconv() 147 retval = ileft; in _icv_iconv() 155 *inbytesleft = ileft; in _icv_iconv()
|
H A D | 8859%646en.c | 82 size_t ileft, oleft; in _icv_iconv() local 103 ileft = *inbytesleft; in _icv_iconv() 112 while (ileft > 0) in _icv_iconv() 153 if ((oleft < 1) && (ileft > 0)) in _icv_iconv() 166 retval = ileft; in _icv_iconv() 174 *inbytesleft = ileft; in _icv_iconv()
|
H A D | 8859-1%IBM-500.c | 121 size_t ileft, oleft; in _icv_iconv() local 138 ileft = *inbytesleft; in _icv_iconv() 148 while (ileft > 0) in _icv_iconv() 169 if ((oleft < 1) && (ileft > 0)) in _icv_iconv() 182 retval = ileft; in _icv_iconv() 190 *inbytesleft = ileft; in _icv_iconv()
|
H A D | IBM-500%8859-1.c | 121 size_t ileft, oleft; in _icv_iconv() local 138 ileft = *inbytesleft; in _icv_iconv() 148 while (ileft > 0) in _icv_iconv() 169 if ((oleft < 1) && (ileft > 0)) in _icv_iconv() 182 retval = ileft; in _icv_iconv() 190 *inbytesleft = ileft; in _icv_iconv()
|
H A D | alt%iso.c | 83 size_t ileft, oleft; in _icv_iconv() local 100 ileft = *inbytesleft; in _icv_iconv() 110 while (ileft > 0) in _icv_iconv() 131 if ((oleft < 1) && (ileft > 0)) in _icv_iconv() 144 retval = ileft; in _icv_iconv() 152 *inbytesleft = ileft; in _icv_iconv()
|
H A D | alt%iso5.c | 83 size_t ileft, oleft; in _icv_iconv() local 100 ileft = *inbytesleft; in _icv_iconv() 110 while (ileft > 0) in _icv_iconv() 131 if ((oleft < 1) && (ileft > 0)) in _icv_iconv() 144 retval = ileft; in _icv_iconv() 152 *inbytesleft = ileft; in _icv_iconv()
|