Home
last modified time | relevance | path

Searched refs:ileft (Results 1 – 25 of 143) sorted by relevance

123456

/titanic_50/usr/src/lib/iconv_modules/ko/common/
H A Dnbyte_to_euc.c551 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 Deuc_to_johap.c376 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 Djohap_to_euc.c343 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 Dutf_str.c97 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 Djis_TO_eucJP.c70 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 DISO-2022-JP_TO_eucJP.c70 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 Djis_TO_PCK.c71 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 DISO-2022-JP_TO_UTF-8.c76 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 DISO-2022-JP_TO_PCK.c70 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 DPCK_TO_eucJP.c53 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 DeucJP_TO_KUTEN.c53 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 Dkiconv_ja.c87 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 D646%CODESET.c35 #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 D8859-1%IBM-037.c78 #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 D8859-1%IBM-850.c48 #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 DIBM-037%8859-1.c78 #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 DIBM-850%8859-1.c49 #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 D646%8859.c82 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 D646en%8859.c82 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 D8859%646.c82 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 D8859%646en.c82 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 D8859-1%IBM-500.c121 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 DIBM-500%8859-1.c121 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 Dalt%iso.c83 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 Dalt%iso5.c83 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()

123456