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

/PHP_TRUNK/ext/dom/
H A Ddocument.c1665 xmlDoc *docp = NULL, *newdoc; local
1686 newdoc = dom_document_parser(id, mode, source, source_len, options TSRMLS_CC);
1688 if (!newdoc)
1706 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc TSRMLS_CC) == -1) {
1712 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)newdoc, (void *)intern TSRMLS_CC);
1716 DOM_RET_OBJ((xmlNodePtr) newdoc, &ret, NULL);
2155 xmlDoc *docp = NULL, *newdoc; local
2196 newdoc = ctxt->myDoc;
2199 if (!newdoc)
2217 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc TSRMLS_C
[all...]
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c397 xmlDoc *doc = NULL, *newdoc = NULL; local
421 newdoc = xmlCopyDoc(doc, 1);
422 xmlNodeSetBase((xmlNodePtr) newdoc, (xmlChar *)doc->URL);
427 sheetp = xsltParseStylesheetDoc(newdoc);
432 xmlFreeDoc(newdoc);

Completed in 6 milliseconds