Lines Matching defs:nb
516 int nb;
518 nb = sf_g->nls->char2uni(in, in_len, &uni);
519 if (nb < 0)
526 in_len -= nb;
527 in += nb;
530 nb = utf32_to_utf8(uni, out, out_bound_len);
532 nb = utf8_wctomb(out, uni, out_bound_len);
534 if (nb < 0)
541 out_bound_len -= nb;
542 out += nb;
543 len += nb;
592 int nb;
596 nb = utf8_to_utf32(in, in_bound_len, &uni);
600 nb = utf8_mbtowc(&uni, in, in_bound_len);
602 if (nb < 0)
608 in += nb;
609 in_bound_len -= nb;
611 nb = sf_g->nls->uni2char(uni, out, out_bound_len);
612 if (nb < 0)
616 return nb;
618 out += nb;
619 out_bound_len -= nb;
620 out_len += nb;