gch 130 lib/lua/ldo.c for (up = L->openupval; up != NULL; up = up->gch.next) gch 35 lib/lua/lgc.c ((x)->gch.marked = cast_byte(((x)->gch.marked & maskmarks) | luaC_white(g))) gch 37 lib/lua/lgc.c #define white2gray(x) reset2bits((x)->gch.marked, WHITE0BIT, WHITE1BIT) gch 38 lib/lua/lgc.c #define black2gray(x) resetbit((x)->gch.marked, BLACKBIT) gch 72 lib/lua/lgc.c switch (o->gch.tt) { gch 119 lib/lua/lgc.c u = u->gch.next; gch 135 lib/lua/lgc.c p = &curr->gch.next; /* don't bother with them */ gch 138 lib/lua/lgc.c p = &curr->gch.next; gch 143 lib/lua/lgc.c *p = curr->gch.next; gch 146 lib/lua/lgc.c g->tmudata = curr->gch.next = curr; /* creates a circular list */ gch 148 lib/lua/lgc.c curr->gch.next = g->tmudata->gch.next; gch 149 lib/lua/lgc.c g->tmudata->gch.next = curr; gch 281 lib/lua/lgc.c switch (o->gch.tt) { gch 379 lib/lua/lgc.c switch (o->gch.tt) { gch 412 lib/lua/lgc.c if (curr->gch.tt == LUA_TTHREAD) /* sweep open upvalues of each thread */ gch 414 lib/lua/lgc.c if ((curr->gch.marked ^ WHITEBITS) & deadmask) { /* not dead? */ gch 415 lib/lua/lgc.c lua_assert(!isdead(g, curr) || testbit(curr->gch.marked, FIXEDBIT)); gch 417 lib/lua/lgc.c p = &curr->gch.next; gch 421 lib/lua/lgc.c *p = curr->gch.next; gch 423 lib/lua/lgc.c g->rootgc = curr->gch.next; /* adjust first */ gch 447 lib/lua/lgc.c GCObject *o = g->tmudata->gch.next; /* get first element */ gch 454 lib/lua/lgc.c g->tmudata->gch.next = udata->uv.next; gch 665 lib/lua/lgc.c lua_assert(ttype(&o->gch) != LUA_TTABLE); gch 687 lib/lua/lgc.c o->gch.next = g->rootgc; gch 689 lib/lua/lgc.c o->gch.marked = luaC_white(g); gch 690 lib/lua/lgc.c o->gch.tt = tt; gch 697 lib/lua/lgc.c o->gch.next = g->rootgc; /* link upvalue into `rootgc' list */ gch 65 lib/lua/lgc.h #define iswhite(x) test2bits((x)->gch.marked, WHITE0BIT, WHITE1BIT) gch 66 lib/lua/lgc.h #define isblack(x) testbit((x)->gch.marked, BLACKBIT) gch 70 lib/lua/lgc.h #define isdead(g,v) ((v)->gch.marked & otherwhite(g) & WHITEBITS) gch 72 lib/lua/lgc.h #define changewhite(x) ((x)->gch.marked ^= WHITEBITS) gch 73 lib/lua/lgc.h #define gray2black(x) l_setbit((x)->gch.marked, BLACKBIT) gch 109 lib/lua/lobject.h lua_assert(!iscollectable(obj) || (ttype(obj) == (obj)->value.gc->gch.tt)) gch 113 lib/lua/lobject.h ((ttype(obj) == (obj)->value.gc->gch.tt) && !isdead(g, (obj)->value.gc))) gch 137 lib/lua/lstate.h GCheader gch; gch 149 lib/lua/lstate.h #define rawgco2ts(o) check_exp((o)->gch.tt == LUA_TSTRING, &((o)->ts)) gch 151 lib/lua/lstate.h #define rawgco2u(o) check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u)) gch 153 lib/lua/lstate.h #define gco2cl(o) check_exp((o)->gch.tt == LUA_TFUNCTION, &((o)->cl)) gch 154 lib/lua/lstate.h #define gco2h(o) check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h)) gch 155 lib/lua/lstate.h #define gco2p(o) check_exp((o)->gch.tt == LUA_TPROTO, &((o)->p)) gch 156 lib/lua/lstate.h #define gco2uv(o) check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv)) gch 158 lib/lua/lstate.h check_exp((o) == NULL || (o)->gch.tt == LUA_TUPVAL, &((o)->uv)) gch 159 lib/lua/lstate.h #define gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th)) gch 35 lib/lua/lstring.c GCObject *next = p->gch.next; /* save next */ gch 39 lib/lua/lstring.c p->gch.next = newhash[h1]; /* chain it */ gch 84 lib/lua/lstring.c o = o->gch.next) {