Home
last modified time | relevance | path

Searched refs:isblack (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlgc.h100 #define isblack(x) testbit((x)->gch.marked, BLACKBIT) macro
127 #define luaC_barrier(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \
130 #define luaC_barrierback(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \
134 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) \
138 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) luaC_barrierback_(L,p); }
141 { if (isblack(obj2gco(p))) luaC_barrierproto_(L,p,c); }
H A Dlgc.c135 lua_assert(isblack(o) && iswhite(v) && !isdead(g, v) && !isdead(g, o)); in luaC_barrier_()
155 lua_assert(isblack(o) && !isdead(g, o) && gch(o)->tt == LUA_TTABLE); in luaC_barrierback_()
172 lua_assert(isblack(obj2gco(p))); in luaC_barrierproto_()
190 lua_assert(!isblack(o)); /* open upvalues are never black */ in luaC_checkupvalcolor()
H A Dlfunc.c92 lua_assert(!isblack(o) && uv->v != &uv->u.value); in luaF_close()
/freebsd/contrib/lua/src/
H A Dlgc.h88 #define isblack(x) testbit((x)->marked, BLACKBIT) macro
176 (isblack(p) && iswhite(o)) ? \
183 (isblack(p) && iswhite(o)) ? luaC_barrierback_(L,p) : cast_void(0))
H A Dltests.c301 return !(isblack(f) && iswhite(t)); /* basic incremental invariant */ in testobjref1()
303 if ((getage(f) == G_OLD && isblack(f)) && !isold(t)) in testobjref1()
305 if (((getage(f) == G_OLD1 || getage(f) == G_TOUCHED2) && isblack(f)) && in testobjref1()
316 isdead(g,o) ? 'd' : isblack(o) ? 'b' : iswhite(o) ? 'w' : 'g', in printobj()
522 assert(isblack(o) || in checkobject()
900 isblack(obj) ? "black" : "gray"); in gc_color()
H A Dlgc.c210 lua_assert(isblack(o) && iswhite(v) && !isdead(g, v) && !isdead(g, o)); in luaC_barrier_()
232 lua_assert(isblack(o) && !isdead(g, o)); in luaC_barrierback_()
431 lua_assert(isblack(o)); in genlink()
1225 if (isblack(p)) in markold()