/external/chromium_org/chrome/browser/history/ |
H A D | in_memory_url_index_unittest.cc | 41 const size_t kMaxMatches = 3; member in namespace:__anon4100 471 ASCIIToUTF16("DrudgeReport"), base::string16::npos, kMaxMatches); 483 ASCIIToUTF16("DrudgeReport "), base::string16::npos, kMaxMatches); 492 ASCIIToUTF16("drudge"), base::string16::npos, kMaxMatches); 499 ASCIIToUTF16("Nearly Perfect Result"), base::string16::npos, kMaxMatches); 512 ASCIIToUTF16("qui c"), base::string16::npos, kMaxMatches); 525 ASCIIToUTF16("Mice"), base::string16::npos, kMaxMatches); 532 ASCIIToUTF16("1% wikipedia"), base::string16::npos, kMaxMatches); 541 ASCIIToUTF16("fubar"), base::string16::npos, kMaxMatches); 553 ASCIIToUTF16("DrudReport"), base::string16::npos, kMaxMatches); 803 ASCIIToUTF16("r"), base::string16::npos, kMaxMatches); local 810 ASCIIToUTF16("r re"), base::string16::npos, kMaxMatches); local 818 ASCIIToUTF16("r re reco"), base::string16::npos, kMaxMatches); local 827 ASCIIToUTF16("mort"), base::string16::npos, kMaxMatches); local 833 ASCIIToUTF16("mort reco"), base::string16::npos, kMaxMatches); local 840 ASCIIToUTF16("mort rec"), base::string16::npos, kMaxMatches); local [all...] |
/external/chromium_org/components/omnibox/ |
H A D | autocomplete_provider.h | 207 static const size_t kMaxMatches; member in class:AutocompleteProvider
|
H A D | autocomplete_result.h | 61 static const size_t kMaxMatches; member in class:AutocompleteResult 76 // the best kMaxMatches matches. Sets the default match to the best match
|
H A D | autocomplete_result.cc | 115 const size_t AutocompleteResult::kMaxMatches = 6; member in class:AutocompleteResult 125 matches_.reserve(kMaxMatches); 217 // Sort and trim to the most relevant kMaxMatches matches. 218 size_t max_num_matches = std::min(kMaxMatches, matches_.size());
|
H A D | autocomplete_provider.cc | 16 const size_t AutocompleteProvider::kMaxMatches = 3; member in class:AutocompleteProvider
|
H A D | keyword_provider.cc | 306 if (matches.size() > kMaxMatches) 307 matches.erase(matches.begin() + kMaxMatches, matches.end());
|
H A D | search_provider.cc | 561 int num_matches = kMaxMatches * 5; 885 // Now add the most relevant matches to |matches_|. We take up to kMaxMatches 890 // AutocompleteResult::kMaxMatches total matches (that is, enough to fill the 894 // scores, unless we have already accepted AutocompleteResult::kMaxMatches 917 (matches_.size() < AutocompleteResult::kMaxMatches); 926 if ((num_suggestions >= kMaxMatches) &&
|
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | shortcuts_provider.cc | 168 std::min(AutocompleteProvider::kMaxMatches, matches_.size()), 170 if (matches_.size() > AutocompleteProvider::kMaxMatches) { 171 matches_.erase(matches_.begin() + AutocompleteProvider::kMaxMatches,
|
H A D | bookmark_provider.cc | 126 std::min(matches_.size(), AutocompleteProvider::kMaxMatches);
|
H A D | builtin_provider.cc | 130 (i != builtins_.end()) && (matches_.size() < kMaxMatches); ++i) {
|
H A D | history_quick_provider.cc | 95 AutocompleteProvider::kMaxMatches);
|
H A D | history_url_provider_unittest.cc | 969 const int kMaxMatches = 3; local 978 ExpectedMatch matches[kMaxMatches]; 1006 UrlAndLegalDefault output[kMaxMatches]; 1008 for (max_matches = 0; max_matches < kMaxMatches; ++max_matches) {
|
H A D | history_url_provider.cc | 737 // We only need kMaxMatches results in the end, but before we get there we 742 // the best kMaxMatches results. 744 base::UTF16ToUTF8(i->prefix + params->input.text()), kMaxMatches * 2, 818 kMaxMatches + (params->exact_suggestion_is_in_history ? 1 : 0); 821 // kMaxMatches results plus the What You Typed result, if it was added to
|
H A D | history_quick_provider_unittest.cc | 299 // We should have gotten back at most AutocompleteProvider::kMaxMatches. 300 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches);
|
H A D | shortcuts_provider_unittest.cc | 369 // We should have gotten back at most AutocompleteProvider::kMaxMatches. 370 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches);
|
H A D | search_provider_unittest.cc | 968 ASSERT_EQ(AutocompleteProvider::kMaxMatches + 1, provider_->matches().size());
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
H A D | omnibox_popup_contents_view.cc | 83 for (size_t i = 0; i < AutocompleteResult::kMaxMatches; ++i) { 120 for (size_t i = 0; i < AutocompleteResult::kMaxMatches; ++i) { 181 for (size_t i = result_size; i < AutocompleteResult::kMaxMatches; ++i)
|