Home
last modified time | relevance | path

Searched refs:pwcs (Results 1 – 4 of 4) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Dwcstombs.c56 const wchar_t *__restrict pwcs, in wcstombs() argument
71 while (*pwcs != 0) in wcstombs()
73 bytes = __WCTOMB (buff, *pwcs++, &state); in wcstombs()
84 bytes = __WCTOMB (buff, *pwcs, &state); in wcstombs()
91 if (*pwcs == 0x00) in wcstombs()
93 ++pwcs; in wcstombs()
103 if ((*s++ = (char) *pwcs++) == 0) in wcstombs()
Dmbstowcs.c54 mbstowcs (wchar_t *__restrict pwcs, in mbstowcs() argument
66 if (!pwcs) in mbstowcs()
70 bytes = __MBTOWC (pwcs, t, MB_CUR_MAX, &state); in mbstowcs()
80 if (pwcs) in mbstowcs()
82 ++pwcs; in mbstowcs()
93 if ((*pwcs++ = (wchar_t) *s++) == 0) in mbstowcs()
Dwcsnrtombs.c81 wchar_t *pwcs; in _wcsnrtombs_l() local
98 pwcs = (wchar_t *)(*src); in _wcsnrtombs_l()
104 int bytes = loc->wctomb (buff, *pwcs, ps); in _wcsnrtombs_l()
120 if (*pwcs++ == 0x00) in _wcsnrtombs_l()
/picolibc-3.7.0-3.6.0/newlib/libc/string/
Dwcswidth.c41 wcswidth (const wchar_t *pwcs, in wcswidth() argument
46 if (!pwcs || n == 0) in wcswidth()
49 uint32_t wi = (uint32_t) *pwcs; in wcswidth()
59 if (--n == 0 || (wi2 = _jp2uc (*++pwcs)) < (uint32_t) 0xdc00 || wi2 > (uint32_t) 0xdfff) in wcswidth()
68 } while (*pwcs++ && --n > 0); in wcswidth()