Lines Matching defs:nb
66 size_t nb;
73 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1)
77 return (nbytes + nb - 1);
79 nbytes += nb;
87 if ((nb = pwcrtomb(dst, *s, ps)) == (size_t)-1) {
100 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1) {
104 if (nb > (int)len) {
109 (void) memcpy(dst, buf, nb);
113 return (nbytes + nb - 1);
116 dst += nb;
117 len -= nb;
118 nbytes += nb;