Lines Matching refs:new_child

1002 	xmlNodePtr child, new_child, parentp, refp;  in PHP_FUNCTION()  local
1018 new_child = NULL; in PHP_FUNCTION()
1064 new_child = child; in PHP_FUNCTION()
1065 new_child->parent = refp->parent; in PHP_FUNCTION()
1066 new_child->next = refp; in PHP_FUNCTION()
1067 new_child->prev = refp->prev; in PHP_FUNCTION()
1068 refp->prev = new_child; in PHP_FUNCTION()
1069 if (new_child->prev != NULL) { in PHP_FUNCTION()
1070 new_child->prev->next = new_child; in PHP_FUNCTION()
1072 if (new_child->parent != NULL) { in PHP_FUNCTION()
1073 if (new_child->parent->children == refp) { in PHP_FUNCTION()
1074 new_child->parent->children = new_child; in PHP_FUNCTION()
1095new_child = _php_dom_insert_fragment(parentp, refp->prev, refp, child, intern, childobj TSRMLS_CC); in PHP_FUNCTION()
1098 if (new_child == NULL) { in PHP_FUNCTION()
1099 new_child = xmlAddPrevSibling(refp, child); in PHP_FUNCTION()
1110 new_child = child; in PHP_FUNCTION()
1116 child->next = new_child; in PHP_FUNCTION()
1117 new_child->prev = child; in PHP_FUNCTION()
1118 parentp->last = new_child; in PHP_FUNCTION()
1137new_child = _php_dom_insert_fragment(parentp, parentp->last, NULL, child, intern, childobj TSRMLS_… in PHP_FUNCTION()
1139 if (new_child == NULL) { in PHP_FUNCTION()
1140 new_child = xmlAddChild(parentp, child); in PHP_FUNCTION()
1144 if (NULL == new_child) { in PHP_FUNCTION()
1149 dom_reconcile_ns(parentp->doc, new_child); in PHP_FUNCTION()
1151 DOM_RET_OBJ(new_child, &ret, intern); in PHP_FUNCTION()
1302 xmlNodePtr child, nodep, new_child = NULL; in PHP_FUNCTION() local
1355 new_child = child; in PHP_FUNCTION()
1361 child->next = new_child; in PHP_FUNCTION()
1362 new_child->prev = child; in PHP_FUNCTION()
1363 nodep->last = new_child; in PHP_FUNCTION()
1379 new_child = _php_dom_insert_fragment(nodep, nodep->last, NULL, child, intern, childobj TSRMLS_CC); in PHP_FUNCTION()
1382 if (new_child == NULL) { in PHP_FUNCTION()
1383 new_child = xmlAddChild(nodep, child); in PHP_FUNCTION()
1384 if (new_child == NULL) { in PHP_FUNCTION()
1390 dom_reconcile_ns(nodep->doc, new_child); in PHP_FUNCTION()
1392 DOM_RET_OBJ(new_child, &ret, intern); in PHP_FUNCTION()