Lines Matching refs:bw
52 duk_bufwriter_ctx *bw; in duk_bi_string_constructor_from_char_code() local
64 bw = &bw_alloc; in duk_bi_string_constructor_from_char_code()
65 DUK_BW_INIT_PUSHBUF(thr, bw, n); /* initial estimate for ASCII only codepoints */ in duk_bi_string_constructor_from_char_code()
80 DUK_BW_WRITE_ENSURE_XUTF8(thr, bw, cp); in duk_bi_string_constructor_from_char_code()
83 DUK_BW_WRITE_ENSURE_CESU8(thr, bw, cp); in duk_bi_string_constructor_from_char_code()
87 DUK_BW_COMPACT(thr, bw); in duk_bi_string_constructor_from_char_code()
434 duk_bufwriter_ctx *bw; local
452 bw = &bw_alloc;
453 …DUK_BW_INIT_PUSHBUF(thr, bw, DUK_HSTRING_GET_BYTELEN(h_input)); /* input size is good output star…
624 DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz);
661 DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_repl);
692 DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_match);
698 DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input), tmp_sz);
713 DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + match_end_boff, tmp_sz);
756 DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_tmp_str);
775 DUK_BW_WRITE_ENSURE_U8(thr, bw, (duk_uint8_t) (ch1 & 0xff));
793 DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz);
796 DUK_BW_COMPACT(thr, bw);