Searched refs:gch (Results 1 – 7 of 7) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | lstate.h | 186 GCheader gch; /* common header */ member 197 #define gch(o) (&(o)->gch) macro 201 check_exp(novariant((o)->gch.tt) == LUA_TSTRING, &((o)->ts)) 203 #define rawgco2u(o) check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u)) 205 #define gco2lcl(o) check_exp((o)->gch.tt == LUA_TLCL, &((o)->cl.l)) 206 #define gco2ccl(o) check_exp((o)->gch.tt == LUA_TCCL, &((o)->cl.c)) 208 check_exp(novariant((o)->gch.tt) == LUA_TFUNCTION, &((o)->cl)) 209 #define gco2t(o) check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h)) 210 #define gco2p(o) check_exp((o)->gch.tt == LUA_TPROTO, &((o)->p)) 211 #define gco2uv(o) check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv)) [all …]
|
D | lgc.h | 99 #define iswhite(x) testbits((x)->gch.marked, WHITEBITS) 100 #define isblack(x) testbit((x)->gch.marked, BLACKBIT) 102 (!testbits((x)->gch.marked, WHITEBITS | bitmask(BLACKBIT))) 104 #define isold(x) testbit((x)->gch.marked, OLDBIT) 108 #define resetoldbit(o) resetbit((o)->gch.marked, OLDBIT) 112 #define isdead(g,v) isdeadm(otherwhite(g), (v)->gch.marked) 114 #define changewhite(x) ((x)->gch.marked ^= WHITEBITS) 115 #define gray2black(x) l_setbit((x)->gch.marked, BLACKBIT)
|
D | lgc.c | 60 (gch(x)->marked = cast_byte((gch(x)->marked & maskcolors) | luaC_white(g))) 62 #define white2gray(x) resetbits(gch(x)->marked, WHITEBITS) 63 #define black2gray(x) resetbit(gch(x)->marked, BLACKBIT) 66 #define isfinalized(x) testbit(gch(x)->marked, FINALIZEDBIT) 139 lua_assert(gch(o)->tt != LUA_TTABLE); in luaC_barrier_() 157 lua_assert(isblack(o) && !isdead(g, o) && gch(o)->tt == LUA_TTABLE); in luaC_barrierback_() 219 gch(o)->marked = luaC_white(g); in luaC_newobj() 220 gch(o)->tt = (lu_byte)tt; in luaC_newobj() 221 gch(o)->next = *list; in luaC_newobj() 246 switch (gch(o)->tt) { in reallymarkobject() [all …]
|
D | lstring.c | 78 GCObject *next = gch(p)->next; /* save next */ in luaS_resize() 80 gch(p)->next = tb->hash[h]; /* chain it */ in luaS_resize() 139 o = gch(o)->next) { in internshrstr()
|
D | lfunc.c | 102 gch(o)->next = g->allgc; /* link upvalue into 'allgc' list */ in luaF_close()
|
D | lobject.h | 177 #define righttt(obj) (ttype(obj) == gcvalue(obj)->gch.tt) 203 val_(io).gc=i_g; settt_(io, ctb(gch(i_g)->tt)); }
|
D | ldo.c | 146 for (up = L->openupval; up != NULL; up = up->gch.next) in correctstack()
|