Lines Matching refs:decode

64 	lxb_encoding_decode_t *decode;  member
76 lxb_encoding_decode_t decode; member
117 &ctx->decode, in dom_decoding_encoding_ctx_init()
122 …(void) lxb_encoding_decode_replace_set(&ctx->decode, LXB_ENCODING_REPLACEMENT_BUFFER, LXB_ENCODING… in dom_decoding_encoding_ctx_init()
458 &decoding_encoding_ctx->decode, in dom_setup_parser_encoding_manually()
464 &decoding_encoding_ctx->decode, in dom_setup_parser_encoding_manually()
531 decoding_encoding_ctx->decode.status = LXB_STATUS_OK; in dom_decode_encode_fast_path()
537 if (decoding_encoding_ctx->decode.u.utf_8.need == 0 && *buf_ref < 0x80) { in dom_decode_encode_fast_path()
546 …lxb_codepoint_t codepoint = lxb_encoding_decode_utf_8_single(&decoding_encoding_ctx->decode, &buf_… in dom_decode_encode_fast_path()
568 decoding_encoding_ctx->decode.status = LXB_STATUS_CONTINUE; in dom_decode_encode_fast_path()
622 …decode_status = decoding_encoding_ctx->decode_data->decode(&decoding_encoding_ctx->decode, &buf_re… in dom_decode_encode_slow_path()
625 size_t decoding_buffer_used = lxb_encoding_decode_buf_used(&decoding_encoding_ctx->decode); in dom_decode_encode_slow_path()
644 lxb_encoding_decode_buf_used_set(&decoding_encoding_ctx->decode, 0); in dom_decode_encode_slow_path()
700 status = lxb_encoding_decode_finish(&decoding_encoding_ctx->decode); in dom_parse_decode_encode_finish()
703 size_t decoding_buffer_size = lxb_encoding_decode_buf_used(&decoding_encoding_ctx->decode); in dom_parse_decode_encode_finish()
721 lxb_encoding_decode_buf_used(&decoding_encoding_ctx->decode), in dom_parse_decode_encode_finish()
1194 decode_status = output->decoding_data->decode(output->decode, &buf_ref, buf_end); in dom_saveHTML_write_string_len()
1197 …st lxb_codepoint_t *codepoints_end = codepoints_ref + lxb_encoding_decode_buf_used(output->decode); in dom_saveHTML_write_string_len()
1209 lxb_encoding_decode_buf_used_set(output->decode, 0); in dom_saveHTML_write_string_len()
1229 lxb_encoding_decode_t decode; in dom_common_save() local
1233 …(void) lxb_encoding_decode_init(&decode, decoding_data, codepoints, sizeof(codepoints) / sizeof(*c… in dom_common_save()
1240 …lxb_encoding_decode_replace_set(&decode, LXB_ENCODING_REPLACEMENT_BUFFER, LXB_ENCODING_REPLACEMENT… in dom_common_save()
1245 output_ctx->decode = &decode; in dom_common_save()
1258 (void) lxb_encoding_decode_finish(&decode); in dom_common_save()
1259 if (lxb_encoding_decode_buf_used(&decode)) { in dom_common_save()
1261 …ing_data->encode(&encode, &codepoints_ref, codepoints_ref + lxb_encoding_decode_buf_used(&decode)); in dom_common_save()