Lines Matching refs:label
27 void add_label(struct label **labels, char *label) in add_label() argument
29 struct label *new; in add_label()
33 if (streq(new->label, label)) in add_label()
37 new->label = label; in add_label()
107 struct label *l; in merge_nodes()
111 add_label(&old_node->labels, l->label); in merge_nodes()
126 add_label(&old_prop->labels, l->label); in merge_nodes()
286 struct property *get_property_by_label(struct node *tree, const char *label, in get_property_by_label() argument
295 struct label *l; in get_property_by_label()
298 if (streq(l->label, label)) in get_property_by_label()
303 prop = get_property_by_label(c, label, node); in get_property_by_label()
312 struct marker *get_marker_label(struct node *tree, const char *label, in get_marker_label() argument
325 if (streq(m->ref, label)) in get_marker_label()
330 m = get_marker_label(c, label, node, prop); in get_marker_label()
374 struct node *get_node_by_label(struct node *tree, const char *label) in get_node_by_label() argument
377 struct label *l; in get_node_by_label()
379 assert(label && (strlen(label) > 0)); in get_node_by_label()
382 if (streq(l->label, label)) in get_node_by_label()
386 node = get_node_by_label(child, label); in get_node_by_label()