Searched refs:kMaxMatches (Results 1 – 9 of 9) sorted by relevance
/external/chromium/chrome/browser/autocomplete/ |
D | history_contents_provider.cc | 142 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()
|
D | search_provider.cc | 304 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()
|
D | autocomplete.h | 422 static const size_t kMaxMatches; variable 556 static const size_t kMaxMatches; variable
|
D | builtin_provider.cc | 35 (i != builtins_.end()) && (matches_.size() < kMaxMatches); ++i) { in Start()
|
D | autocomplete.cc | 484 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()
|
D | keyword_provider.cc | 255 if (keyword_matches.size() > kMaxMatches) { in Start() 256 keyword_matches.erase(keyword_matches.begin() + kMaxMatches, in Start()
|
D | history_url_provider.cc | 214 kMaxMatches * 2, (backend == NULL), &url_matches); in DoAutocomplete() 263 CullRedirects(backend, &history_matches, kMaxMatches + exact_suggestion); in DoAutocomplete()
|
D | history_quick_provider_unittest.cc | 191 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches); in RunTest()
|
/external/chromium/chrome/browser/history/ |
D | in_memory_url_index.cc | 370 if (scored_items.size() > AutocompleteProvider::kMaxMatches) { in HistoryItemsForTerms() 373 AutocompleteProvider::kMaxMatches, in HistoryItemsForTerms() 376 scored_items.resize(AutocompleteProvider::kMaxMatches); in HistoryItemsForTerms()
|