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