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

/PHP_5_3/ext/dom/
H A Ddocument.c1664 xmlDoc *docp = NULL, *newdoc; local
1685 newdoc = dom_document_parser(id, mode, source, source_len, options TSRMLS_CC);
1687 if (!newdoc)
1705 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc TSRMLS_CC) == -1) {
1711 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)newdoc, (void *)intern TSRMLS_CC);
1715 DOM_RET_OBJ(rv, (xmlNodePtr) newdoc, &ret, NULL);
2154 xmlDoc *docp = NULL, *newdoc; local
2190 newdoc = ctxt->myDoc;
2193 if (!newdoc)
2211 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc TSRMLS_C
[all...]
/PHP_5_3/ext/xsl/
H A Dxsltprocessor.c386 xmlDoc *doc = NULL, *newdoc = NULL; local
410 newdoc = xmlCopyDoc(doc, 1);
411 xmlNodeSetBase((xmlNodePtr) newdoc, (xmlChar *)doc->URL);
416 sheetp = xsltParseStylesheetDoc(newdoc);
421 xmlFreeDoc(newdoc);

Completed in 7 milliseconds