Lines Matching refs:parentp

852 	xmlNodePtr child, new_child, parentp, refp;  in PHP_METHOD()  local
861 DOM_GET_OBJ(parentp, id, xmlNodePtr, intern); in PHP_METHOD()
863 if (dom_node_children_valid(parentp) == FAILURE) { in PHP_METHOD()
873 if (dom_node_is_read_only(parentp) == SUCCESS || in PHP_METHOD()
879 if (dom_hierarchy(parentp, child) == FAILURE) { in PHP_METHOD()
884 if (child->doc != parentp->doc && child->doc != NULL) { in PHP_METHOD()
895 if (child->doc == NULL && parentp->doc != NULL) { in PHP_METHOD()
902 if (refp->parent != parentp) { in PHP_METHOD()
914 xmlSetTreeDoc(child, parentp->doc); in PHP_METHOD()
952 new_child = _php_dom_insert_fragment(parentp, refp->prev, refp, child, intern, childobj); in PHP_METHOD()
953 dom_reconcile_ns_list(parentp->doc, new_child, last); in PHP_METHOD()
959 dom_reconcile_ns(parentp->doc, new_child); in PHP_METHOD()
965 …if (child->type == XML_TEXT_NODE && parentp->last != NULL && parentp->last->type == XML_TEXT_NODE)… in PHP_METHOD()
966 child->parent = parentp; in PHP_METHOD()
968 xmlSetTreeDoc(child, parentp->doc); in PHP_METHOD()
971 if (parentp->children == NULL) { in PHP_METHOD()
972 parentp->children = child; in PHP_METHOD()
973 parentp->last = child; in PHP_METHOD()
975 child = parentp->last; in PHP_METHOD()
978 parentp->last = new_child; in PHP_METHOD()
984 lastattr = xmlHasProp(parentp, child->name); in PHP_METHOD()
986 lastattr = xmlHasNsProp(parentp, child->name, child->ns->href); in PHP_METHOD()
996 new_child = xmlAddChild(parentp, child); in PHP_METHOD()
1002 new_child = _php_dom_insert_fragment(parentp, parentp->last, NULL, child, intern, childobj); in PHP_METHOD()
1003 dom_reconcile_ns_list(parentp->doc, new_child, last); in PHP_METHOD()
1005 new_child = xmlAddChild(parentp, child); in PHP_METHOD()
1009 dom_reconcile_ns(parentp->doc, new_child); in PHP_METHOD()