Home
last modified time | relevance | path

Searched refs:kMaxMatches (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/autocomplete/
Dhistory_contents_provider.cc142 options.max_count = kMaxMatches; in Start()
193 size_t max_for_provider = std::min(kMaxMatches, result_refs.size()); in ConvertResults()
275 kMaxMatches, &matches); in QueryBookmarks()
Dsearch_provider.cc304 static_cast<int>(kMaxMatches), in DoHistoryQuery()
311 static_cast<int>(kMaxMatches), in DoHistoryQuery()
506 if ((navigation_results.size() < kMaxMatches) && in ParseSuggestResults()
520 if (suggest_results->size() < kMaxMatches) in ParseSuggestResults()
574 const size_t max_total_matches = kMaxMatches + 1; // 1 for "what you typed" in ConvertResultsToAutocompleteMatches()
Dautocomplete.h422 static const size_t kMaxMatches; variable
556 static const size_t kMaxMatches; variable
Dbuiltin_provider.cc35 (i != builtins_.end()) && (matches_.size() < kMaxMatches); ++i) { in Start()
Dautocomplete.cc484 const size_t AutocompleteProvider::kMaxMatches = 3; member in AutocompleteProvider
554 const size_t AutocompleteResult::kMaxMatches = 6; member in AutocompleteResult
564 matches_.reserve(kMaxMatches); in AutocompleteResult()
653 const size_t num_matches = std::min(kMaxMatches, matches_.size()); in SortAndCull()
Dkeyword_provider.cc255 if (keyword_matches.size() > kMaxMatches) { in Start()
256 keyword_matches.erase(keyword_matches.begin() + kMaxMatches, in Start()
Dhistory_url_provider.cc214 kMaxMatches * 2, (backend == NULL), &url_matches); in DoAutocomplete()
263 CullRedirects(backend, &history_matches, kMaxMatches + exact_suggestion); in DoAutocomplete()
Dhistory_quick_provider_unittest.cc191 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches); in RunTest()
/external/chromium/chrome/browser/history/
Din_memory_url_index.cc370 if (scored_items.size() > AutocompleteProvider::kMaxMatches) { in HistoryItemsForTerms()
373 AutocompleteProvider::kMaxMatches, in HistoryItemsForTerms()
376 scored_items.resize(AutocompleteProvider::kMaxMatches); in HistoryItemsForTerms()