/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_provider.h | 238 static const size_t kMaxMatches;
|
autocomplete_result.h | 61 static const size_t kMaxMatches; 80 // the best kMaxMatches matches. Sets the default match to the best match
|
autocomplete_result.cc | 69 const size_t AutocompleteResult::kMaxMatches = 6; 80 matches_.reserve(kMaxMatches); 156 // Sort and trim to the most relevant kMaxMatches matches. 157 size_t max_num_matches = std::min(kMaxMatches, matches_.size());
|
autocomplete_provider.cc | 22 const size_t AutocompleteProvider::kMaxMatches = 3;
|
shortcuts_provider.cc | 172 std::min(AutocompleteProvider::kMaxMatches, matches_.size()), 174 if (matches_.size() > AutocompleteProvider::kMaxMatches) { 175 matches_.erase(matches_.begin() + AutocompleteProvider::kMaxMatches,
|
builtin_provider.cc | 97 (i != builtins_.end()) && (matches_.size() < kMaxMatches); ++i) {
|
contact_provider_chromeos_unittest.cc | 243 const size_t kNumContacts = AutocompleteProvider::kMaxMatches + 1; 266 ASSERT_EQ(AutocompleteProvider::kMaxMatches, matches.size());
|
bookmark_provider.cc | 112 size_t max_matches = best_match ? 1 : AutocompleteProvider::kMaxMatches;
|
contact_provider_chromeos.cc | 137 // kMaxMatches results. 139 it != contacts_.end() && matches_.size() < kMaxMatches; ++it)
|
history_url_provider.cc | 468 // We only need kMaxMatches results in the end, but before we 474 // the best kMaxMatches results. 477 kMaxMatches * 2, 539 // kMaxMatches results plus the What You Typed result, if it was added to 541 CullRedirects(backend, &history_matches, kMaxMatches + exact_suggestion); 544 if (history_matches.size() > kMaxMatches + exact_suggestion) 545 history_matches.resize(kMaxMatches + exact_suggestion); [all...] |
keyword_provider.cc | 368 if (matches.size() > kMaxMatches) 369 matches.erase(matches.begin() + kMaxMatches, matches.end()); 570 // AutocompleteProvider::kMaxMatches.
|
search_provider.cc | 650 int num_matches = kMaxMatches * 5; [all...] |
history_quick_provider_unittest.cc | 256 // We should have gotten back at most AutocompleteProvider::kMaxMatches. 257 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches);
|
/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_org/chrome/browser/ui/views/omnibox/ |
omnibox_popup_contents_view.cc | 97 for (size_t i = 0; i < AutocompleteResult::kMaxMatches; ++i) { 134 for (size_t i = 0; i < AutocompleteResult::kMaxMatches; ++i) { 188 for (size_t i = result_size; i < AutocompleteResult::kMaxMatches; ++i)
|
/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...] |
/external/chromium_org/chrome/browser/history/ |
url_index_private_data.cc | 251 // Select and sort only the top kMaxMatches results. 252 if (scored_items.size() > AutocompleteProvider::kMaxMatches) { 255 AutocompleteProvider::kMaxMatches, 258 scored_items.resize(AutocompleteProvider::kMaxMatches); [all...] |
in_memory_url_index_unittest.cc | 662 ASSERT_EQ(AutocompleteProvider::kMaxMatches, matches.size()); 666 ASSERT_EQ(AutocompleteProvider::kMaxMatches, [all...] |