Lines Matching refs:wn
14 size_t mbsrtowcs(wchar_t *restrict ws, const char **restrict src, size_t wn, mbstate_t *restrict st) in mbsrtowcs() argument
17 size_t wn0 = wn; in mbsrtowcs()
33 wn -= 4; in mbsrtowcs()
38 wn--; in mbsrtowcs()
54 wn--; in mbsrtowcs()
57 if (!wn) return wn0; in mbsrtowcs()
59 while (wn>=4 && !(( *(uint32_t*)s | *(uint32_t*)s-0x01010101) & 0x80808080)) { in mbsrtowcs()
64 wn -= 4; in mbsrtowcs()
69 wn--; in mbsrtowcs()
86 wn--; in mbsrtowcs()
95 return wn0-wn; in mbsrtowcs()