Lines Matching refs:decode

65 	lxb_encoding_decode_t *decode;  member
77 lxb_encoding_decode_t decode; member
118 &ctx->decode, in dom_decoding_encoding_ctx_init()
123 …(void) lxb_encoding_decode_replace_set(&ctx->decode, LXB_ENCODING_REPLACEMENT_BUFFER, LXB_ENCODING… in dom_decoding_encoding_ctx_init()
459 &decoding_encoding_ctx->decode, in dom_setup_parser_encoding_manually()
465 &decoding_encoding_ctx->decode, in dom_setup_parser_encoding_manually()
556 decoding_encoding_ctx->decode.status = LXB_STATUS_OK; in dom_decode_encode_fast_path()
562 if (decoding_encoding_ctx->decode.u.utf_8.need == 0) { in dom_decode_encode_fast_path()
571 …lxb_codepoint_t codepoint = lxb_encoding_decode_utf_8_single(&decoding_encoding_ctx->decode, &buf_… in dom_decode_encode_fast_path()
592 decoding_encoding_ctx->decode.status = LXB_STATUS_CONTINUE; in dom_decode_encode_fast_path()
646 …decode_status = decoding_encoding_ctx->decode_data->decode(&decoding_encoding_ctx->decode, &buf_re… in dom_decode_encode_slow_path()
649 size_t decoding_buffer_used = lxb_encoding_decode_buf_used(&decoding_encoding_ctx->decode); in dom_decode_encode_slow_path()
668 lxb_encoding_decode_buf_used_set(&decoding_encoding_ctx->decode, 0); in dom_decode_encode_slow_path()
724 status = lxb_encoding_decode_finish(&decoding_encoding_ctx->decode); in dom_parse_decode_encode_finish()
727 size_t decoding_buffer_size = lxb_encoding_decode_buf_used(&decoding_encoding_ctx->decode); in dom_parse_decode_encode_finish()
745 lxb_encoding_decode_buf_used(&decoding_encoding_ctx->decode), in dom_parse_decode_encode_finish()
1215 output->decode->status = LXB_STATUS_OK; in dom_saveHTML_write_string_len_utf8_output()
1223 lxb_codepoint_t codepoint = lxb_encoding_decode_utf_8_single(output->decode, &buf_ref, buf_end); in dom_saveHTML_write_string_len_utf8_output()
1238 output->decode->status = LXB_STATUS_CONTINUE; in dom_saveHTML_write_string_len_utf8_output()
1280 decode_status = lxb_encoding_decode_utf_8(output->decode, &buf_ref, buf_end); in dom_saveHTML_write_string_len()
1283 …st lxb_codepoint_t *codepoints_end = codepoints_ref + lxb_encoding_decode_buf_used(output->decode); in dom_saveHTML_write_string_len()
1295 lxb_encoding_decode_buf_used_set(output->decode, 0); in dom_saveHTML_write_string_len()
1315 lxb_encoding_decode_t decode; in dom_common_save() local
1319 …(void) lxb_encoding_decode_init(&decode, decoding_data, codepoints, sizeof(codepoints) / sizeof(*c… in dom_common_save()
1326 …lxb_encoding_decode_replace_set(&decode, LXB_ENCODING_REPLACEMENT_BUFFER, LXB_ENCODING_REPLACEMENT… in dom_common_save()
1331 output_ctx->decode = &decode; in dom_common_save()
1351 (void) lxb_encoding_decode_finish(&decode); in dom_common_save()
1352 if (lxb_encoding_decode_buf_used(&decode)) { in dom_common_save()
1354 …ing_data->encode(&encode, &codepoints_ref, codepoints_ref + lxb_encoding_decode_buf_used(&decode)); in dom_common_save()