Searched refs:newdoc (Results 1 – 2 of 2) sorted by relevance
/PHP-8.0/ext/dom/ |
H A D | document.c | 1292 xmlDoc *docp = NULL, *newdoc; in dom_parse_document() local 1322 newdoc = dom_document_parser(id, mode, source, source_len, options); in dom_parse_document() 1324 if (!newdoc) in dom_parse_document() 1342 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc) == -1) { in dom_parse_document() 1348 …php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)newdoc, (void *)intern… in dom_parse_document() 1352 DOM_RET_OBJ((xmlNodePtr) newdoc, &ret, NULL); in dom_parse_document() 1825 xmlDoc *docp = NULL, *newdoc; in dom_load_html() local 1880 newdoc = ctxt->myDoc; in dom_load_html() 1883 if (!newdoc) in dom_load_html() 1901 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc) == -1) { in dom_load_html() [all …]
|
/PHP-8.0/ext/xsl/ |
H A D | xsltprocessor.c | 315 xmlDoc *doc = NULL, *newdoc = NULL; in PHP_METHOD() local 340 newdoc = xmlCopyDoc(doc, 1); in PHP_METHOD() 341 xmlNodeSetBase((xmlNodePtr) newdoc, (xmlChar *)doc->URL); in PHP_METHOD() 346 sheetp = xsltParseStylesheetDoc(newdoc); in PHP_METHOD() 350 xmlFreeDoc(newdoc); in PHP_METHOD()
|
Completed in 14 milliseconds