Lines Matching refs:newchild
240 xmlNodePtr newchild, prevsib; in dom_parent_node_append() local
247 newchild = fragment->children; in dom_parent_node_append()
250 if (newchild) { in dom_parent_node_append()
252 prevsib->next = newchild; in dom_parent_node_append()
254 parentNode->children = newchild; in dom_parent_node_append()
259 newchild->prev = prevsib; in dom_parent_node_append()
263 dom_reconcile_ns(parentNode->doc, newchild); in dom_parent_node_append()
278 xmlNodePtr newchild, nextsib; in dom_parent_node_prepend() local
285 newchild = fragment->children; in dom_parent_node_prepend()
288 if (newchild) { in dom_parent_node_prepend()
289 parentNode->children = newchild; in dom_parent_node_prepend()
295 dom_reconcile_ns(parentNode->doc, newchild); in dom_parent_node_prepend()
304 xmlNodePtr newchild, parentNode; in dom_parent_node_after() local
321 newchild = fragment->children; in dom_parent_node_after()
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()
330 dom_reconcile_ns(prevsib->doc, newchild); in dom_parent_node_after()
339 xmlNodePtr newchild, prevsib, parentNode; in dom_parent_node_before() local
350 newchild = fragment->children; in dom_parent_node_before()
352 if (newchild) { in dom_parent_node_before()
354 parentNode->children = newchild; in dom_parent_node_before()
356 prevsib->next = newchild; in dom_parent_node_before()
361 newchild->prev = prevsib; in dom_parent_node_before()
365 dom_reconcile_ns(nextsib->doc, newchild); in dom_parent_node_before()