Lines Matching refs:new_prop
144 struct property *new_prop, *old_prop; in merge_nodes() local
158 new_prop = new_node->proplist; in merge_nodes()
159 new_node->proplist = new_prop->next; in merge_nodes()
160 new_prop->next = NULL; in merge_nodes()
162 if (new_prop->deleted) { in merge_nodes()
163 delete_property_by_name(old_node, new_prop->name); in merge_nodes()
164 free(new_prop); in merge_nodes()
170 if (streq(old_prop->name, new_prop->name)) { in merge_nodes()
172 for_each_label_withdel(new_prop->labels, l) in merge_nodes()
175 old_prop->val = new_prop->val; in merge_nodes()
178 old_prop->srcpos = new_prop->srcpos; in merge_nodes()
179 free(new_prop); in merge_nodes()
180 new_prop = NULL; in merge_nodes()
186 if (new_prop) in merge_nodes()
187 add_property(old_node, new_prop); in merge_nodes()