Lines Matching refs:list
45 #define list_for_each(list, var) \ argument
46 for(var = (list)->head; var != NULL; var = var->next)
59 typedef struct list list; typedef
87 struct list { struct
125 list violations;
168 static list input_file_list = list_init(input_file_list_freefn);
185 static list line_order_list = list_init(line_order_list_freefn);
190 static list nallow_list = list_init(line_order_list_freefn);
225 void list_append(list *list, list_element *e) { in list_append() argument
229 if (list->head == NULL ) { in list_append()
230 list->head = list->tail = e; in list_append()
234 list->tail->next = e; in list_append()
235 list->tail = e; in list_append()
243 static void list_free(list *list) { in list_free() argument
246 list_element *cursor = list->head; in list_free()
251 if (list->freefn) { in list_free()
252 list->freefn(tmp); in list_free()
974 list *list_to_addto; in rule_add()