Lines Matching refs:newdoc
1473 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()
2076 …php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)newdoc, (void *)intern… in dom_load_html()
2080 DOM_RET_OBJ((xmlNodePtr) newdoc, &ret, NULL); in dom_load_html()