Lines Matching refs:dst_doc
2499 …clone_container_helper(php_dom_libxml_ns_mapper *ns_mapper, xmlNodePtr src_node, xmlDocPtr dst_doc) in dom_clone_container_helper() argument
2501 xmlNodePtr clone = xmlDocCopyNode(src_node, dst_doc, 0); in dom_clone_container_helper()
2523 xmlAttrPtr new_attr = (xmlAttrPtr) xmlDocCopyNode((xmlNodePtr) attr, dst_doc, 0); in dom_clone_container_helper()
2545 …helper(php_dom_libxml_ns_mapper *ns_mapper, xmlNodePtr src_node, xmlDocPtr dst_doc, bool recursive) in dom_clone_helper() argument
2547 xmlNodePtr outer_clone = dom_clone_container_helper(ns_mapper, src_node, dst_doc); in dom_clone_helper()
2555 dst_doc = (xmlDocPtr) outer_clone; in dom_clone_helper()
2559 dst_doc->intSubset = xmlCopyDtd(((xmlDocPtr) src_node)->intSubset); in dom_clone_helper()
2560 if (UNEXPECTED(dst_doc->intSubset == NULL)) { in dom_clone_helper()
2564 dst_doc->intSubset->parent = dst_doc; in dom_clone_helper()
2565 xmlSetTreeDoc((xmlNodePtr) dst_doc->intSubset, dst_doc); in dom_clone_helper()
2566 dst_doc->children = dst_doc->last = (xmlNodePtr) dst_doc->intSubset; in dom_clone_helper()
2578 cloned = dom_clone_container_helper(ns_mapper, src_node, dst_doc); in dom_clone_helper()
2583 cloned = xmlDocCopyNode(src_node, dst_doc, 1); in dom_clone_helper()