Lines Matching refs:new_document
1077 …c void php_dom_transfer_document_ref_single_node(xmlNodePtr node, php_libxml_ref_obj *new_document) in php_dom_transfer_document_ref_single_node() argument
1084 new_document->refcount++; in php_dom_transfer_document_ref_single_node()
1086 iteration_object->document = new_document; in php_dom_transfer_document_ref_single_node()
1090 …ic void php_dom_transfer_document_ref_single_aux(xmlNodePtr node, php_libxml_ref_obj *new_document) in php_dom_transfer_document_ref_single_aux() argument
1092 php_dom_transfer_document_ref_single_node(node, new_document); in php_dom_transfer_document_ref_single_aux()
1095 php_dom_transfer_document_ref_single_node((xmlNodePtr) attr, new_document); in php_dom_transfer_document_ref_single_aux()
1100 static void php_dom_transfer_document_ref(xmlNodePtr node, php_libxml_ref_obj *new_document) in php_dom_transfer_document_ref() argument
1103 php_dom_transfer_document_ref_single_aux(base, new_document); in php_dom_transfer_document_ref()
1107 php_dom_transfer_document_ref_single_aux(node, new_document); in php_dom_transfer_document_ref()
1149 …l php_dom_adopt_node(xmlNodePtr nodep, dom_object *dom_object_new_document, xmlDocPtr new_document) in php_dom_adopt_node() argument
1153 if (nodep->doc != new_document) { in php_dom_adopt_node()
1160 xmlSetTreeDoc(nodep, new_document); in php_dom_adopt_node()
1164 libxml_fixup_name_and_content_element(original_document, new_document, nodep); in php_dom_adopt_node()
1167 …int ret = xmlDOMWrapAdoptNode(NULL, original_document, nodep, new_document, NULL, /* options, unus… in php_dom_adopt_node()
1205 xmlDocPtr new_document; in dom_document_adopt_node() local
1208 DOM_GET_OBJ(new_document, new_document_zval, xmlDocPtr, dom_object_new_document); in dom_document_adopt_node()
1210 if (!php_dom_adopt_node(nodep, dom_object_new_document, new_document)) { in dom_document_adopt_node()