Home
last modified time | relevance | path

Searched refs:dst_doc (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/dom/
H A Dphp_dom.c2501 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()
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()
[all …]
H A Ddocument.c1128 static void libxml_fixup_name_and_content(xmlDocPtr src_doc, xmlDocPtr dst_doc, xmlNodePtr node) in libxml_fixup_name_and_content() argument
1130 if (src_doc != NULL && dst_doc != src_doc && src_doc->dict != NULL) { in libxml_fixup_name_and_content()
1131 node->name = libxml_copy_dicted_string(src_doc->dict, dst_doc->dict, BAD_CAST node->name); in libxml_fixup_name_and_content()
1136 static void libxml_fixup_name_and_content_element(xmlDocPtr src_doc, xmlDocPtr dst_doc, xmlNodePtr … in libxml_fixup_name_and_content_element() argument
1138 libxml_fixup_name_and_content(src_doc, dst_doc, node); in libxml_fixup_name_and_content_element()
1140 libxml_fixup_name_and_content(src_doc, dst_doc, (xmlNodePtr) attr); in libxml_fixup_name_and_content_element()
1144 libxml_fixup_name_and_content_element(src_doc, dst_doc, child); in libxml_fixup_name_and_content_element()

Completed in 18 milliseconds