Lines Matching refs:parentp

930 	xmlNodePtr child, new_child, parentp, refp;  in PHP_FUNCTION()  local
938 DOM_GET_OBJ(parentp, id, xmlNodePtr, intern); in PHP_FUNCTION()
940 if (dom_node_children_valid(parentp) == FAILURE) { in PHP_FUNCTION()
950 if (dom_node_is_read_only(parentp) == SUCCESS || in PHP_FUNCTION()
956 if (dom_hierarchy(parentp, child) == FAILURE) { in PHP_FUNCTION()
961 if (child->doc != parentp->doc && child->doc != NULL) { in PHP_FUNCTION()
971 if (child->doc == NULL && parentp->doc != NULL) { in PHP_FUNCTION()
978 if (refp->parent != parentp) { in PHP_FUNCTION()
990 xmlSetTreeDoc(child, parentp->doc); in PHP_FUNCTION()
1023 new_child = _php_dom_insert_fragment(parentp, refp->prev, refp, child, intern, childobj); in PHP_FUNCTION()
1033 …if (child->type == XML_TEXT_NODE && parentp->last != NULL && parentp->last->type == XML_TEXT_NODE)… in PHP_FUNCTION()
1034 child->parent = parentp; in PHP_FUNCTION()
1036 xmlSetTreeDoc(child, parentp->doc); in PHP_FUNCTION()
1039 if (parentp->children == NULL) { in PHP_FUNCTION()
1040 parentp->children = child; in PHP_FUNCTION()
1041 parentp->last = child; in PHP_FUNCTION()
1043 child = parentp->last; in PHP_FUNCTION()
1046 parentp->last = new_child; in PHP_FUNCTION()
1052 lastattr = xmlHasProp(parentp, child->name); in PHP_FUNCTION()
1054 lastattr = xmlHasNsProp(parentp, child->name, child->ns->href); in PHP_FUNCTION()
1065 new_child = _php_dom_insert_fragment(parentp, parentp->last, NULL, child, intern, childobj); in PHP_FUNCTION()
1068 new_child = xmlAddChild(parentp, child); in PHP_FUNCTION()
1077 dom_reconcile_ns(parentp->doc, new_child); in PHP_FUNCTION()