/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 | 70 const size_t AutocompleteResult::kMaxMatches = 6; 81 matches_.reserve(kMaxMatches); 168 // Sort and trim to the most relevant kMaxMatches matches. 169 size_t max_num_matches = std::min(kMaxMatches, matches_.size());
|
shortcuts_provider.cc | 183 std::min(AutocompleteProvider::kMaxMatches, matches_.size()), 185 if (matches_.size() > AutocompleteProvider::kMaxMatches) { 186 matches_.erase(matches_.begin() + AutocompleteProvider::kMaxMatches,
|
contact_provider_chromeos_unittest.cc | 243 const size_t kNumContacts = AutocompleteProvider::kMaxMatches + 1; 266 ASSERT_EQ(AutocompleteProvider::kMaxMatches, matches.size());
|
autocomplete_provider.cc | 22 const size_t AutocompleteProvider::kMaxMatches = 3;
|
bookmark_provider.cc | 112 size_t max_matches = best_match ? 1 : AutocompleteProvider::kMaxMatches;
|
builtin_provider.cc | 104 (i != builtins_.end()) && (matches_.size() < kMaxMatches); ++i) {
|
contact_provider_chromeos.cc | 137 // kMaxMatches results. 139 it != contacts_.end() && matches_.size() < kMaxMatches; ++it)
|
history_url_provider.cc | 516 // We only need kMaxMatches results in the end, but before we 522 // the best kMaxMatches results. 525 kMaxMatches * 2, 588 // kMaxMatches results plus the What You Typed result, if it was added to 590 CullRedirects(backend, &history_matches, kMaxMatches + exact_suggestion); 593 if (history_matches.size() > kMaxMatches + exact_suggestion) 594 history_matches.resize(kMaxMatches + exact_suggestion); [all...] |
keyword_provider.cc | 374 if (matches.size() > kMaxMatches) 375 matches.erase(matches.begin() + kMaxMatches, matches.end()); 576 // AutocompleteProvider::kMaxMatches.
|
search_provider.cc | 836 int num_matches = kMaxMatches * 5; [all...] |
history_quick_provider_unittest.cc | 254 // We should have gotten back at most AutocompleteProvider::kMaxMatches. 255 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches);
|
shortcuts_provider_unittest.cc | 346 // We should have gotten back at most AutocompleteProvider::kMaxMatches. 347 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches); [all...] |
/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 | 87 for (size_t i = 0; i < AutocompleteResult::kMaxMatches; ++i) { 124 for (size_t i = 0; i < AutocompleteResult::kMaxMatches; ++i) { 178 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 | 253 // Select and sort only the top kMaxMatches results. 254 if (scored_items.size() > AutocompleteProvider::kMaxMatches) { 257 AutocompleteProvider::kMaxMatches, 260 scored_items.resize(AutocompleteProvider::kMaxMatches); [all...] |