Lines Matching refs:conv
37 iso2022_jp_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
39 state_t state = conv->istate;
82 int ret = ascii_mbtowc(conv,pwc,s,1);
86 conv->istate = state;
92 int ret = jisx0201_mbtowc(conv,pwc,s,1);
96 conv->istate = state;
104 int ret = jisx0208_mbtowc(conv,pwc,s,2);
108 conv->istate = state;
116 conv->istate = state;
121 iso2022_jp_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
123 state_t state = conv->ostate;
128 ret = ascii_wctomb(conv,buf,wc,1);
143 conv->ostate = state;
149 ret = jisx0201_wctomb(conv,buf,wc,1);
164 conv->ostate = state;
170 ret = jisx0208_wctomb(conv,buf,wc,2);
186 conv->ostate = state;
195 iso2022_jp_reset (conv_t conv, unsigned char *r, int n)
197 state_t state = conv->ostate;
204 /* conv->ostate = 0; will be done by the caller */