Searched refs:PW_NOT (Results 1 – 3 of 3) sorted by relevance
/external/pigweed/pw_preprocessor/ |
D | boolean_test.cc | 31 static_assert(PW_AND(ONE, PW_NOT(ZERO())) == 1); in TEST() 38 static_assert(PW_OR(ONE, PW_NOT(ZERO())) == 1); in TEST() 42 static_assert(PW_NOT(0) == 1); in TEST() 43 static_assert(PW_NOT(1) == 0); in TEST() 44 static_assert(PW_NOT(ONE) == 0); in TEST() 45 static_assert(PW_NOT(ZERO()) == 1); in TEST() 52 static_assert(PW_XOR(ONE, PW_NOT(ZERO())) == 0); in TEST() 59 static_assert(PW_NAND(ONE, PW_NOT(ZERO())) == 0); in TEST() 66 static_assert(PW_NOR(ONE, PW_NOT(ZERO())) == 0); in TEST() 73 static_assert(PW_XNOR(ONE, PW_NOT(ZERO())) == 1); in TEST()
|
/external/pigweed/pw_preprocessor/public/pw_preprocessor/ |
D | boolean.h | 58 #define PW_NOT(value) _PW_NOT(value) macro 72 #define PW_NAND(a, b) PW_NOT(PW_AND(a, b)) 73 #define PW_NOR(a, b) PW_NOT(PW_OR(a, b)) 74 #define PW_XNOR(a, b) PW_NOT(PW_XOR(a, b))
|
D | arguments.h | 137 #define PW_HAS_ARGS(...) PW_NOT(PW_EMPTY_ARGS(__VA_ARGS__))
|