Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlgc.h89 #define BLACKBIT 2 /* object is black */ macro
100 #define isblack(x) testbit((x)->gch.marked, BLACKBIT)
102 (!testbits((x)->gch.marked, WHITEBITS | bitmask(BLACKBIT)))
115 #define gray2black(x) l_setbit((x)->gch.marked, BLACKBIT)
H A Dlgc.c56 #define maskcolors (~(bit2mask(BLACKBIT, OLDBIT) | WHITEBITS))
61 #define black2gray(x) resetbit(gch(x)->marked, BLACKBIT)
/freebsd/contrib/lua/src/
H A Dlgc.h77 #define BLACKBIT 5 /* object is black */ macro
88 #define isblack(x) testbit((x)->marked, BLACKBIT)
90 (!testbits((x)->marked, WHITEBITS | bitmask(BLACKBIT)))
100 check_exp(!iswhite(x), l_setbit((x)->marked, BLACKBIT))
H A Dlgc.c64 #define maskcolors (bitmask(BLACKBIT) | WHITEBITS)
80 (x->marked = cast_byte((x->marked & ~WHITEBITS) | bitmask(BLACKBIT)))