list 122 lib/lua/lcode.c static int need_value (FuncState *fs, int list) { list 123 lib/lua/lcode.c for (; list != NO_JUMP; list = getjump(fs, list)) { list 124 lib/lua/lcode.c Instruction i = *getjumpcontrol(fs, list); list 144 lib/lua/lcode.c static void removevalues (FuncState *fs, int list) { list 145 lib/lua/lcode.c for (; list != NO_JUMP; list = getjump(fs, list)) list 146 lib/lua/lcode.c patchtestreg(fs, list, NO_REG); list 150 lib/lua/lcode.c static void patchlistaux (FuncState *fs, int list, int vtarget, int reg, list 152 lib/lua/lcode.c while (list != NO_JUMP) { list 153 lib/lua/lcode.c int next = getjump(fs, list); list 154 lib/lua/lcode.c if (patchtestreg(fs, list, reg)) list 155 lib/lua/lcode.c fixjump(fs, list, vtarget); list 157 lib/lua/lcode.c fixjump(fs, list, dtarget); /* jump to default target */ list 158 lib/lua/lcode.c list = next; list 169 lib/lua/lcode.c LUAI_FUNC void luaK_patchlist (FuncState *fs, int list, int target) { list 171 lib/lua/lcode.c luaK_patchtohere(fs, list); list 174 lib/lua/lcode.c patchlistaux(fs, list, target, NO_REG, target); list 179 lib/lua/lcode.c LUAI_FUNC void luaK_patchtohere (FuncState *fs, int list) { list 181 lib/lua/lcode.c luaK_concat(fs, &fs->jpc, list); list 190 lib/lua/lcode.c int list = *l1; list 192 lib/lua/lcode.c while ((next = getjump(fs, list)) != NO_JUMP) /* find last element */ list 193 lib/lua/lcode.c list = next; list 194 lib/lua/lcode.c fixjump(fs, list, l2); list 66 lib/lua/lcode.h LUAI_FUNC void luaK_patchlist (FuncState *fs, int list, int target); list 67 lib/lua/lcode.h LUAI_FUNC void luaK_patchtohere (FuncState *fs, int list); list 168 modules/gui_fselect.c static void free_list(flist *list) list 170 modules/gui_fselect.c fitem *ptr = list->head; list 179 modules/gui_fselect.c list->head = list->tail = 0; list 180 modules/gui_fselect.c list->count = 0; list 183 modules/gui_fselect.c static void add_item(flist *list, const char *name, list 190 modules/gui_fselect.c p->n = list->count; list 200 modules/gui_fselect.c p->prev = list->tail; list 201 modules/gui_fselect.c if (list->tail) list 202 modules/gui_fselect.c list->tail->next = p; list 203 modules/gui_fselect.c list->tail = p; list 204 modules/gui_fselect.c if (list->head == 0) list 205 modules/gui_fselect.c list->head = p; list 207 modules/gui_fselect.c list->count++; list 251 modules/gui_fselect.c static void sort_list(flist *list) list 253 modules/gui_fselect.c if (list->count) list 256 modules/gui_fselect.c fitem **sbuf = malloc(list->count*sizeof(fitem*)); list 259 modules/gui_fselect.c fitem *ptr = list->head; list 268 modules/gui_fselect.c qsort(sbuf, list->count, sizeof(fitem*), fselect_sort_nothumb); list 270 modules/gui_fselect.c list->head = sbuf[0]; list 271 modules/gui_fselect.c list->tail = sbuf[list->count-1]; list 272 modules/gui_fselect.c for (i=0; i<list->count-1; i++) list 278 modules/gui_fselect.c list->head->prev = 0; list 279 modules/gui_fselect.c list->tail->next = 0; list 280 modules/gui_fselect.c list->tail->n = list->count - 1;