Lines Matching refs:buflen
228 size_t buflen; in do_xfrm() local
271 buflen = utf8_encode (buf, val); in do_xfrm()
272 if (needed + buflen + len < n) in do_xfrm()
274 for (i = 0; i < buflen; ++i) in do_xfrm()
277 dest[needed + buflen + i] = in do_xfrm()
280 needed += buflen + len; in do_xfrm()
305 buflen = utf8_encode (buf, val); in do_xfrm()
306 if (needed + buflen + len < n) in do_xfrm()
308 for (i = 0; i < buflen; ++i) in do_xfrm()
311 dest[needed + buflen + i] = in do_xfrm()
314 needed += buflen + len; in do_xfrm()
360 buflen = utf8_encode (buf, val); in do_xfrm()
361 if (needed + buflen + len < n) in do_xfrm()
363 for (i = 0; i < buflen; ++i) in do_xfrm()
366 dest[needed + buflen + i] = in do_xfrm()
369 needed += buflen + len; in do_xfrm()
507 size_t buflen; in do_xfrm_cached() local
538 buflen = utf8_encode (buf, val); in do_xfrm_cached()
539 if (needed + buflen + len < n) in do_xfrm_cached()
541 for (i = 0; i < buflen; ++i) in do_xfrm_cached()
544 dest[needed + buflen + i] = in do_xfrm_cached()
547 needed += buflen + len; in do_xfrm_cached()
573 buflen = utf8_encode (buf, val); in do_xfrm_cached()
574 if (needed + buflen + len < n) in do_xfrm_cached()
576 for (i = 0; i < buflen; ++i) in do_xfrm_cached()
579 dest[needed + buflen + i] = in do_xfrm_cached()
582 needed += buflen + len; in do_xfrm_cached()
623 buflen = utf8_encode (buf, val); in do_xfrm_cached()
624 if (needed + buflen + len < n) in do_xfrm_cached()
626 for (i = 0; i < buflen; ++i) in do_xfrm_cached()
629 dest[needed + buflen + i] = in do_xfrm_cached()
632 needed += buflen + len; in do_xfrm_cached()