Searched refs:PW_AND (Results 1 – 2 of 2) sorted by relevance
/external/pigweed/pw_preprocessor/ |
D | boolean_test.cc | 28 static_assert(PW_AND(ZERO(), 0) == 0); in TEST() 29 static_assert(PW_AND(ZERO(), ONE) == 0); in TEST() 30 static_assert(PW_AND(1, 0) == 0); in TEST() 31 static_assert(PW_AND(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/ |
D | boolean.h | 42 #define PW_AND(a, b) _PW_AND(a, b) // Expand the macro an extra time to macro 72 #define PW_NAND(a, b) PW_NOT(PW_AND(a, b))
|