Home
last modified time | relevance | path

Searched refs:obj2gco (Results 1 – 11 of 11) sorted by relevance

/external/lua/src/
Dlgc.h167 luaC_barrier_(L,obj2gco(p),gcvalue(v)) : cast_void(0))
175 luaC_barrier_(L,obj2gco(p),obj2gco(o)) : cast_void(0))
Dlobject.h246 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)); \
Dlgc.c99 #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()
Dllex.c73 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()
Dlstate.c333 g->allgc = obj2gco(L1); in lua_newthread()
397 g->allgc = obj2gco(L); /* by now, only object is the main thread */ in lua_newstate()
Dlstate.h381 #define obj2gco(v) check_exp((v)->tt >= LUA_TSTRING, &(cast_u(v)->gc)) macro
Dlstring.c144 luaC_fix(L, obj2gco(g->memerrmsg)); /* it should never be collected */ in luaS_init()
Dltm.c51 luaC_fix(L, obj2gco(G(L)->tmname[i])); /* never collect these names */ in luaT_init()
Dlapi.c871 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()
Dltable.c669 luaC_barrierback(L, obj2gco(t), key); in luaH_newkey()
Dlvm.c345 luaC_barrierback(L, obj2gco(h), val); in luaV_finishset()
1778 luaC_barrierback(L, obj2gco(h), val); in luaV_execute()