/external/chromium_org/chrome/browser/history/ |
D | in_memory_url_index_unittest.cc | 41 const size_t kMaxMatches = 3; variable 471 ASCIIToUTF16("DrudgeReport"), base::string16::npos, kMaxMatches); in TEST_F() 483 ASCIIToUTF16("DrudgeReport "), base::string16::npos, kMaxMatches); in TEST_F() 492 ASCIIToUTF16("drudge"), base::string16::npos, kMaxMatches); in TEST_F() 499 ASCIIToUTF16("Nearly Perfect Result"), base::string16::npos, kMaxMatches); in TEST_F() 512 ASCIIToUTF16("qui c"), base::string16::npos, kMaxMatches); in TEST_F() 525 ASCIIToUTF16("Mice"), base::string16::npos, kMaxMatches); in TEST_F() 532 ASCIIToUTF16("1% wikipedia"), base::string16::npos, kMaxMatches); in TEST_F() 541 ASCIIToUTF16("fubar"), base::string16::npos, kMaxMatches); in TEST_F() 553 ASCIIToUTF16("DrudReport"), base::string16::npos, kMaxMatches); in TEST_F() [all …]
|
/external/chromium_org/components/omnibox/ |
D | autocomplete_provider.h | 207 static const size_t kMaxMatches; variable
|
D | autocomplete_result.cc | 115 const size_t AutocompleteResult::kMaxMatches = 6; member in AutocompleteResult 125 matches_.reserve(kMaxMatches); in AutocompleteResult() 218 size_t max_num_matches = std::min(kMaxMatches, matches_.size()); in SortAndCull()
|
D | autocomplete_result.h | 61 static const size_t kMaxMatches; variable
|
D | keyword_provider.cc | 306 if (matches.size() > kMaxMatches) in Start() 307 matches.erase(matches.begin() + kMaxMatches, matches.end()); in Start()
|
D | autocomplete_provider.cc | 16 const size_t AutocompleteProvider::kMaxMatches = 3; member in AutocompleteProvider
|
D | search_provider.cc | 561 int num_matches = kMaxMatches * 5; in DoHistoryQuery() 917 (matches_.size() < AutocompleteResult::kMaxMatches); in ConvertResultsToAutocompleteMatches() 926 if ((num_suggestions >= kMaxMatches) && in ConvertResultsToAutocompleteMatches()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | shortcuts_provider.cc | 168 std::min(AutocompleteProvider::kMaxMatches, matches_.size()), in GetMatches() 170 if (matches_.size() > AutocompleteProvider::kMaxMatches) { in GetMatches() 171 matches_.erase(matches_.begin() + AutocompleteProvider::kMaxMatches, in GetMatches()
|
D | history_url_provider_unittest.cc | 969 const int kMaxMatches = 3; in TEST_F() local 978 ExpectedMatch matches[kMaxMatches]; in TEST_F() 1006 UrlAndLegalDefault output[kMaxMatches]; in TEST_F() 1008 for (max_matches = 0; max_matches < kMaxMatches; ++max_matches) { in TEST_F()
|
D | builtin_provider.cc | 130 (i != builtins_.end()) && (matches_.size() < kMaxMatches); ++i) { in Start()
|
D | history_quick_provider.cc | 95 AutocompleteProvider::kMaxMatches); in DoAutocomplete()
|
D | bookmark_provider.cc | 126 std::min(matches_.size(), AutocompleteProvider::kMaxMatches); in DoAutocomplete()
|
D | history_url_provider.cc | 744 base::UTF16ToUTF8(i->prefix + params->input.text()), kMaxMatches * 2, in DoAutocomplete() 818 kMaxMatches + (params->exact_suggestion_is_in_history ? 1 : 0); in DoAutocomplete()
|
D | history_quick_provider_unittest.cc | 300 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches); in RunTestWithCursor()
|
D | shortcuts_provider_unittest.cc | 370 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches); in RunTest()
|
D | search_provider_unittest.cc | 968 ASSERT_EQ(AutocompleteProvider::kMaxMatches + 1, provider_->matches().size()); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
D | omnibox_popup_contents_view.cc | 83 for (size_t i = 0; i < AutocompleteResult::kMaxMatches; ++i) { in Init() 120 for (size_t i = 0; i < AutocompleteResult::kMaxMatches; ++i) { in LayoutChildren() 181 for (size_t i = result_size; i < AutocompleteResult::kMaxMatches; ++i) in UpdatePopupAppearance()
|