Lines Matching full:new

29 	struct label *new;  in add_label()  local
32 for_each_label_withdel(*labels, new) in add_label()
33 if (streq(new->label, label)) { in add_label()
34 new->deleted = 0; in add_label()
38 new = xmalloc(sizeof(*new)); in add_label()
39 memset(new, 0, sizeof(*new)); in add_label()
40 new->label = label; in add_label()
41 new->next = *labels; in add_label()
42 *labels = new; in add_label()
55 struct property *new = xmalloc(sizeof(*new)); in build_property() local
57 memset(new, 0, sizeof(*new)); in build_property()
59 new->name = name; in build_property()
60 new->val = val; in build_property()
62 return new; in build_property()
67 struct property *new = xmalloc(sizeof(*new)); in build_property_delete() local
69 memset(new, 0, sizeof(*new)); in build_property_delete()
71 new->name = name; in build_property_delete()
72 new->deleted = 1; in build_property_delete()
74 return new; in build_property_delete()
102 struct node *new = xmalloc(sizeof(*new)); in build_node() local
105 memset(new, 0, sizeof(*new)); in build_node()
107 new->proplist = reverse_properties(proplist); in build_node()
108 new->children = children; in build_node()
110 for_each_child(new, child) { in build_node()
111 child->parent = new; in build_node()
114 return new; in build_node()
119 struct node *new = xmalloc(sizeof(*new)); in build_node_delete() local
121 memset(new, 0, sizeof(*new)); in build_node_delete()
123 new->deleted = 1; in build_node_delete()
125 return new; in build_node_delete()
145 /* Add new node labels to old node */ in merge_nodes()
149 /* Move properties from the new node to the old node. If there in merge_nodes()
150 * is a collision, replace the old value with the new */ in merge_nodes()
163 /* Look for a collision, set new value if there is */ in merge_nodes()
166 /* Add new labels to old property */ in merge_nodes()
212 /* The new node contents are now merged into the old node. Free in merge_nodes()
213 * the new node. */ in merge_nodes()
340 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry() local
342 memset(new, 0, sizeof(*new)); in build_reserve_entry()
344 new->address = address; in build_reserve_entry()
345 new->size = size; in build_reserve_entry()
347 return new; in build_reserve_entry()
360 struct reserve_info *new) in add_reserve_entry() argument
364 new->next = NULL; in add_reserve_entry()
367 return new; in add_reserve_entry()
372 last->next = new; in add_reserve_entry()
933 struct node *wn, *nwn; /* local fixup node, walk node, new */ in add_local_fixup_entry()