Home | History | Annotate | Download | only in autocomplete

Lines Matching full:matches_

92   for (ACMatches::iterator i = matches_.begin(); i != matches_.end();) {
106 i = matches_.erase(i);
124 matches_.push_back(match_map.begin()->second);
126 std::sort(matches_.begin(), matches_.end(), &AutocompleteMatch::MoreRelevant);
135 matches_.clear();
191 matches_.push_back(match);
566 // Now add the most relevant matches from the map to |matches_|.
567 matches_.clear();
569 matches_.push_back(i->second);
575 std::partial_sort(matches_.begin(),
576 matches_.begin() + std::min(max_total_matches, matches_.size()),
577 matches_.end(), &AutocompleteMatch::MoreRelevant);
578 if (matches_.size() > max_total_matches)
579 matches_.erase(matches_.begin() + max_total_matches, matches_.end());
597 matches_.push_back(NavigationToMatch(navigation_results.front(),
894 if (!providers_.valid_default_provider() || matches_.empty())
897 for (ACMatches::iterator i = matches_.begin(); i != matches_.end(); ++i) {