Lines Matching refs:buf_ref

476 	const lxb_char_t **buf_ref,  in dom_setup_parser_encoding_implicitly()  argument
482 const char *buf_start = (const char *) *buf_ref; in dom_setup_parser_encoding_implicitly()
484 *buf_ref += dom_encoding_data.bom_shift; in dom_setup_parser_encoding_implicitly()
526 const lxb_char_t *buf_ref = *buf_ref_ref; in dom_decode_encode_fast_path() local
527 const lxb_char_t *last_output = buf_ref; in dom_decode_encode_fast_path()
528 while (buf_ref != buf_end) { in dom_decode_encode_fast_path()
530 if (decoding_encoding_ctx->decode.u.utf_8.need == 0 && *buf_ref < 0x80) { in dom_decode_encode_fast_path()
535 buf_ref++; in dom_decode_encode_fast_path()
538 const lxb_char_t *buf_ref_backup = buf_ref; in dom_decode_encode_fast_path()
539 …_t codepoint = lxb_encoding_decode_utf_8_single(&decoding_encoding_ctx->decode, &buf_ref, buf_end); in dom_decode_encode_fast_path()
541 …size_t skip = buf_ref - buf_ref_backup; /* Skip invalid data, it's replaced by the UTF-8 replaceme… in dom_decode_encode_fast_path()
546 buf_ref - last_output - skip, in dom_decode_encode_fast_path()
548 buf_ref - last_output, in dom_decode_encode_fast_path()
566 last_output = buf_ref; in dom_decode_encode_fast_path()
569 if (buf_ref != last_output in dom_decode_encode_fast_path()
574 buf_ref - last_output, in dom_decode_encode_fast_path()
576 buf_ref - last_output, in dom_decode_encode_fast_path()
582 *buf_ref_ref = buf_ref; in dom_decode_encode_fast_path()
585 *buf_ref_ref = buf_ref; in dom_decode_encode_fast_path()
600 const lxb_char_t *buf_ref = *buf_ref_ref; in dom_decode_encode_slow_path() local
603 …us = decoding_encoding_ctx->decode_data->decode(&decoding_encoding_ctx->decode, &buf_ref, buf_end); in dom_decode_encode_slow_path()
627 *buf_ref_ref = buf_ref; in dom_decode_encode_slow_path()
630 *buf_ref_ref = buf_ref; in dom_decode_encode_slow_path()
820 const lxb_char_t *buf_ref = (const lxb_char_t *) source; in PHP_METHOD() local
832 …dom_setup_parser_encoding_manually(buf_ref, encoding_data, &decoding_encoding_ctx, &application_da… in PHP_METHOD()
834 …dom_setup_parser_encoding_implicitly(&buf_ref, &source_len, &decoding_encoding_ctx, &application_d… in PHP_METHOD()
857 const lxb_char_t *buf_end = buf_ref + chunk_size; in PHP_METHOD()
862 &buf_ref, in PHP_METHOD()
1041 const lxb_char_t *buf_ref = (const lxb_char_t *) buf; in PHP_METHOD() local
1045 …dom_setup_parser_encoding_implicitly(&buf_ref, (size_t *) &read, &decoding_encoding_ctx, &applicat… in PHP_METHOD()
1048 const lxb_char_t *buf_end = buf_ref + read; in PHP_METHOD()
1053 &buf_ref, in PHP_METHOD()
1178 const lxb_char_t *buf_ref = (const lxb_char_t *) buf; in dom_saveHTML_write_string_len() local
1179 const lxb_char_t *buf_end = buf_ref + len; in dom_saveHTML_write_string_len()
1182 decode_status = output->decoding_data->decode(output->decode, &buf_ref, buf_end); in dom_saveHTML_write_string_len()