Lines Matching refs:list
48 #define list_for_each(list, var) \ argument
49 for(var = (list)->head; var != NULL; var = var->next) /*NOLINT*/
62 typedef struct list list; typedef
91 struct list { struct
129 list violations;
181 static list input_file_list = list_init(input_file_list_freefn);
183 static list coredomain_violation_list = list_init(coredomain_violation_list_freefn);
201 static list line_order_list = list_init(line_order_list_freefn);
206 static list nallow_list = list_init(line_order_list_freefn);
246 void list_append(list *list, list_element *e) { in list_append() argument
250 if (list->head == NULL ) { in list_append()
251 list->head = list->tail = e; in list_append()
255 list->tail->next = e; in list_append()
256 list->tail = e; in list_append()
264 static void list_free(list *list) { in list_free() argument
267 list_element *cursor = list->head; in list_free()
272 if (list->freefn) { in list_free()
273 list->freefn(tmp); in list_free()
1110 list *list_to_addto; in rule_add()