Lines Matching refs:list
28 * TODO list:
577 struct textbuf *tmp, *list = *buf_p;
579 unsigned int alloc_len = text_len + 1 + sizeof(*list);
589 /* add to end of list */
590 if (!list) {
591 list = tmp;
594 tmp->prev = list->prev;
596 list->prev = tmp;
598 tmp->next = list;
600 *buf_p = list;
605 struct textbuf *tmp, *list = *buf_p;
607 while (list) {
608 tmp = list;
610 list = NULL;
614 list = tmp->next;
622 *buf_p = list;
996 struct expression *entry, **list;
1003 list = malloc(sizeof(entry) * elem);
1004 if (!list)
1015 /* add entry to list[], in sorted order */
1017 list[0] = entry;
1021 if (sort_array_cmp(entry, list[i]) <= 0)
1024 /* If inserting into the middle of list[]
1032 memmove(&list[i + 1], &list[i],
1034 list[i] = entry;
1043 *THIS_ADDRESS(entry) = list[i++];
1046 free(list);