Lines Matching full:matches_
526 if (matches_.empty())
535 for (ACMatches::iterator i = matches_.begin(); i != matches_.end(); ++i)
564 matches_.reserve(kMaxMatches);
578 matches_ = rhs.matches_;
627 std::copy(matches.begin(), matches.end(), std::back_inserter(matches_));
640 matches_.insert(insertion_point, match);
646 std::sort(matches_.begin(), matches_.end(),
648 matches_.erase(std::unique(matches_.begin(), matches_.end(),
650 matches_.end());
653 const size_t num_matches = std::min(kMaxMatches, matches_.size());
654 std::partial_sort(matches_.begin(), matches_.begin() + num_matches,
655 matches_.end(), &AutocompleteMatch::MoreRelevant);
656 matches_.resize(num_matches);
680 return matches_.size();
684 return matches_.empty();
688 return matches_.begin();
692 return matches_.begin();
696 return matches_.end();
700 return matches_.end();
705 DCHECK(index < matches_.size());
706 return matches_[index];
710 matches_.clear();
718 matches_.swap(other->matches_);
754 matches_.front().relevance : new_matches[0].relevance) - 1;