Lines Matching refs:parentp

1002 	xmlNodePtr child, new_child, parentp, refp;  in PHP_FUNCTION()  local
1010 DOM_GET_OBJ(parentp, id, xmlNodePtr, intern); in PHP_FUNCTION()
1012 if (dom_node_children_valid(parentp) == FAILURE) { in PHP_FUNCTION()
1022 if (dom_node_is_read_only(parentp) == SUCCESS || in PHP_FUNCTION()
1028 if (dom_hierarchy(parentp, child) == FAILURE) { in PHP_FUNCTION()
1033 if (child->doc != parentp->doc && child->doc != NULL) { in PHP_FUNCTION()
1043 if (child->doc == NULL && parentp->doc != NULL) { in PHP_FUNCTION()
1050 if (refp->parent != parentp) { in PHP_FUNCTION()
1062 xmlSetTreeDoc(child, parentp->doc); in PHP_FUNCTION()
1095 …new_child = _php_dom_insert_fragment(parentp, refp->prev, refp, child, intern, childobj TSRMLS_CC); in PHP_FUNCTION()
1105 …if (child->type == XML_TEXT_NODE && parentp->last != NULL && parentp->last->type == XML_TEXT_NODE)… in PHP_FUNCTION()
1106 child->parent = parentp; in PHP_FUNCTION()
1108 xmlSetTreeDoc(child, parentp->doc); in PHP_FUNCTION()
1111 if (parentp->children == NULL) { in PHP_FUNCTION()
1112 parentp->children = child; in PHP_FUNCTION()
1113 parentp->last = child; in PHP_FUNCTION()
1115 child = parentp->last; in PHP_FUNCTION()
1118 parentp->last = new_child; in PHP_FUNCTION()
1124 lastattr = xmlHasProp(parentp, child->name); in PHP_FUNCTION()
1126 lastattr = xmlHasNsProp(parentp, child->name, child->ns->href); in PHP_FUNCTION()
1137 …new_child = _php_dom_insert_fragment(parentp, parentp->last, NULL, child, intern, childobj TSRMLS_… in PHP_FUNCTION()
1140 new_child = xmlAddChild(parentp, child); in PHP_FUNCTION()
1149 dom_reconcile_ns(parentp->doc, new_child); in PHP_FUNCTION()