Searched refs:newdoc (Results 1 – 2 of 2) sorted by relevance
/php-src/ext/xsl/ |
H A D | xsltprocessor.c | 193 xmlDoc *doc = NULL, *newdoc = NULL; in PHP_METHOD() local 217 newdoc = xmlCopyDoc(doc, 1); in PHP_METHOD() 218 xmlNodeSetBase((xmlNodePtr) newdoc, (xmlChar *)doc->URL); in PHP_METHOD() 225 sheetp = xsltParseStylesheetDoc(newdoc); in PHP_METHOD() 229 xmlFreeDoc(newdoc); in PHP_METHOD() 238 xmlFreeDoc(newdoc); in PHP_METHOD()
|
/php-src/ext/dom/ |
H A D | document.c | 1470 static void php_dom_finish_loading_document(zval *this, zval *return_value, xmlDocPtr newdoc) in php_dom_finish_loading_document() argument 1472 if (!newdoc) in php_dom_finish_loading_document() 1495 php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc); in php_dom_finish_loading_document() 1500 …php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)newdoc, (void *)intern… in php_dom_finish_loading_document() 1533 xmlDocPtr newdoc = dom_document_parser(ZEND_THIS, mode, source, source_len, options, NULL); in dom_parse_document() local 1534 if (newdoc == DOM_DOCUMENT_MALFORMED) { in dom_parse_document() 1535 newdoc = NULL; in dom_parse_document() 1537 php_dom_finish_loading_document(ZEND_THIS, return_value, newdoc); in dom_parse_document() 2120 xmlDocPtr newdoc = ctxt->myDoc; in dom_load_html() local 2123 php_dom_finish_loading_document(ZEND_THIS, return_value, newdoc); in dom_load_html()
|
Completed in 19 milliseconds