Lines Matching refs:conv
64 iso2022_cn_ext_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
66 state_t state = conv->istate;
152 int ret = cns11643_2_mbtowc(conv,pwc,s+2,2);
157 conv->istate = state;
170 int ret = cns11643_3_mbtowc(conv,pwc,s+2,2);
175 conv->istate = state;
181 int ret = cns11643_4_mbtowc(conv,pwc,s+2,2);
186 conv->istate = state;
192 int ret = cns11643_5_mbtowc(conv,pwc,s+2,2);
197 conv->istate = state;
203 int ret = cns11643_6_mbtowc(conv,pwc,s+2,2);
208 conv->istate = state;
214 int ret = cns11643_7_mbtowc(conv,pwc,s+2,2);
219 conv->istate = state;
249 int ret = ascii_mbtowc(conv,pwc,s,1);
257 conv->istate = state;
270 ret = gb2312_mbtowc(conv,pwc,s,2); break;
272 ret = cns11643_1_mbtowc(conv,pwc,s,2); break;
274 ret = isoir165_mbtowc(conv,pwc,s,2); break;
281 conv->istate = state;
290 conv->istate = state;
295 iso2022_cn_ext_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
297 state_t state = conv->ostate;
306 ret = ascii_wctomb(conv,buf,wc,1);
323 conv->ostate = state;
329 ret = gb2312_wctomb(conv,buf,wc,2);
352 conv->ostate = state;
357 ret = cns11643_wctomb(conv,buf,wc,3);
382 conv->ostate = state;
404 conv->ostate = state;
426 conv->ostate = state;
448 conv->ostate = state;
470 conv->ostate = state;
492 conv->ostate = state;
514 conv->ostate = state;
521 ret = isoir165_wctomb(conv,buf,wc,2);
544 conv->ostate = state;
553 iso2022_cn_ext_reset (conv_t conv, unsigned char *r, int n)
555 state_t state = conv->ostate;
564 /* conv->ostate = 0; will be done by the caller */