Lines Matching refs:newchild
454 …ert_helper(xmlNodePtr insertion_point, xmlNodePtr parentNode, xmlNodePtr newchild, xmlNodePtr last) in php_dom_pre_insert_helper() argument
460 newchild->prev = parentNode->last; in php_dom_pre_insert_helper()
461 parentNode->last->next = newchild; in php_dom_pre_insert_helper()
464 parentNode->children = newchild; in php_dom_pre_insert_helper()
471 insertion_point->prev->next = newchild; in php_dom_pre_insert_helper()
472 newchild->prev = insertion_point->prev; in php_dom_pre_insert_helper()
476 parentNode->children = newchild; in php_dom_pre_insert_helper()
507 xmlNodePtr newchild = node->children; in dom_insert_node_list_unchecked() local
510 if (newchild) { in dom_insert_node_list_unchecked()
512 php_dom_pre_insert_helper(insertion_point, parent, newchild, last); in dom_insert_node_list_unchecked()
515 dom_reconcile_ns_list(parent->doc, newchild, last); in dom_insert_node_list_unchecked()
517 if (parent->doc && newchild->type == XML_DTD_NODE) { in dom_insert_node_list_unchecked()
518 parent->doc->intSubset = (xmlDtdPtr) newchild; in dom_insert_node_list_unchecked()
519 newchild->parent = (xmlNodePtr) parent->doc; in dom_insert_node_list_unchecked()