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

  /external/chromium_org/chrome/browser/history/
in_memory_url_index_unittest.cc 42 const size_t kMaxMatches = 3;
462 ASCIIToUTF16("DrudgeReport"), base::string16::npos, kMaxMatches);
474 ASCIIToUTF16("DrudgeReport "), base::string16::npos, kMaxMatches);
483 ASCIIToUTF16("drudge"), base::string16::npos, kMaxMatches);
490 ASCIIToUTF16("Nearly Perfect Result"), base::string16::npos, kMaxMatches);
503 ASCIIToUTF16("qui c"), base::string16::npos, kMaxMatches);
516 ASCIIToUTF16("Mice"), base::string16::npos, kMaxMatches);
523 ASCIIToUTF16("1% wikipedia"), base::string16::npos, kMaxMatches);
532 ASCIIToUTF16("fubar"), base::string16::npos, kMaxMatches);
544 ASCIIToUTF16("DrudReport"), base::string16::npos, kMaxMatches);
    [all...]
  /external/chromium_org/chrome/browser/autocomplete/
autocomplete_provider.h 238 static const size_t kMaxMatches;
autocomplete_result.h 61 static const size_t kMaxMatches;
76 // the best kMaxMatches matches. Sets the default match to the best match
autocomplete_result.cc 115 const size_t AutocompleteResult::kMaxMatches = 6;
125 matches_.reserve(kMaxMatches);
215 // Sort and trim to the most relevant kMaxMatches matches.
216 size_t max_num_matches = std::min(kMaxMatches, matches_.size());
shortcuts_provider.cc 172 std::min(AutocompleteProvider::kMaxMatches, matches_.size()),
174 if (matches_.size() > AutocompleteProvider::kMaxMatches) {
175 matches_.erase(matches_.begin() + AutocompleteProvider::kMaxMatches,
keyword_provider.cc 326 if (matches.size() > kMaxMatches)
327 matches.erase(matches.begin() + kMaxMatches, matches.end());
autocomplete_provider.cc 23 const size_t AutocompleteProvider::kMaxMatches = 3;
bookmark_provider.cc 104 std::min(matches_.size(), AutocompleteProvider::kMaxMatches);
builtin_provider.cc 132 (i != builtins_.end()) && (matches_.size() < kMaxMatches); ++i) {
history_quick_provider.cc 99 AutocompleteProvider::kMaxMatches);
history_url_provider_unittest.cc     [all...]
search_provider.cc 477 int num_matches = kMaxMatches * 5;
758 // Now add the most relevant matches to |matches_|. We take up to kMaxMatches
762 // AutocompleteResult::kMaxMatches total matches (that is, enough to fill the
766 // scores, unless we have already accepted AutocompleteResult::kMaxMatches
774 (matches_.size() < AutocompleteResult::kMaxMatches);
783 if ((num_suggestions >= kMaxMatches) &&
    [all...]
history_url_provider.cc 693 // We only need kMaxMatches results in the end, but before we get there we
698 // the best kMaxMatches results.
700 base::UTF16ToUTF8(i->prefix + params->input.text()), kMaxMatches * 2,
    [all...]
history_quick_provider_unittest.cc 273 // We should have gotten back at most AutocompleteProvider::kMaxMatches.
274 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches);
    [all...]
shortcuts_provider_unittest.cc 371 // We should have gotten back at most AutocompleteProvider::kMaxMatches.
372 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches);
    [all...]
search_provider_unittest.cc     [all...]
  /external/chromium_org/chrome/browser/ui/views/omnibox/
omnibox_popup_contents_view.cc 79 for (size_t i = 0; i < AutocompleteResult::kMaxMatches; ++i) {
116 for (size_t i = 0; i < AutocompleteResult::kMaxMatches; ++i) {
177 for (size_t i = result_size; i < AutocompleteResult::kMaxMatches; ++i)

Completed in 689 milliseconds