Lines Matching defs:size
165 // size is when the match fails, as it's redundant to say that the
166 // size is 0 when the value is already known to be empty.
2397 // Implements a matcher that checks the size of an STL-style container.
2420 *os << "size ";
2424 *os << "size ";
2430 SizeType size = container.size();
2432 const bool result = size_matcher_.MatchAndExplain(size, &size_listener);
2434 << "whose size " << size << (result ? " matches" : " doesn't match");
2734 *os << "contains " << rhs_.size()
2741 *os << "doesn't contain exactly " << rhs_.size()
2752 const size_t actual_size = lhs_stl_container.size();
2753 if (actual_size != rhs_.size()) {
3196 // calling size() s.t. this code works for stream-like "containers"
3197 // that don't define size().
3246 size_t count() const { return matchers_.size(); }
3389 if (actual_count != matchers_.size()) {
3419 for (size_t irhs = 0; irhs != matchers_.size(); ++irhs) {
3424 MatchMatrix matrix(num_elements, matchers_.size());
3427 for (size_t irhs = 0; irhs != matchers_.size(); ++irhs) {
4120 // Returns a matcher that matches the container size. The container must
4121 // support both size() and size_type which all STL-like containers provide.
4122 // Note that the parameter 'size' can be a value of type size_type as well as
4133 // iterator and its end() iterator, i.e. the size of the container. This matcher
4135 // do not implement size(). The container must provide const_iterator (with