Lines Matching defs:ps
41 size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc)
45 if (ps == NULL)
46 ps = &mbs;
47 return (loc->ctype->lc_wcsnrtombs(dst, src, nwc, len, ps));
52 size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps)
54 return (wcsnrtombs_l(dst, src, nwc, len, ps, uselocale(NULL)));
59 size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps,
73 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1)
87 if ((nb = pwcrtomb(dst, *s, ps)) == (size_t)-1) {
99 mbsbak = *ps;
100 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1) {
106 *ps = mbsbak;