Lines Matching defs:second
1212 static const char* Desc() { return "a pair where the first < the second"; }
1216 static const char* Desc() { return "a pair where the first > the second"; }
1220 static const char* Desc() { return "a pair where the first <= the second"; }
1224 static const char* Desc() { return "a pair where the first >= the second"; }
2939 auto Second(T& x, Rank0) -> decltype((x.second)) { // NOLINT
2940 return x.second;
3068 *os << ", and has a second field that ";
3076 *os << ", or has a second field that ";
3081 // 'a_pair.second' matches second_matcher.
3100 *listener << "whose second field does not match";
3124 *listener << "the second field is a value " << second_explanation;
3792 // Given a 2-tuple matcher tm of type Tuple2Matcher and a value second
3794 // second) is a polymorphic matcher that matches a value x if and only if
3795 // tm matches tuple (x, second). Useful for implementing
3804 BoundSecondMatcher(const Tuple2Matcher& tm, const Second& second)
3805 : tuple2_matcher_(tm), second_value_(second) {}
3832 Impl(const Tuple2Matcher& tm, const Second& second)
3834 second_value_(second) {}
3857 // Given a 2-tuple matcher tm and a value second,
3858 // MatcherBindSecond(tm, second) returns a matcher that matches a
3859 // value x if and only if tm matches tuple (x, second). Useful for
3863 const Tuple2Matcher& tm, const Second& second) {
3864 return BoundSecondMatcher<Tuple2Matcher, Second>(tm, second);
4581 // first field == the second field.
4585 // first field >= the second field.
4589 // first field > the second field.
4593 // first field <= the second field.
4597 // first field < the second field.
4601 // first field != the second field.
4605 // FloatEq(first field) matches the second field.
4611 // DoubleEq(first field) matches the second field.
4617 // FloatEq(first field) matches the second field with NaN equality.
4623 // DoubleEq(first field) matches the second field with NaN equality.
4629 // FloatNear(first field, max_abs_error) matches the second field.
4635 // DoubleNear(first field, max_abs_error) matches the second field.
4641 // FloatNear(first field, max_abs_error) matches the second field with NaN
4649 // DoubleNear(first field, max_abs_error) matches the second field with NaN
4848 // Eq(1) and (the second) 1 matches Lt(2).
4850 // Gt(1) and 3 matches (the second) Gt(1).
4988 // matches first_matcher and whose 'second' field matches second_matcher. For
5001 // second matcher provided. For example, we could create an `equal if, and only