HomeSort by relevance Sort by last modified time
    Searched refs:kMaxMatches (Results 1 - 9 of 9) sorted by null

  /external/chromium/chrome/browser/autocomplete/
builtin_provider.cc 35 (i != builtins_.end()) && (matches_.size() < kMaxMatches); ++i) {
history_contents_provider.cc 142 options.max_count = kMaxMatches;
193 size_t max_for_provider = std::min(kMaxMatches, result_refs.size());
275 kMaxMatches, &matches);
autocomplete.h 422 static const size_t kMaxMatches;
521 // the best kMaxMatches matches. Sets the default match to the best match
556 static const size_t kMaxMatches;
    [all...]
search_provider.cc 304 static_cast<int>(kMaxMatches),
311 static_cast<int>(kMaxMatches),
506 if ((navigation_results.size() < kMaxMatches) &&
520 if (suggest_results->size() < kMaxMatches)
574 const size_t max_total_matches = kMaxMatches + 1; // 1 for "what you typed"
    [all...]
keyword_provider.cc 255 if (keyword_matches.size() > kMaxMatches) {
256 keyword_matches.erase(keyword_matches.begin() + kMaxMatches,
491 // AutocompleteProvider::kMaxMatches.
autocomplete.cc 484 const size_t AutocompleteProvider::kMaxMatches = 3;
554 const size_t AutocompleteResult::kMaxMatches = 6;
564 matches_.reserve(kMaxMatches);
652 // Sort and trim to the most relevant kMaxMatches matches.
653 const size_t num_matches = std::min(kMaxMatches, matches_.size());
    [all...]
history_url_provider.cc 207 // We only need kMaxMatches results in the end, but before we get there we
212 // reduce the list to the best kMaxMatches results.
214 kMaxMatches * 2, (backend == NULL), &url_matches);
261 // kMaxMatches results plus the What You Typed result, if it was added to
263 CullRedirects(backend, &history_matches, kMaxMatches + exact_suggestion);
    [all...]
history_quick_provider_unittest.cc 190 // We should have gotten back at most AutocompleteProvider::kMaxMatches.
191 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches);
  /external/chromium/chrome/browser/history/
in_memory_url_index.cc 369 // Select and sort only the top kMaxMatches results.
370 if (scored_items.size() > AutocompleteProvider::kMaxMatches) {
373 AutocompleteProvider::kMaxMatches,
376 scored_items.resize(AutocompleteProvider::kMaxMatches);
    [all...]

Completed in 96 milliseconds