Home | History | Annotate | Download | only in libcutils

Lines Matching refs:list

117 struct list {
119 struct list *next;
123 struct list *const *ra = a;
124 struct list *const *rb = b;
130 struct list **out) {
131 struct list *list = NULL;
132 struct list *f;
150 struct list *node = malloc(sizeof(struct list));
153 struct list *next;
154 for (f = list; f != NULL; f = next) {
168 node->next = list;
169 list = node;
174 for (f = list; f != NULL; f = f->next) {
179 struct list *res;
183 struct list *next;
184 for (f = list; f != NULL; f = f->next) {
208 res = malloc(sizeof(struct list));
211 struct list *next;
212 for (f = list; f != NULL; f = f->next) {
237 struct list *next;
238 for (f = list; f != NULL; f = next) {
249 struct list *next;
250 for (f = list; f != NULL; f = next) {
267 struct list *out = NULL;
268 struct list *r;
269 struct list **list;
285 list = malloc(count * sizeof(struct list *));
286 if (list == NULL) {
287 struct list *next;
298 list[count++] = r;
301 qsort(list, count, sizeof(struct list *), cmp);
305 struct list *next;
311 free(list);
316 int n = strlen(list[i]->name);
318 strcpy(buf + retlen, list[i]->name);
322 free(list);
324 struct list *next;