Searched refs:newdoc (Results 1 – 2 of 2) sorted by relevance
/PHP-7.4/ext/dom/ |
H A D | document.c | 1495 xmlDoc *docp = NULL, *newdoc; in dom_parse_document() local 1525 newdoc = dom_document_parser(id, mode, source, source_len, options); in dom_parse_document() 1527 if (!newdoc) in dom_parse_document() 1545 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc) == -1) { in dom_parse_document() 1551 …php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)newdoc, (void *)intern… in dom_parse_document() 1555 DOM_RET_OBJ((xmlNodePtr) newdoc, &ret, NULL); in dom_parse_document() 2021 xmlDoc *docp = NULL, *newdoc; in dom_load_html() local 2075 newdoc = ctxt->myDoc; in dom_load_html() 2078 if (!newdoc) in dom_load_html() 2096 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc) == -1) { in dom_load_html() [all …]
|
/PHP-7.4/ext/xsl/ |
H A D | xsltprocessor.c | 398 xmlDoc *doc = NULL, *newdoc = NULL; in PHP_FUNCTION() local 422 newdoc = xmlCopyDoc(doc, 1); in PHP_FUNCTION() 423 xmlNodeSetBase((xmlNodePtr) newdoc, (xmlChar *)doc->URL); in PHP_FUNCTION() 428 sheetp = xsltParseStylesheetDoc(newdoc); in PHP_FUNCTION() 433 xmlFreeDoc(newdoc); in PHP_FUNCTION()
|
Completed in 12 milliseconds