Home
last modified time | relevance | path

Searched refs:newdoc (Results 1 – 2 of 2) sorted by relevance

/PHP-7.3/ext/dom/
H A Ddocument.c1473 xmlDoc *docp = NULL, *newdoc; in dom_parse_document() local
1503 newdoc = dom_document_parser(id, mode, source, source_len, options); in dom_parse_document()
1505 if (!newdoc) in dom_parse_document()
1523 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc) == -1) { in dom_parse_document()
1529 …php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)newdoc, (void *)intern… in dom_parse_document()
1533 DOM_RET_OBJ((xmlNodePtr) newdoc, &ret, NULL); in dom_parse_document()
1995 xmlDoc *docp = NULL, *newdoc; in dom_load_html() local
2049 newdoc = ctxt->myDoc; in dom_load_html()
2052 if (!newdoc) in dom_load_html()
2070 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc) == -1) { in dom_load_html()
[all …]
/PHP-7.3/ext/xsl/
H A Dxsltprocessor.c395 xmlDoc *doc = NULL, *newdoc = NULL; in PHP_FUNCTION() local
418 newdoc = xmlCopyDoc(doc, 1); in PHP_FUNCTION()
419 xmlNodeSetBase((xmlNodePtr) newdoc, (xmlChar *)doc->URL); in PHP_FUNCTION()
424 sheetp = xsltParseStylesheetDoc(newdoc); in PHP_FUNCTION()
429 xmlFreeDoc(newdoc); in PHP_FUNCTION()

Completed in 23 milliseconds