Lines Matching refs:buf_ref
133 const lxb_char_t *buf_ref = (const lxb_char_t *) ZSTR_VAL(input); in dom_html_fragment_lexbor_parse() local
136 status = lxb_html_document_parse_fragment_chunk(document, buf_ref, ZSTR_LEN(input)); in dom_html_fragment_lexbor_parse()
142 const lxb_char_t *buf_end = buf_ref + ZSTR_LEN(input); in dom_html_fragment_lexbor_parse()
143 const lxb_char_t *last_output = buf_ref; in dom_html_fragment_lexbor_parse()
144 while (buf_ref < buf_end) { in dom_html_fragment_lexbor_parse()
145 if (decode.u.utf_8.need == 0 && *buf_ref < 0x80) { in dom_html_fragment_lexbor_parse()
146 buf_ref++; in dom_html_fragment_lexbor_parse()
150 const lxb_char_t *buf_ref_backup = buf_ref; in dom_html_fragment_lexbor_parse()
151 lxb_codepoint_t codepoint = lxb_encoding_decode_utf_8_single(&decode, &buf_ref, buf_end); in dom_html_fragment_lexbor_parse()
163 last_output = buf_ref; in dom_html_fragment_lexbor_parse()
167 if (buf_ref != last_output) { in dom_html_fragment_lexbor_parse()
168 status = lxb_html_document_parse_fragment_chunk(document, last_output, buf_ref - last_output); in dom_html_fragment_lexbor_parse()