Home
last modified time | relevance | path

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

/redis-3.2.3/deps/lua/src/
H A Dlgc.h86 #define luaC_barrier(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \
87 luaC_barrierf(L,obj2gco(p),gcvalue(v)); }
89 #define luaC_barriert(L,t,v) { if (valiswhite(v) && isblack(obj2gco(t))) \
93 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) \
94 luaC_barrierf(L,obj2gco(p),obj2gco(o)); }
97 { if (iswhite(obj2gco(o)) && isblack(obj2gco(t))) luaC_barrierback(L,t); }
H A Dlfunc.c25 luaC_link(L, obj2gco(c), LUA_TFUNCTION); in luaF_newCclosure()
35 luaC_link(L, obj2gco(c), LUA_TFUNCTION); in luaF_newLclosure()
46 luaC_link(L, obj2gco(uv), LUA_TUPVAL); in luaF_newupval()
61 if (isdead(g, obj2gco(p))) /* is it dead? */ in luaF_findupval()
62 changewhite(obj2gco(p)); /* ressurect it */ in luaF_findupval()
72 *pp = obj2gco(uv); in luaF_findupval()
100 GCObject *o = obj2gco(uv); in luaF_close()
117 luaC_link(L, obj2gco(f), LUA_TPROTO); in luaF_newproto()
H A Dlstate.c109 lua_assert(g->rootgc == obj2gco(L)); in close_state()
121 luaC_link(L, obj2gco(L1), LUA_TTHREAD); in luaE_newthread()
129 lua_assert(iswhite(obj2gco(L1))); in luaE_newthread()
170 g->rootgc = obj2gco(L); in lua_newstate()
H A Dlstring.c67 tb->hash[h] = obj2gco(ts); in newlstr()
108 G(L)->mainthread->next = obj2gco(u); in luaS_newudata()
H A Dlgc.c55 #define markobject(g,t) { if (iswhite(obj2gco(t))) \
56 reallymarkobject(g, obj2gco(t)); }
174 g->weak = obj2gco(h); /* ... so put in the appropriate list */ in traversetable()
519 if (isgray(obj2gco(uv))) in remarkupvals()
535 lua_assert(!iswhite(obj2gco(g->mainthread))); in atomic()
676 GCObject *o = obj2gco(t); in luaC_barrierback()
696 GCObject *o = obj2gco(uv); in luaC_linkupval()
H A Dlstate.h162 #define obj2gco(v) (cast(GCObject *, (v))) macro
H A Dltable.c360 luaC_link(L, obj2gco(t), LUA_TTABLE); in luaH_new()
H A Dldo.c238 lua_assert(iswhite(obj2gco(htab))); in adjust_varargs()
H A Dlapi.c497 lua_assert(iswhite(obj2gco(cl))); in lua_pushcclosure()