Searched refs:lxml_doc (Results 1 – 6 of 6) sorted by relevance
/php-src/ext/dom/ |
H A D | xml_document.c | 113 if (UNEXPECTED(lxml_doc == NULL)) { in PHP_METHOD() 122 (xmlNodePtr) lxml_doc, in PHP_METHOD() 182 if (UNEXPECTED(lxml_doc == NULL || lxml_doc == DOM_DOCUMENT_MALFORMED)) { in load_from_helper() 184 if (lxml_doc == DOM_DOCUMENT_MALFORMED) { in load_from_helper() 196 if (lxml_doc->encoding == NULL) { in load_from_helper() 203 if (mode == DOM_LOAD_FILE && lxml_doc->URL != NULL) { in load_from_helper() 204 if (!php_is_stream_path((char *) lxml_doc->URL)) { in load_from_helper() 215 xmlFree(BAD_CAST lxml_doc->URL); in load_from_helper() 216 lxml_doc->URL = new_buffer; in load_from_helper() 223 lxml_doc->URL = php_dom_libxml_fix_file_path(BAD_CAST lxml_doc->URL); in load_from_helper() [all …]
|
H A D | html5_parser.c | 95 lxml_text->doc = lxml_doc; in lexbor_libxml2_bridge_new_text_node_fast() 108 xmlDocPtr lxml_doc, in lexbor_libxml2_bridge_convert() argument 224 lxml_attr->doc = lxml_doc; in lexbor_libxml2_bridge_convert() 295 lxml_doc, in lexbor_libxml2_bridge_convert() 345 if (UNEXPECTED(!lxml_doc)) { in lexbor_libxml2_bridge_convert_document() 350 lxml_doc, in lexbor_libxml2_bridge_convert_document() 351 (xmlNodePtr) lxml_doc, in lexbor_libxml2_bridge_convert_document() 357 xmlFreeDoc(lxml_doc); in lexbor_libxml2_bridge_convert_document() 360 *doc_out = lxml_doc; in lexbor_libxml2_bridge_convert_document() 366 xmlDocPtr lxml_doc, in lexbor_libxml2_bridge_convert_fragment() argument [all …]
|
H A D | html_document.c | 377 xmlDocPtr lxml_doc, in dom_post_process_html5_loading() argument 784 if (UNEXPECTED(lxml_doc == NULL)) { in PHP_METHOD() 793 (xmlNodePtr) lxml_doc, in PHP_METHOD() 920 xmlDocPtr lxml_doc; in PHP_METHOD() local 923 &lxml_doc, in PHP_METHOD() 953 (xmlNodePtr) lxml_doc, in PHP_METHOD() 1111 xmlDocPtr lxml_doc; in PHP_METHOD() local 1114 &lxml_doc, in PHP_METHOD() 1154 lxml_doc->URL = new_buffer; in PHP_METHOD() 1159 lxml_doc->URL = converted; in PHP_METHOD() [all …]
|
H A D | html5_parser.h | 78 xmlDocPtr lxml_doc,
|
H A D | php_dom.c | 2747 xmlDocPtr lxml_doc = htmlNewDocNoDtD(NULL, NULL); in php_dom_create_html_doc() local 2748 if (EXPECTED(lxml_doc)) { in php_dom_create_html_doc() 2749 lxml_doc->dict = xmlDictCreate(); in php_dom_create_html_doc() 2754 xmlDocPtr lxml_doc = xmlNewDoc((const xmlChar *) "1.0"); in php_dom_create_html_doc() 2755 if (EXPECTED(lxml_doc)) { in php_dom_create_html_doc() 2756 lxml_doc->type = XML_HTML_DOCUMENT_NODE; in php_dom_create_html_doc() 2757 lxml_doc->dict = xmlDictCreate(); in php_dom_create_html_doc() 2760 return lxml_doc; in php_dom_create_html_doc()
|
H A D | php_dom.h | 174 void dom_document_convert_to_modern(php_libxml_ref_obj *document, xmlDocPtr lxml_doc);
|
Completed in 25 milliseconds