Home
last modified time | relevance | path

Searched refs:WHITEBITS (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlgc.h96 #define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT) macro
99 #define iswhite(x) testbits((x)->gch.marked, WHITEBITS)
102 (!testbits((x)->gch.marked, WHITEBITS | bitmask(BLACKBIT)))
110 #define otherwhite(g) (g->currentwhite ^ WHITEBITS)
111 #define isdeadm(ow,m) (!(((m) ^ WHITEBITS) & (ow)))
114 #define changewhite(x) ((x)->gch.marked ^= WHITEBITS)
119 #define luaC_white(g) cast(lu_byte, (g)->currentwhite & WHITEBITS)
H A Dlgc.c56 #define maskcolors (~(bit2mask(BLACKBIT, OLDBIT) | WHITEBITS))
60 #define white2gray(x) resetbits(gch(x)->marked, WHITEBITS)
987 g->currentwhite = WHITEBITS; /* this "white" makes all objects look dead */ in luaC_freeallobjects()
/freebsd/contrib/lua/src/
H A Dlgc.h84 #define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT) macro
87 #define iswhite(x) testbits((x)->marked, WHITEBITS)
90 (!testbits((x)->marked, WHITEBITS | bitmask(BLACKBIT)))
94 #define otherwhite(g) ((g)->currentwhite ^ WHITEBITS)
98 #define changewhite(x) ((x)->marked ^= WHITEBITS)
102 #define luaC_white(g) cast_byte((g)->currentwhite & WHITEBITS)
H A Dlgc.c64 #define maskcolors (bitmask(BLACKBIT) | WHITEBITS)
80 (x->marked = cast_byte((x->marked & ~WHITEBITS) | bitmask(BLACKBIT)))