Lines Matching refs:new_child

930 	xmlNodePtr child, new_child, parentp, refp;  in PHP_FUNCTION()  local
946 new_child = NULL; in PHP_FUNCTION()
992 new_child = child; in PHP_FUNCTION()
993 new_child->parent = refp->parent; in PHP_FUNCTION()
994 new_child->next = refp; in PHP_FUNCTION()
995 new_child->prev = refp->prev; in PHP_FUNCTION()
996 refp->prev = new_child; in PHP_FUNCTION()
997 if (new_child->prev != NULL) { in PHP_FUNCTION()
998 new_child->prev->next = new_child; in PHP_FUNCTION()
1000 if (new_child->parent != NULL) { in PHP_FUNCTION()
1001 if (new_child->parent->children == refp) { in PHP_FUNCTION()
1002 new_child->parent->children = new_child; in PHP_FUNCTION()
1023 new_child = _php_dom_insert_fragment(parentp, refp->prev, refp, child, intern, childobj); in PHP_FUNCTION()
1026 if (new_child == NULL) { in PHP_FUNCTION()
1027 new_child = xmlAddPrevSibling(refp, child); in PHP_FUNCTION()
1038 new_child = child; in PHP_FUNCTION()
1044 child->next = new_child; in PHP_FUNCTION()
1045 new_child->prev = child; in PHP_FUNCTION()
1046 parentp->last = new_child; in PHP_FUNCTION()
1065 new_child = _php_dom_insert_fragment(parentp, parentp->last, NULL, child, intern, childobj); in PHP_FUNCTION()
1067 if (new_child == NULL) { in PHP_FUNCTION()
1068 new_child = xmlAddChild(parentp, child); in PHP_FUNCTION()
1072 if (NULL == new_child) { in PHP_FUNCTION()
1077 dom_reconcile_ns(parentp->doc, new_child); in PHP_FUNCTION()
1079 DOM_RET_OBJ(new_child, &ret, intern); in PHP_FUNCTION()
1230 xmlNodePtr child, nodep, new_child = NULL; in PHP_FUNCTION() local
1283 new_child = child; in PHP_FUNCTION()
1289 child->next = new_child; in PHP_FUNCTION()
1290 new_child->prev = child; in PHP_FUNCTION()
1291 nodep->last = new_child; in PHP_FUNCTION()
1307 new_child = _php_dom_insert_fragment(nodep, nodep->last, NULL, child, intern, childobj); in PHP_FUNCTION()
1310 if (new_child == NULL) { in PHP_FUNCTION()
1311 new_child = xmlAddChild(nodep, child); in PHP_FUNCTION()
1312 if (new_child == NULL) { in PHP_FUNCTION()
1318 dom_reconcile_ns(nodep->doc, new_child); in PHP_FUNCTION()
1320 DOM_RET_OBJ(new_child, &ret, intern); in PHP_FUNCTION()