Lines Matching refs:pwc
79 int utf8_mbtowc(int *pwc, const char *s, size_t n) in utf8_mbtowc() argument
89 if (pwc) in utf8_mbtowc()
90 *pwc = c; in utf8_mbtowc()
97 if (pwc) in utf8_mbtowc()
98 *pwc = ((c & 0x1f) << 6) | (s[1] & 0x3f); in utf8_mbtowc()
125 if (pwc) in utf8_mbtowc()
126 *pwc = wc; in utf8_mbtowc()
185 int (*mbtowc)(void *table, int *pwc, const char *s, size_t n);
190 int charset_mbtowc(struct charset *charset, int *pwc, const char *s, size_t n) in charset_mbtowc() argument
192 return (*charset->mbtowc)(charset->map, pwc, s, n); in charset_mbtowc()
209 static int mbtowc_utf8(void *map, int *pwc, const char *s, size_t n) in mbtowc_utf8() argument
212 return utf8_mbtowc(pwc, s, n); in mbtowc_utf8()
227 static int mbtowc_ascii(void *map, int *pwc, const char *s, size_t n) in mbtowc_ascii() argument
237 if (pwc) in mbtowc_ascii()
238 *pwc = wc; in mbtowc_ascii()
259 static int mbtowc_iso1(void *map, int *pwc, const char *s, size_t n) in mbtowc_iso1() argument
269 if (pwc) in mbtowc_iso1()
270 *pwc = wc; in mbtowc_iso1()
294 static int mbtowc_8bit(void *map1, int *pwc, const char *s, size_t n) in mbtowc_8bit() argument
304 if (pwc) in mbtowc_8bit()
305 *pwc = (int)wc; in mbtowc_8bit()