Searched refs:obj2gco (Results 1 - 15 of 15) sorted by relevance
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
H A D | lgc.h | 127 #define luaC_barrier(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \ 128 luaC_barrier_(L,obj2gco(p),gcvalue(v)); } 130 #define luaC_barrierback(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \ 134 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) \ 135 luaC_barrier_(L,obj2gco(p),obj2gco(o)); } 138 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) luaC_barrierback_(L,p); } 141 { if (isblack(obj2gco( [all...] |
H A D | lfunc.c | 53 GCObject *o = obj2gco(p); 55 lua_assert(!isold(o) || isold(obj2gco(L))); 93 GCObject *o = obj2gco(uv);
|
H A D | lgc.c | 78 #define markobject(g,t) { if ((t) && iswhite(obj2gco(t))) \ 79 reallymarkobject(g, obj2gco(t)); } 100 #define linktable(h,p) ((h)->gclist = *(p), *(p) = obj2gco(h)) 174 lua_assert(isblack(obj2gco(p))); 179 black2gray(obj2gco(p)); /* make prototype gray (again) */ 181 g->grayagain = obj2gco(p); 191 GCObject *o = obj2gco(uv); 216 GCObject *o = obj2gco(raw + offset); 327 if (isgray(obj2gco(uv))) 442 black2gray(obj2gco( [all...] |
H A D | lstate.h | 215 #define obj2gco(v) (cast(GCObject *, (v))) macro
|
H A D | ltable.c | 437 luaC_barrierback(L, obj2gco(t), key);
|
H A D | lvm.c | 156 luaC_barrierback(L, obj2gco(h), val); 892 luaC_barrierback(L, obj2gco(h), val);
|
H A D | lapi.c | 1194 if (owner) *owner = obj2gco(f); 1203 if (owner) *owner = obj2gco(f->upvals[n - 1]);
|
/freebsd-12-stable/contrib/lua/src/ |
H A D | lgc.h | 120 luaC_barrier_(L,obj2gco(p),gcvalue(v)) : cast_void(0)) 128 luaC_barrier_(L,obj2gco(p),obj2gco(o)) : cast_void(0))
|
H A D | lobject.h | 227 val_(io).gc = obj2gco(x_); settt_(io, ctb(x_->tt)); \ 232 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_TUSERDATA)); \ 237 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_TTHREAD)); \ 242 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_TLCL)); \ 247 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_TCCL)); \ 252 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_TTABLE)); \
|
H A D | lstate.h | 238 #define obj2gco(v) \ macro
|
H A D | ltm.c | 50 luaC_fix(L, obj2gco(G(L)->tmname[i])); /* never collect these names */
|
H A D | llex.c | 73 luaC_fix(L, obj2gco(e)); /* never collect this name */ 76 luaC_fix(L, obj2gco(ts)); /* reserved words are never collected */
|
H A D | lstring.c | 122 luaC_fix(L, obj2gco(g->memerrmsg)); /* it should never be collected */
|
H A D | lstate.c | 266 g->allgc = obj2gco(L1);
|
H A D | lgc.c | 86 #define markobject(g,t) { if (iswhite(t)) reallymarkobject(g, obj2gco(t)); } 113 #define linkgclist(o,p) ((o)->gclist = (p), (p) = obj2gco(o))
|
Completed in 185 milliseconds