Lines Matching refs:new_child

935 	xmlNodePtr child, new_child, parentp, refp;  in PHP_FUNCTION()  local
952 new_child = NULL; in PHP_FUNCTION()
998 new_child = child; in PHP_FUNCTION()
999 new_child->parent = refp->parent; in PHP_FUNCTION()
1000 new_child->next = refp; in PHP_FUNCTION()
1001 new_child->prev = refp->prev; in PHP_FUNCTION()
1002 refp->prev = new_child; in PHP_FUNCTION()
1003 if (new_child->prev != NULL) { in PHP_FUNCTION()
1004 new_child->prev->next = new_child; in PHP_FUNCTION()
1006 if (new_child->parent != NULL) { in PHP_FUNCTION()
1007 if (new_child->parent->children == refp) { in PHP_FUNCTION()
1008 new_child->parent->children = new_child; in PHP_FUNCTION()
1029 new_child = _php_dom_insert_fragment(parentp, refp->prev, refp, child, intern, childobj); in PHP_FUNCTION()
1032 if (new_child == NULL) { in PHP_FUNCTION()
1033 new_child = xmlAddPrevSibling(refp, child); in PHP_FUNCTION()
1044 new_child = child; in PHP_FUNCTION()
1050 child->next = new_child; in PHP_FUNCTION()
1051 new_child->prev = child; in PHP_FUNCTION()
1052 parentp->last = new_child; in PHP_FUNCTION()
1071 new_child = _php_dom_insert_fragment(parentp, parentp->last, NULL, child, intern, childobj); in PHP_FUNCTION()
1073 if (new_child == NULL) { in PHP_FUNCTION()
1074 new_child = xmlAddChild(parentp, child); in PHP_FUNCTION()
1078 if (NULL == new_child) { in PHP_FUNCTION()
1083 dom_reconcile_ns(parentp->doc, new_child); in PHP_FUNCTION()
1085 DOM_RET_OBJ(new_child, &ret, intern); in PHP_FUNCTION()
1238 xmlNodePtr child, nodep, new_child = NULL; in PHP_FUNCTION() local
1292 new_child = child; in PHP_FUNCTION()
1298 child->next = new_child; in PHP_FUNCTION()
1299 new_child->prev = child; in PHP_FUNCTION()
1300 nodep->last = new_child; in PHP_FUNCTION()
1316 new_child = _php_dom_insert_fragment(nodep, nodep->last, NULL, child, intern, childobj); in PHP_FUNCTION()
1319 if (new_child == NULL) { in PHP_FUNCTION()
1320 new_child = xmlAddChild(nodep, child); in PHP_FUNCTION()
1321 if (new_child == NULL) { in PHP_FUNCTION()
1327 dom_reconcile_ns(nodep->doc, new_child); in PHP_FUNCTION()
1329 DOM_RET_OBJ(new_child, &ret, intern); in PHP_FUNCTION()