Lines Matching refs:field
635 // field.
676 // value_tuple have different number of fields or incompatible field
2046 // Implements the Field() matcher for matching a field (i.e. member
2051 FieldMatcher(FieldType Class::*field,
2053 : field_(field), matcher_(matcher), whose_field_("whose given field ") {}
2055 FieldMatcher(const std::string& field_name, FieldType Class::*field,
2057 : field_(field),
2059 whose_field_("whose field `" + field_name + "` ") {}
2093 // Since *p has a field, it must be a class/struct/union type and
2102 // Contains either "whose given field " if the name of the field is unknown
2103 // or "whose field `name_of_field` " if the name is known.
2945 // Key(inner_matcher) matches an std::pair whose 'first' field matches
2968 *listener << "whose first field is a value " << explanation;
3066 *os << "has a first field that ";
3068 *os << ", and has a second field that ";
3074 *os << "has a first field that ";
3076 *os << ", or has a second field that ";
3093 *listener << "whose first field does not match";
3100 *listener << "whose second field does not match";
3115 *listener << ", where the first field is a value " << first_explanation;
3124 *listener << "the second field is a value " << second_explanation;
3289 {(*os << separator << "has field #" << I << " that ",
3295 VariadicExpand({(*os << separator << "has field #" << I << " that ",
3325 *listener << "whose field #" << failed_pos << " does not match";
3335 *listener << separator << " field #" << index << " is a value " << str;
4358 // Creates a matcher that matches an object whose given field matches
4364 FieldType Class::*field, const FieldMatcher& matcher) {
4366 field, MatcherCast<const FieldType&>(matcher)));
4373 // Same as Field() but also takes the name of the field to provide better error
4377 const std::string& field_name, FieldType Class::*field,
4380 field_name, field, MatcherCast<const FieldType&>(matcher)));
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
4979 // Key(inner_matcher) matches an std::pair whose 'first' field matches
4987 // Pair(first_matcher, second_matcher) matches a std::pair whose 'first' field
4988 // matches first_matcher and whose 'second' field matches second_matcher. For