Lines Matching refs:matches_
71 matches_.clear();
96 // Copy the URL since deleting from |matches_| will invalidate |match|.
107 matches_.erase(std::remove_if(matches_.begin(), matches_.end(),
109 matches_.end());
155 matches_.push_back(ShortcutToACMatch(it->second, relevance, input,
157 matches_.back().ComputeStrippedDestinationURL(template_url_service);
164 input.current_page_classification(), false, &matches_);
166 std::partial_sort(matches_.begin(),
167 matches_.begin() +
168 std::min(AutocompleteProvider::kMaxMatches, matches_.size()),
169 matches_.end(), &AutocompleteMatch::MoreRelevant);
170 if (matches_.size() > AutocompleteProvider::kMaxMatches) {
171 matches_.erase(matches_.begin() + AutocompleteProvider::kMaxMatches,
172 matches_.end());
176 for (ACMatches::iterator it = matches_.begin(); it != matches_.end(); ++it) {