Lines Matching refs:new_child

993 	xmlNodePtr child, new_child, parentp, refp = NULL;  in PHP_METHOD()  local
1010 new_child = NULL; in PHP_METHOD()
1040 new_child = child; in PHP_METHOD()
1041 new_child->parent = refp->parent; in PHP_METHOD()
1042 new_child->next = refp; in PHP_METHOD()
1043 new_child->prev = refp->prev; in PHP_METHOD()
1044 refp->prev = new_child; in PHP_METHOD()
1045 if (new_child->prev != NULL) { in PHP_METHOD()
1046 new_child->prev->next = new_child; in PHP_METHOD()
1048 if (new_child->parent != NULL) { in PHP_METHOD()
1049 if (new_child->parent->children == refp) { in PHP_METHOD()
1050 new_child->parent->children = new_child; in PHP_METHOD()
1070 new_child = xmlAddPrevSibling(refp, child); in PHP_METHOD()
1071 if (UNEXPECTED(NULL == new_child)) { in PHP_METHOD()
1076 new_child = _php_dom_insert_fragment(parentp, refp->prev, refp, child, intern, childobj); in PHP_METHOD()
1077 dom_reconcile_ns_list(parentp->doc, new_child, last); in PHP_METHOD()
1079 new_child = xmlAddPrevSibling(refp, child); in PHP_METHOD()
1080 if (UNEXPECTED(NULL == new_child)) { in PHP_METHOD()
1083 dom_reconcile_ns(parentp->doc, new_child); in PHP_METHOD()
1091 new_child = child; in PHP_METHOD()
1097 child->next = new_child; in PHP_METHOD()
1098 new_child->prev = child; in PHP_METHOD()
1099 parentp->last = new_child; in PHP_METHOD()
1117 new_child = xmlAddChild(parentp, child); in PHP_METHOD()
1118 if (UNEXPECTED(NULL == new_child)) { in PHP_METHOD()
1123 new_child = _php_dom_insert_fragment(parentp, parentp->last, NULL, child, intern, childobj); in PHP_METHOD()
1124 dom_reconcile_ns_list(parentp->doc, new_child, last); in PHP_METHOD()
1126 new_child = xmlAddChild(parentp, child); in PHP_METHOD()
1127 if (UNEXPECTED(NULL == new_child)) { in PHP_METHOD()
1130 dom_reconcile_ns(parentp->doc, new_child); in PHP_METHOD()
1134 DOM_RET_OBJ(new_child, &ret, intern); in PHP_METHOD()
1272 xmlNodePtr child, nodep, new_child = NULL; in PHP_METHOD() local
1306 new_child = child; in PHP_METHOD()
1312 child->next = new_child; in PHP_METHOD()
1313 new_child->prev = child; in PHP_METHOD()
1314 nodep->last = new_child; in PHP_METHOD()
1329 new_child = xmlAddChild(nodep, child); in PHP_METHOD()
1330 if (UNEXPECTED(new_child == NULL)) { in PHP_METHOD()
1335 new_child = _php_dom_insert_fragment(nodep, nodep->last, NULL, child, intern, childobj); in PHP_METHOD()
1336 dom_reconcile_ns_list(nodep->doc, new_child, last); in PHP_METHOD()
1338 new_child = xmlAddChild(nodep, child); in PHP_METHOD()
1339 if (UNEXPECTED(new_child == NULL)) { in PHP_METHOD()
1342 dom_reconcile_ns(nodep->doc, new_child); in PHP_METHOD()
1347 DOM_RET_OBJ(new_child, &ret, intern); in PHP_METHOD()