Lines Matching refs:doc

162 static void dom_reconcile_ns(xmlDocPtr doc, xmlNodePtr nodep) /* {{{ */  in dom_reconcile_ns()  argument
173 if((nsptr = xmlSearchNsByHref(doc, nodep->parent, curns->href)) && in dom_reconcile_ns()
181 dom_set_old_ns(doc, curns); in dom_reconcile_ns()
189 xmlReconciliateNs(doc, nodep); in dom_reconcile_ns()
670 docp = nodep->doc; in dom_node_owner_document_read()
794 nsnode = xmlDocGetRootElement(nodep->doc); in dom_node_prefix_write()
899 baseuri = xmlNodeGetBase(nodep->doc, nodep); in dom_node_base_uri_read()
973 if (node->doc != nodep->doc) { in _php_dom_insert_fragment()
974 xmlSetTreeDoc(node, nodep->doc); in _php_dom_insert_fragment()
1033 if (child->doc != parentp->doc && child->doc != NULL) { in PHP_FUNCTION()
1043 if (child->doc == NULL && parentp->doc != NULL) { in PHP_FUNCTION()
1061 if (child->doc == NULL) { in PHP_FUNCTION()
1062 xmlSetTreeDoc(child, parentp->doc); in PHP_FUNCTION()
1107 if (child->doc == NULL) { in PHP_FUNCTION()
1108 xmlSetTreeDoc(child, parentp->doc); in PHP_FUNCTION()
1149 dom_reconcile_ns(parentp->doc, new_child); in PHP_FUNCTION()
1195 if (newchild->doc != nodep->doc && newchild->doc != NULL) { in PHP_FUNCTION()
1224 dom_reconcile_ns(nodep->doc, newchild); in PHP_FUNCTION()
1227 if (newchild->doc == NULL && nodep->doc != NULL) { in PHP_FUNCTION()
1228 xmlSetTreeDoc(newchild, nodep->doc); in PHP_FUNCTION()
1233 dom_reconcile_ns(nodep->doc, newchild); in PHP_FUNCTION()
1331 if (!(child->doc == NULL || child->doc == nodep->doc)) { in PHP_FUNCTION()
1341 if (child->doc == NULL && nodep->doc != NULL) { in PHP_FUNCTION()
1352 if (child->doc == NULL) { in PHP_FUNCTION()
1353 xmlSetTreeDoc(child, nodep->doc); in PHP_FUNCTION()
1390 dom_reconcile_ns(nodep->doc, new_child); in PHP_FUNCTION()
1442 node = xmlDocCopyNode(n, n->doc, recursive); in PHP_FUNCTION()
1456 ns = xmlSearchNs(n->doc, node, n->ns->prefix); in PHP_FUNCTION()
1458 ns = xmlSearchNs(n->doc, n, n->ns->prefix); in PHP_FUNCTION()
1477 if (node->doc != n->doc) { in PHP_FUNCTION()
1630 if (lookupp != NULL && (nsptr = xmlSearchNsByHref(lookupp->doc, lookupp, uri))) { in PHP_FUNCTION()
1664 nsptr = xmlSearchNs(nodep->doc, nodep, NULL); in PHP_FUNCTION()
1699 nsptr = xmlSearchNs(nodep->doc, nodep, prefix); in PHP_FUNCTION()
1780 docp = nodep->doc; in dom_canonicalization()