Lines Matching refs:want
60 int want; member
89 return (ps == NULL || ((const _UTF8State *)ps)->want == 0); in _UTF8_mbsinit()
97 int ch, i, mask, want; in _UTF8_mbrtowc() local
102 if (us->want < 0 || us->want > 6) { in _UTF8_mbrtowc()
117 if (us->want == 0) { in _UTF8_mbrtowc()
139 want = 2; in _UTF8_mbrtowc()
143 want = 3; in _UTF8_mbrtowc()
147 want = 4; in _UTF8_mbrtowc()
157 want = us->want; in _UTF8_mbrtowc()
165 if (us->want == 0) in _UTF8_mbrtowc()
170 for (i = (us->want == 0) ? 1 : 0; i < MIN(want, n); i++) { in _UTF8_mbrtowc()
182 if (i < want) { in _UTF8_mbrtowc()
184 us->want = want - i; in _UTF8_mbrtowc()
205 us->want = 0; in _UTF8_mbrtowc()
206 return (wch == L'\0' ? 0 : want); in _UTF8_mbrtowc()
230 if (nms > 0 && us->want > 0 && (signed char)*s > 0) { in _UTF8_mbsnrtowcs()
259 if (nms > 0 && len > 0 && us->want > 0 && (signed char)*s > 0) { in _UTF8_mbsnrtowcs()
300 if (us->want != 0) { in _UTF8_wcrtomb()
364 if (us->want != 0) { in _UTF8_wcsnrtombs()