Searched refs:gcvalue (Results 1 – 14 of 14) sorted by relevance
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lgc.h | 117 #define valiswhite(x) (iscollectable(x) && iswhite(gcvalue(x))) 128 luaC_barrier_(L,obj2gco(p),gcvalue(v)); }
|
H A D | lapi.c | 776 luaC_barrierback(L, gcvalue(t), L->top-1); in lua_rawset() 789 luaC_barrierback(L, gcvalue(t), L->top-1); in lua_rawseti() 804 luaC_barrierback(L, gcvalue(t), L->top - 1); in lua_rawsetp() 826 luaC_objbarrierback(L, gcvalue(obj), mt); in lua_setmetatable() 827 luaC_checkfinalizer(L, gcvalue(obj), mt); in lua_setmetatable() 835 luaC_checkfinalizer(L, gcvalue(obj), mt); in lua_setmetatable() 861 luaC_objbarrier(L, gcvalue(o), hvalue(L->top - 1)); in lua_setuservalue()
|
H A D | lobject.h | 151 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc) macro 174 #define righttt(obj) (ttype(obj) == gcvalue(obj)->gch.tt) 178 (righttt(obj) && !isdead(g,gcvalue(obj))))
|
H A D | lgc.c | 74 if (valiswhite(o)) reallymarkobject(g,gcvalue(o)); } 125 else return iswhite(gcvalue(o)); in iscleared() 386 reallymarkobject(g, gcvalue(&h->array[i])); in traverseephemeron() 401 reallymarkobject(g, gcvalue(gval(n))); /* mark it now */ in traverseephemeron()
|
H A D | ltable.c | 117 return hashpointer(t, gcvalue(key)); in mainposition() 155 deadvalue(gkey(n)) == gcvalue(key))) { in findindex()
|
H A D | lvm.c | 285 return gcvalue(t1) == gcvalue(t2); in luaV_equalobj_()
|
/freebsd/contrib/lua/src/ |
H A D | lgc.h | 180 iscollectable(v) ? luaC_objbarrier(L,p,gcvalue(v)) : cast_void(0)) 186 iscollectable(v) ? luaC_objbarrierback(L, p, gcvalue(v)) : cast_void(0))
|
H A D | lobject.h | 98 #define righttt(obj) (ttypetag(obj) == gcvalue(obj)->tt) 108 (righttt(obj) && (L == NULL || !isdead(G(L),gcvalue(obj)))))) 305 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc) macro
|
H A D | ltests.c | 355 assert(!iscollectable(t) || (righttt(t) && testobjref(g, f, gcvalue(t)))); in checkvalref() 394 checkobjref(g, fgc, gcvalue(f->k + i)); in checkproto() 633 assert(!iswhite(gcvalue(&g->l_registry))); in lua_checkmemory() 635 assert(!isdead(g, gcvalue(&g->l_registry))); in lua_checkmemory() 885 l_Trick = gcvalue(obj_at(L, 1)); in settrick() 897 GCObject *obj = gcvalue(o); in gc_color() 915 GCObject *obj = gcvalue(o); in gc_age() 929 GCObject *obj = gcvalue(o); in gc_printobj()
|
H A D | lvm.h | 110 luaC_barrierback(L, gcvalue(t), v); }
|
H A D | lgc.c | 83 #define valiswhite(x) (iscollectable(x) && iswhite(gcvalue(x))) 91 #define gcvalueN(o) (iscollectable(o) ? gcvalue(o) : NULL) 95 if (valiswhite(o)) reallymarkobject(g,gcvalue(o)); } 491 reallymarkobject(g, gcvalue(&h->array[i])); in traverseephemeron() 507 reallymarkobject(g, gcvalue(gval(n))); /* mark it now */ in traverseephemeron()
|
H A D | lapi.c | 483 return gcvalue(o); in lua_topointer() 949 luaC_objbarrier(L, gcvalue(obj), mt); in lua_setmetatable() 950 luaC_checkfinalizer(L, gcvalue(obj), mt); in lua_setmetatable() 958 luaC_checkfinalizer(L, gcvalue(obj), mt); in lua_setmetatable() 984 luaC_barrierback(L, gcvalue(o), s2v(L->top.p - 1)); in lua_setiuservalue()
|
H A D | ltable.c | 182 GCObject *o = gcvalue(key); in mainpositionTV() 234 return gcvalue(k1) == gcvalueraw(keyval(n2)); in equalkey()
|
H A D | lvm.c | 610 return gcvalue(t1) == gcvalue(t2); in luaV_equalobj()
|