Lines Matching defs:list
3 function parse() reads Config.in data into *sym list, then
75 void *dlist_pop(void *list)
77 struct double_list **pdlist = (struct double_list **)list, *dlist = *pdlist;
88 void dlist_add_nomalloc(struct double_list **list, struct double_list *new)
90 if (*list) {
91 new->next = *list;
92 new->prev = (*list)->prev;
93 (*list)->prev->next = new;
94 (*list)->prev = new;
95 } else *list = new->next = new->prev = new;
99 // Add an entry to the end of a doubly linked list
100 struct double_list *dlist_add(struct double_list **list, char *data)
105 dlist_add_nomalloc(list, new);
185 char *s, **list;
223 list = xmalloc(sizeof(char *)*count);
225 while (count) list[--count] = dlist_zap(from);
227 return list;
230 // Read Config.in (and includes) to populate global struct symbol *sym list.
310 // Stage 1: read data. Read Config.in to global 'struct symbol *sym' list,
422 // the list is definitely no longer empty, so discard placeholder.
450 // The list is definitely no longer empty, so discard placeholder.