Lines Matching defs:Key
2345 // Implements Key(inner_matcher) for the given argument pair type.
2346 // Key(inner_matcher) matches an std::pair whose 'first' field matches
2347 // inner_matcher. For example, Contains(Key(Ge(5))) can be used to match an
2348 // std::map that contains at least one element whose key is >= 5.
2361 // Returns true iff 'key_value.first' (the key) matches the inner matcher.
2376 *os << "has a key that ";
2382 *os << "doesn't have a key that ";
2392 // Implements polymorphic Key(matcher_for_key).
3136 // EXPECT_THAT(page_lengths, Each(Key(Le(3))));
3145 // Key(inner_matcher) matches an std::pair whose 'first' field matches
3146 // inner_matcher. For example, Contains(Key(Ge(5))) can be used to match an
3147 // std::map that contains at least one element whose key is >= 5.
3149 inline internal::KeyMatcher<M> Key(M inner_matcher) {
3156 // to match a std::map<int, string> that contains exactly one element whose key