Lines Matching refs:nb
36 size_t nb;
43 if ((nb = wcrtomb_l(buf, *s, ps, loc)) == (size_t)-1)
47 return (nbytes + nb - 1);
49 nbytes += nb;
57 if ((nb = wcrtomb_l(dst, *s, ps, loc)) == (size_t)-1) {
70 if ((nb = wcrtomb_l(buf, *s, ps, loc)) == (size_t)-1) {
74 if (nb > (int)len) {
79 memcpy(dst, buf, nb);
83 return (nbytes + nb - 1);
86 dst += nb;
87 len -= nb;
88 nbytes += nb;