Lines Matching refs:newdoc
1675 xmlDoc *docp = NULL, *newdoc; in dom_parse_document() local
1696 newdoc = dom_document_parser(id, mode, source, source_len, options TSRMLS_CC); in dom_parse_document()
1698 if (!newdoc) in dom_parse_document()
1716 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc TSRMLS_CC) == -1) { in dom_parse_document()
1722 …php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)newdoc, (void *)intern… in dom_parse_document()
1726 DOM_RET_OBJ((xmlNodePtr) newdoc, &ret, NULL); in dom_parse_document()
2181 xmlDoc *docp = NULL, *newdoc; in dom_load_html() local
2226 newdoc = ctxt->myDoc; in dom_load_html()
2229 if (!newdoc) in dom_load_html()
2247 if (php_libxml_increment_doc_ref((php_libxml_node_object *)intern, newdoc TSRMLS_CC) == -1) { in dom_load_html()
2253 …php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)newdoc, (void *)intern… in dom_load_html()
2257 DOM_RET_OBJ((xmlNodePtr) newdoc, &ret, NULL); in dom_load_html()