Searched refs:dst_doc (Results 1 – 2 of 2) sorted by relevance
/php-src/ext/dom/ |
H A D | php_dom.c | 2495 xmlNodePtr clone = xmlDocCopyNode(src_node, dst_doc, 0); in dom_clone_container_helper() 2517 xmlAttrPtr new_attr = (xmlAttrPtr) xmlDocCopyNode((xmlNodePtr) attr, dst_doc, 0); in dom_clone_container_helper() 2541 xmlNodePtr outer_clone = dom_clone_container_helper(ns_mapper, src_node, dst_doc); in dom_clone_helper() 2549 dst_doc = (xmlDocPtr) outer_clone; in dom_clone_helper() 2553 dst_doc->intSubset = xmlCopyDtd(((xmlDocPtr) src_node)->intSubset); in dom_clone_helper() 2554 if (UNEXPECTED(dst_doc->intSubset == NULL)) { in dom_clone_helper() 2558 dst_doc->intSubset->parent = dst_doc; in dom_clone_helper() 2559 xmlSetTreeDoc((xmlNodePtr) dst_doc->intSubset, dst_doc); in dom_clone_helper() 2560 dst_doc->children = dst_doc->last = (xmlNodePtr) dst_doc->intSubset; in dom_clone_helper() 2572 cloned = dom_clone_container_helper(ns_mapper, src_node, dst_doc); in dom_clone_helper() [all …]
|
H A D | document.c | 1128 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