Home | History | Annotate | Download | only in musl-multibyte

Lines Matching refs:wn

15 size_t mbsnrtowcs(wchar_t *restrict wcs, const char **restrict src, size_t n, size_t wn, mbstate_t *restrict st)
21 if (!wcs) ws = wbuf, wn = sizeof wbuf / sizeof *wbuf;
28 while ( s && wn && ( (n2=n/4)>=wn || n2>32 ) ) {
29 if (n2>=wn) n2=wn;
34 wn = 0;
39 wn -= l;
43 if (s) while (wn && n) {
60 ws++; wn--;