Lines Matching refs:insertion_point
459 static void php_dom_pre_insert_helper(xmlNodePtr insertion_point, xmlNodePtr parentNode, xmlNodePtr… in php_dom_pre_insert_helper() argument
461 if (!insertion_point) { in php_dom_pre_insert_helper()
474 last->next = insertion_point; in php_dom_pre_insert_helper()
475 if (insertion_point->prev) { in php_dom_pre_insert_helper()
476 insertion_point->prev->next = newchild; in php_dom_pre_insert_helper()
477 newchild->prev = insertion_point->prev; in php_dom_pre_insert_helper()
479 insertion_point->prev = last; in php_dom_pre_insert_helper()
480 if (parentNode->children == insertion_point) { in php_dom_pre_insert_helper()
505 …ecked(php_libxml_ref_obj *document, xmlNodePtr node, xmlNodePtr parent, xmlNodePtr insertion_point) in dom_insert_node_list_unchecked() argument
517 php_dom_pre_insert_helper(insertion_point, parent, newchild, last); in dom_insert_node_list_unchecked()
537 if (insertion_point == node) { in dom_insert_node_list_unchecked()
538 insertion_point = node->next; in dom_insert_node_list_unchecked()
543 php_dom_pre_insert_helper(insertion_point, parent, node, node); in dom_insert_node_list_unchecked()
557 …nsert(php_libxml_ref_obj *document, xmlNodePtr node, xmlNodePtr parent, xmlNodePtr insertion_point) in php_dom_pre_insert() argument
564 if (dom_is_pre_insert_valid_without_step_1(document, parent, node, insertion_point, parent->doc)) { in php_dom_pre_insert()
565 dom_insert_node_list_unchecked(document, node, parent, insertion_point); in php_dom_pre_insert()