Home
last modified time | relevance | path

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

/PHP-8.0/ext/dom/
H A Dparentnode.c240 xmlNodePtr newchild, prevsib; in dom_parent_node_append() local
250 if (newchild) { in dom_parent_node_append()
252 prevsib->next = newchild; in dom_parent_node_append()
259 newchild->prev = prevsib; in dom_parent_node_append()
288 if (newchild) { in dom_parent_node_prepend()
323 if (newchild) { in dom_parent_node_after()
325 prevsib->next = newchild; in dom_parent_node_after()
327 newchild->prev = prevsib; in dom_parent_node_after()
352 if (newchild) { in dom_parent_node_before()
356 prevsib->next = newchild; in dom_parent_node_before()
[all …]
H A Dnode.c791 xmlNodePtr newchild, node; in _php_dom_insert_fragment() local
793 newchild = fragment->children; in _php_dom_insert_fragment()
795 if (newchild) { in _php_dom_insert_fragment()
797 nodep->children = newchild; in _php_dom_insert_fragment()
799 prevsib->next = newchild; in _php_dom_insert_fragment()
801 newchild->prev = prevsib; in _php_dom_insert_fragment()
809 node = newchild; in _php_dom_insert_fragment()
830 return newchild; in _php_dom_insert_fragment()
1031 (newchild->parent != NULL && dom_node_is_read_only(newchild->parent) == SUCCESS)) { in PHP_METHOD()
1036 if (newchild->doc != nodep->doc && newchild->doc != NULL) { in PHP_METHOD()
[all …]
/PHP-8.0/ext/dom/tests/
H A Ddom001.phpt73 $newchild = $rootnode->appendChild($myelement);
74 print_node($newchild);

Completed in 21 milliseconds