/external/chromium_org/chrome/browser/history/ |
in_memory_url_index_unittest.cc | 41 const size_t kMaxMatches = 3; 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); [all...] |
/external/chromium_org/components/omnibox/ |
autocomplete_provider.h | 207 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); 217 // Sort and trim to the most relevant kMaxMatches matches. 218 size_t max_num_matches = std::min(kMaxMatches, matches_.size());
|
autocomplete_provider.cc | 16 const size_t AutocompleteProvider::kMaxMatches = 3;
|
keyword_provider.cc | 306 if (matches.size() > kMaxMatches) 307 matches.erase(matches.begin() + kMaxMatches, matches.end());
|
search_provider.cc | 561 int num_matches = kMaxMatches * 5; [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
shortcuts_provider.cc | 168 std::min(AutocompleteProvider::kMaxMatches, matches_.size()), 170 if (matches_.size() > AutocompleteProvider::kMaxMatches) { 171 matches_.erase(matches_.begin() + AutocompleteProvider::kMaxMatches,
|
bookmark_provider.cc | 126 std::min(matches_.size(), AutocompleteProvider::kMaxMatches);
|
builtin_provider.cc | 130 (i != builtins_.end()) && (matches_.size() < kMaxMatches); ++i) {
|
history_quick_provider.cc | 95 AutocompleteProvider::kMaxMatches);
|
history_url_provider_unittest.cc | [all...] |
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, [all...] |
history_quick_provider_unittest.cc | 299 // We should have gotten back at most AutocompleteProvider::kMaxMatches. 300 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches); [all...] |
shortcuts_provider_unittest.cc | 369 // We should have gotten back at most AutocompleteProvider::kMaxMatches. 370 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 | 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)
|