Home
last modified time | relevance | path

Searched refs:newchild (Results 1 – 3 of 3) sorted by relevance

/php-src/ext/dom/parentnode/
H A Dtree.c460 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()
515 dom_reconcile_ns_list(parent->doc, newchild, last); in dom_insert_node_list_unchecked()
518 parent->doc->intSubset = (xmlDtdPtr) newchild; in dom_insert_node_list_unchecked()
[all …]
/php-src/ext/dom/
H A Dnode.c745 xmlNodePtr newchild, node; in dom_insert_fragment() local
749 if (newchild) { in dom_insert_fragment()
751 nodep->children = newchild; in dom_insert_fragment()
753 prevsib->next = newchild; in dom_insert_fragment()
755 newchild->prev = prevsib; in dom_insert_fragment()
763 node = newchild; in dom_insert_fragment()
784 return newchild; in dom_insert_fragment()
1108 if (newchild->doc != nodep->doc && newchild->doc != NULL) { in dom_node_replace_child()
1127 (newchild->parent != NULL && dom_node_is_read_only(newchild->parent) == SUCCESS)) { in dom_node_replace_child()
1151 newchild = dom_insert_fragment(nodep, prevsib, nextsib, newchild, intern); in dom_node_replace_child()
[all …]
/php-src/ext/dom/tests/
H A Ddom001.phpt73 $newchild = $rootnode->appendChild($myelement);
74 print_node($newchild);

Completed in 14 milliseconds