Lines Matching refs: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()
361 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry() local
363 memset(new, 0, sizeof(*new)); in build_reserve_entry()
365 new->address = address; in build_reserve_entry()
366 new->size = size; in build_reserve_entry()
368 return new; in build_reserve_entry()
381 struct reserve_info *new) in add_reserve_entry() argument
385 new->next = NULL; in add_reserve_entry()
388 return new; in add_reserve_entry()
393 last->next = new; in add_reserve_entry()