Searched refs:obj2gco (Results 1 – 11 of 11) sorted by relevance
/external/lua/src/ |
D | lgc.h | 167 luaC_barrier_(L,obj2gco(p),gcvalue(v)) : cast_void(0)) 175 luaC_barrier_(L,obj2gco(p),obj2gco(o)) : cast_void(0))
|
D | lobject.h | 246 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VTHREAD)); \ 349 val_(io).gc = obj2gco(x_); settt_(io, ctb(x_->tt)); \ 422 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VUSERDATA)); \ 587 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VLCL)); \ 597 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VCCL)); \ 661 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VTABLE)); \
|
D | lgc.c | 99 #define markobject(g,t) { if (iswhite(t)) reallymarkobject(g, obj2gco(t)); } 146 #define linkgclist(o,p) linkgclist_(obj2gco(o), &(o)->gclist, &(p)) 159 #define linkobjgclist(o,p) linkgclist_(obj2gco(o), getgclist(o), &(p)) 513 genlink(g, obj2gco(h)); /* check whether collector still needs to see it */ in traverseephemeron() 533 genlink(g, obj2gco(h)); in traversestrongtable() 563 genlink(g, obj2gco(u)); in traverseudata() 1503 deletelist(L, g->allgc, obj2gco(g->mainthread)); in luaC_freeallobjects()
|
D | llex.c | 73 luaC_fix(L, obj2gco(e)); /* never collect this name */ in luaX_init() 76 luaC_fix(L, obj2gco(ts)); /* reserved words are never collected */ in luaX_init()
|
D | lstate.c | 333 g->allgc = obj2gco(L1); in lua_newthread() 397 g->allgc = obj2gco(L); /* by now, only object is the main thread */ in lua_newstate()
|
D | lstate.h | 381 #define obj2gco(v) check_exp((v)->tt >= LUA_TSTRING, &(cast_u(v)->gc)) macro
|
D | lstring.c | 144 luaC_fix(L, obj2gco(g->memerrmsg)); /* it should never be collected */ in luaS_init()
|
D | ltm.c | 51 luaC_fix(L, obj2gco(G(L)->tmname[i])); /* never collect these names */ in luaT_init()
|
D | lapi.c | 871 luaC_barrierback(L, obj2gco(t), s2v(L->top - 1)); in aux_rawset() 895 luaC_barrierback(L, obj2gco(t), s2v(L->top - 1)); in lua_rawseti() 1333 if (owner) *owner = obj2gco(f); in aux_upvalue() 1343 if (owner) *owner = obj2gco(f->upvals[n - 1]); in aux_upvalue()
|
D | ltable.c | 669 luaC_barrierback(L, obj2gco(t), key); in luaH_newkey()
|
D | lvm.c | 345 luaC_barrierback(L, obj2gco(h), val); in luaV_finishset() 1778 luaC_barrierback(L, obj2gco(h), val); in luaV_execute()
|