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

Lines Matching refs:ws

9 size_t wcsrtombs(char *restrict s, const wchar_t **restrict ws, size_t n, mbstate_t *restrict st)
15 for (n=0, ws2=*ws; *ws2; ws2++) {
25 if (**ws-1u >= 0x7fu) {
26 if (!**ws) {
28 *ws = 0;
31 l = wcrtomb(s, **ws, 0);
36 *s++ = **ws;
39 (*ws)++;
42 if (**ws-1u >= 0x7fu) {
43 if (!**ws) {
45 *ws = 0;
48 l = wcrtomb(buf, **ws, 0);
51 wcrtomb(s, **ws, 0);
55 *s++ = **ws;
58 (*ws)++;