Lines Matching defs:bool

170   virtual bool MatchAndExplain(int lhs,
259 virtual bool MatchAndExplain(int x,
282 virtual bool MatchAndExplain(int x, MatchResultListener* listener) const {
283 const bool match = x % 2 == 0;
338 Matcher<bool> m1 = Eq(false);
443 bool MatchAndExplain(const T& x,
489 bool MatchAndExplain(const T& x, MatchResultListener* listener) const {
549 bool IsPositiveIntValue(const IntValue& foo) {
622 bool operator==(const ConvertibleFromAny& a, const ConvertibleFromAny& b) {
648 bool operator==(const IntReferenceWrapper& a, const IntReferenceWrapper& b) {
808 EXPECT_EQ("is anything", Describe(A<bool>()));
840 bool a = false;
841 const bool b = true;
842 Matcher<const bool&> m2 = _;
874 inline bool operator==(const Unprintable& /* lhs */,
920 static bool IsTypeOf(const T& /* v */) { return true; }
1308 Matcher<pair<int, bool> > m = Key(GreaterThan(10));
1326 pair<char, bool> p('a', true);
1442 pair<char, bool> p('a', true);
2432 // type of this function is not bool. It's OK as Truly() accepts any
2434 // converted to bool.
2445 bool operator()(int n) const { return n > threshold_; }
2456 bool ReferencesFooAndIsZero(const int& n) {
2475 // A class that can be implicitly converted to bool.
2479 operator bool() const { return number_ != 0; }
2490 // implicitly convertible to bool, even when the class has no
2677 // virtual bool MatchAndExplain(T x, ...) const {
3371 bool ValueIsPositive(const Uncopyable& x) { return x.value() > 0; }
3969 bool MatchAndExplain(const T& n, MatchResultListener* listener) const {
4042 bool operator==(const NotCopyable& rhs) const {
4046 bool operator>=(const NotCopyable& rhs) const {
4545 friend bool operator==(const ConstIter& a, const ConstIter& b) {
4548 friend bool operator!=(const ConstIter& a, const ConstIter& b) {
4716 const bool a[] = {0, 1, 0, 1, 1};
4717 const bool b[] = {1, 0, 1, 1, 0};
4718 std::vector<bool> expected(a, a + GTEST_ARRAY_SIZE_(a));
4719 std::vector<bool> actual(b, b + GTEST_ARRAY_SIZE_(b));
5052 bool RecurseInto(size_t irhs) {
5112 std::vector<bool> seen_element(graph.LhsSize());
5113 std::vector<bool> seen_matcher(graph.RhsSize());
5222 EXPECT_TRUE(IsReadableTypeName("void (*)(int, bool)"));
5238 EXPECT_FALSE(IsReadableTypeName("void (&)(int, bool, char, float)"));
5413 bool MatchAndExplain(const tuple<T1, T2>& a_pair,