Lines Matching refs:conv
38 iso2022_jp1_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
40 state_t state = conv->istate;
94 int ret = ascii_mbtowc(conv,pwc,s,1);
98 conv->istate = state;
104 int ret = jisx0201_mbtowc(conv,pwc,s,1);
108 conv->istate = state;
116 int ret = jisx0208_mbtowc(conv,pwc,s,2);
120 conv->istate = state;
128 int ret = jisx0212_mbtowc(conv,pwc,s,2);
132 conv->istate = state;
140 conv->istate = state;
145 iso2022_jp1_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
147 state_t state = conv->ostate;
152 ret = ascii_wctomb(conv,buf,wc,1);
167 conv->ostate = state;
173 ret = jisx0201_wctomb(conv,buf,wc,1);
188 conv->ostate = state;
194 ret = jisx0208_wctomb(conv,buf,wc,2);
210 conv->ostate = state;
216 ret = jisx0212_wctomb(conv,buf,wc,2);
233 conv->ostate = state;
242 iso2022_jp1_reset (conv_t conv, unsigned char *r, int n)
244 state_t state = conv->ostate;
251 /* conv->ostate = 0; will be done by the caller */