Home
last modified time | relevance | path

Searched refs:PW_OR (Results 1 – 2 of 2) sorted by relevance

/external/pigweed/pw_preprocessor/
Dboolean_test.cc35 static_assert(PW_OR(ZERO(), 0) == 0); in TEST()
36 static_assert(PW_OR(ZERO(), ONE) == 1); in TEST()
37 static_assert(PW_OR(1, 0) == 1); in TEST()
38 static_assert(PW_OR(ONE, PW_NOT(ZERO())) == 1); in TEST()
77 static_assert(PW_AND(1, PW_AND(PW_OR(ZERO(), ONE), PW_XOR(ONE, 0))) == 1); in TEST()
/external/pigweed/pw_preprocessor/public/pw_preprocessor/
Dboolean.h50 #define PW_OR(a, b) _PW_OR(a, b) macro
73 #define PW_NOR(a, b) PW_NOT(PW_OR(a, b))