Lines Matching refs:new_node
142 struct node *merge_nodes(struct node *old_node, struct node *new_node) in merge_nodes() argument
151 for_each_label_withdel(new_node->labels, l) in merge_nodes()
156 while (new_node->proplist) { in merge_nodes()
158 new_prop = new_node->proplist; in merge_nodes()
159 new_node->proplist = new_prop->next; in merge_nodes()
192 while (new_node->children) { in merge_nodes()
194 new_child = new_node->children; in merge_nodes()
195 new_node->children = new_child->next_sibling; in merge_nodes()
219 old_node->srcpos = srcpos_extend(old_node->srcpos, new_node->srcpos); in merge_nodes()
223 free(new_node); in merge_nodes()
228 struct node * add_orphan_node(struct node *dt, struct node *new_node, char *ref) in add_orphan_node() argument
250 name_node(new_node, "__overlay__"); in add_orphan_node()
251 node = build_node(p, new_node, NULL); in add_orphan_node()