Home
last modified time | relevance | path

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

/external/pigweed/pw_preprocessor/
Dboolean_test.cc49 static_assert(PW_XOR(ZERO(), 0) == 0); in TEST()
50 static_assert(PW_XOR(ZERO(), ONE) == 1); in TEST()
51 static_assert(PW_XOR(1, 0) == 1); in TEST()
52 static_assert(PW_XOR(ONE, PW_NOT(ZERO())) == 0); 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.h64 #define PW_XOR(a, b) _PW_XOR(a, b) macro
74 #define PW_XNOR(a, b) PW_NOT(PW_XOR(a, b))