Searched defs:Bool (Results 1 – 4 of 4) sorted by relevance
56 struct Bool { struct57 explicit Bool(int val) : value(val != 0) {} in Bool() argument59 bool operator>(int n) const { return value > Bool(n).value; } in operator >() argument61 Bool operator+(const Bool& rhs) const { return Bool(value + rhs.value); } in operator +() argument63 bool operator==(const Bool& rhs) const { return value == rhs.value; } in operator ==() argument68 // Enables Bool to be used in assertions. argument
318 TEST(PrintBuiltInTypeTest, Bool) { in TEST() argument493 TEST(PrintPointerToBuiltInTypeTest, Bool) { in TEST() argument
4594 TEST(EqAssertionTest, Bool) { in TEST() argument
1220 inline internal::ParamGenerator<bool> Bool() { in Bool() function