Lines Matching refs:encoding_data

54 	const lxb_encoding_data_t *encoding_data;  member
61 const lxb_encoding_data_t *encoding_data; member
402 result.encoding_data = lxb_encoding_data(LXB_ENCODING_UTF_8); in dom_determine_encoding()
407 result.encoding_data = lxb_encoding_data(LXB_ENCODING_UTF_16BE); in dom_determine_encoding()
411 result.encoding_data = lxb_encoding_data(LXB_ENCODING_UTF_16LE); in dom_determine_encoding()
435 result.encoding_data = lxb_encoding_data_by_pre_name(entry->name, entry->end - entry->name); in dom_determine_encoding()
436 if (!result.encoding_data) { in dom_determine_encoding()
446 result.encoding_data = lxb_encoding_data(DOM_FALLBACK_ENCODING_ID); in dom_determine_encoding()
451 …ding_manually(const lxb_char_t *buf_start, const lxb_encoding_data_t *encoding_data, dom_decoding_… in dom_setup_parser_encoding_manually() argument
455 decoding_encoding_ctx->decode_data = encoding_data; in dom_setup_parser_encoding_manually()
491 …dom_setup_parser_encoding_manually((const lxb_char_t *) buf_start, dom_encoding_data.encoding_data in dom_setup_parser_encoding_implicitly()
752 …const lxb_encoding_data_t *encoding_data = lxb_encoding_data_by_name((const lxb_char_t *) encoding… in PHP_METHOD() local
754 if (encoding_data == NULL) { in PHP_METHOD()
836 const lxb_encoding_data_t *encoding_data = lxb_encoding_data_by_name( in PHP_METHOD() local
840 if (!encoding_data) { in PHP_METHOD()
844 …dom_setup_parser_encoding_manually(buf_ref, encoding_data, &decoding_encoding_ctx, &application_da… in PHP_METHOD()
995 const lxb_encoding_data_t *encoding_data = lxb_encoding_data_by_name( in PHP_METHOD() local
999 if (!encoding_data) { in PHP_METHOD()
1004 …dom_setup_parser_encoding_manually((const lxb_char_t *) buf, encoding_data, &decoding_encoding_ctx… in PHP_METHOD()
1020 const lxb_encoding_data_t *encoding_data = lxb_encoding_data_by_name( in PHP_METHOD() local
1024 if (encoding_data != NULL) { in PHP_METHOD()
1028 encoding_data, in PHP_METHOD()
1199 encode_status = output->encoding_data->encode(output->encode, &codepoints_ref, codepoints_end); in dom_saveHTML_write_string_len()
1224 const lxb_encoding_data_t *encoding_data = lxb_encoding_data_by_name( in dom_common_save() local
1232 …(void) lxb_encoding_encode_init(&encode, encoding_data, encoding_output, sizeof(encoding_output) /… in dom_common_save()
1234 if (encoding_data->encoding == LXB_ENCODING_UTF_8) { in dom_common_save()
1242 output_ctx->encoding_data = encoding_data; in dom_common_save()
1261 …(void) encoding_data->encode(&encode, &codepoints_ref, codepoints_ref + lxb_encoding_decode_buf_us… in dom_common_save()
1365 …const lxb_encoding_data_t *encoding_data = lxb_encoding_data_by_name((const lxb_char_t *) ZSTR_VAL… in dom_html_document_encoding_write() local
1367 if (encoding_data != NULL) { in dom_html_document_encoding_write()
1369 docp->encoding = xmlStrdup((const xmlChar *) encoding_data->name); in dom_html_document_encoding_write()