matches 44 base/i18n/icu_encoding_detection.cc const UCharsetMatch** matches = ucsdet_detectAll(detector, matches 62 base/i18n/icu_encoding_detection.cc const char* encoding_name = ucsdet_getName(matches[i], &get_name_status); matches 68 base/i18n/icu_encoding_detection.cc int32_t confidence = ucsdet_getConfidence(matches[i], &get_name_status); matches 52 chrome/android/java/src/org/chromium/chrome/browser/IntentHelper.java if (emailPattern.matcher(account.name).matches()) { matches 426 chrome/browser/autocomplete/autocomplete_controller.cc result_.AppendMatches((*i)->matches()); matches 218 chrome/browser/autocomplete/autocomplete_provider.h const ACMatches& matches() const { return matches_; } matches 353 chrome/browser/autocomplete/autocomplete_provider_unittest.cc ACMatches matches; matches 361 chrome/browser/autocomplete/autocomplete_provider_unittest.cc matches.push_back(match); matches 365 chrome/browser/autocomplete/autocomplete_provider_unittest.cc result.AppendMatches(matches); matches 379 chrome/browser/autocomplete/autocomplete_provider_unittest.cc ACMatches matches; matches 387 chrome/browser/autocomplete/autocomplete_provider_unittest.cc matches.push_back(match); matches 390 chrome/browser/autocomplete/autocomplete_provider_unittest.cc result_.AppendMatches(matches); matches 132 chrome/browser/autocomplete/autocomplete_result.cc void AutocompleteResult::AppendMatches(const ACMatches& matches) { matches 134 chrome/browser/autocomplete/autocomplete_result.cc for (ACMatches::const_iterator i(matches.begin()); i != matches.end(); ++i) { matches 140 chrome/browser/autocomplete/autocomplete_result.cc std::copy(matches.begin(), matches.end(), std::back_inserter(matches_)); matches 376 chrome/browser/autocomplete/autocomplete_result.cc const ACMatches& matches) { matches 377 chrome/browser/autocomplete/autocomplete_result.cc for (ACMatches::const_iterator i(matches.begin()); i != matches.end(); ++i) { matches 77 chrome/browser/autocomplete/autocomplete_result.h void AppendMatches(const ACMatches& matches); matches 167 chrome/browser/autocomplete/autocomplete_result.h const ACMatches& matches); matches 49 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches* matches) { matches 50 chrome/browser/autocomplete/autocomplete_result_unittest.cc ASSERT_TRUE(matches != NULL); matches 55 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches->empty() ? 1300 : (matches->back().relevance - 100); matches 58 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches->push_back(match); matches 110 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches* matches); matches 149 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches* matches) { matches 153 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches->push_back(match); matches 209 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches matches; matches 217 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches.push_back(match); matches 218 chrome/browser/autocomplete/autocomplete_result_unittest.cc r1.AppendMatches(matches); matches 288 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches matches; matches 289 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatches(data, arraysize(data), &matches); matches 290 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[1].destination_url = GURL(); matches 291 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[3].destination_url = GURL(); matches 292 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[4].destination_url = GURL(); matches 295 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 332 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches matches; matches 333 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatches(data, arraysize(data), &matches); matches 334 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[0].destination_url = GURL("http://www.foo.com/s?q=foo"); matches 335 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[1].destination_url = GURL("http://www.foo.com/s?q=foo2"); matches 336 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[2].destination_url = GURL("http://www.foo.com/s?q=foo&oq=f"); matches 337 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[3].destination_url = GURL("http://www.foo.com/s?q=foo&aqs=0"); matches 338 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[4].destination_url = GURL("http://www.foo.com/"); matches 341 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 383 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches matches; matches 384 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatches(data, arraysize(data), &matches); matches 385 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[0].destination_url = GURL("http://www.foo.com/s?q=foo"); matches 386 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[1].destination_url = GURL("http://www.foo.com/s?q=foo2"); matches 387 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[2].destination_url = GURL("http://www.foo.com/s?q=foo&oq=f"); matches 388 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[3].destination_url = GURL("http://www.foo.com/s?q=foo&aqs=0"); matches 389 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[4].destination_url = GURL("http://www.foo.com/"); matches 390 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[5].destination_url = GURL("http://www.foo.com/s?q=foo2&oq=f"); matches 393 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 407 chrome/browser/autocomplete/autocomplete_result_unittest.cc EXPECT_EQ(matches[2].destination_url, matches 411 chrome/browser/autocomplete/autocomplete_result_unittest.cc EXPECT_EQ(matches[3].destination_url, matches 416 chrome/browser/autocomplete/autocomplete_result_unittest.cc EXPECT_EQ(matches[5].destination_url, matches 422 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches matches; matches 430 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatchesFromTestData(data, arraysize(data), &matches); matches 433 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches.back().relevance = 500; matches 447 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 468 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches matches(3); matches 469 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[0].destination_url = GURL("http://top-history-url/"); matches 470 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[0].relevance = 1400; matches 471 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[0].allowed_to_be_default_match = true; matches 472 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[0].type = AutocompleteMatchType::HISTORY_URL; matches 473 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[1].destination_url = GURL("http://history-url2/"); matches 474 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[1].relevance = 1300; matches 475 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[1].allowed_to_be_default_match = true; matches 476 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[1].type = AutocompleteMatchType::HISTORY_URL; matches 477 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[2].destination_url = GURL("http://search-what-you-typed/"); matches 478 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[2].relevance = 1200; matches 479 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[2].allowed_to_be_default_match = true; matches 480 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[2].type = AutocompleteMatchType::SEARCH_WHAT_YOU_TYPED; matches 497 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 529 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches matches; matches 530 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatches(data, arraysize(data), &matches); matches 532 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 543 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches matches; matches 544 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatches(data, arraysize(data), &matches); matches 545 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[0].allowed_to_be_default_match = false; matches 546 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[1].allowed_to_be_default_match = false; matches 548 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 565 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches matches; matches 568 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatchesFromTestData(kVerbatimMatches, 1, &matches); matches 570 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 572 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches.clear(); matches 579 chrome/browser/autocomplete/autocomplete_result_unittest.cc &matches); matches 580 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 582 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches.clear(); matches 586 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatchesFromTestData(kNonVerbatimMatches, 1, &matches); matches 589 chrome/browser/autocomplete/autocomplete_result_unittest.cc &matches); matches 590 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 597 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches matches; matches 602 chrome/browser/autocomplete/autocomplete_result_unittest.cc &matches); matches 604 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches[i].from_previous = true; matches 606 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 611 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatchesFromTestData(kNonVerbatimMatches, 1, &matches); matches 612 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 617 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches.back().from_previous = true; matches 618 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatchesFromTestData(kVerbatimMatches, 1, &matches); matches 619 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 628 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches matches; matches 629 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatchesFromTestData(kVerbatimMatches, 1, &matches); matches 631 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 637 chrome/browser/autocomplete/autocomplete_result_unittest.cc ACMatches matches; matches 639 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 645 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatchesFromTestData(kNonVerbatimMatches, 1, &matches); matches 646 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 649 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches.clear(); matches 652 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatchesFromTestData(kVerbatimMatches, 1, &matches); matches 653 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 656 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches.clear(); matches 659 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatchesFromTestData(kVerbatimMatches, 1, &matches); matches 660 chrome/browser/autocomplete/autocomplete_result_unittest.cc PopulateAutocompleteMatchesFromTestData(kNonVerbatimMatches, 1, &matches); matches 661 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 664 chrome/browser/autocomplete/autocomplete_result_unittest.cc matches.clear(); matches 669 chrome/browser/autocomplete/autocomplete_result_unittest.cc &matches); matches 670 chrome/browser/autocomplete/autocomplete_result_unittest.cc result.AppendMatches(matches); matches 64 chrome/browser/autocomplete/bookmark_provider.cc TitleMatches matches; matches 94 chrome/browser/autocomplete/bookmark_provider.cc &matches); matches 95 chrome/browser/autocomplete/bookmark_provider.cc if (matches.empty()) matches 97 chrome/browser/autocomplete/bookmark_provider.cc for (TitleMatches::const_iterator i = matches.begin(); i != matches.end(); matches 118 chrome/browser/autocomplete/bookmark_provider_unittest.cc base::string16 MatchesAsString16(const ACMatches& matches) { matches 120 chrome/browser/autocomplete/bookmark_provider_unittest.cc for (ACMatches::const_iterator i = matches.begin(); i != matches.end(); ++i) { matches 250 chrome/browser/autocomplete/bookmark_provider_unittest.cc const ACMatches& matches(provider_->matches()); matches 252 chrome/browser/autocomplete/bookmark_provider_unittest.cc EXPECT_LE(matches.size(), query_data[i].match_count) matches 254 chrome/browser/autocomplete/bookmark_provider_unittest.cc << MatchesAsString16(matches) matches 256 chrome/browser/autocomplete/bookmark_provider_unittest.cc EXPECT_GE(matches.size(), query_data[i].match_count) matches 258 chrome/browser/autocomplete/bookmark_provider_unittest.cc << MatchesAsString16(matches) matches 261 chrome/browser/autocomplete/bookmark_provider_unittest.cc for (size_t j = 0; j < matches.size(); ++j) { matches 267 chrome/browser/autocomplete/bookmark_provider_unittest.cc PositionsFromAutocompleteMatch(matches[j])); matches 288 chrome/browser/autocomplete/bookmark_provider_unittest.cc const std::string matches[99]; matches 324 chrome/browser/autocomplete/bookmark_provider_unittest.cc const ACMatches& matches(provider_->matches()); matches 326 chrome/browser/autocomplete/bookmark_provider_unittest.cc for (size_t j = 0; j < std::max(query_data[i].match_count, matches.size()); matches 329 chrome/browser/autocomplete/bookmark_provider_unittest.cc << base::UTF16ToUTF8(matches[j].description) << "' for query: '" matches 333 chrome/browser/autocomplete/bookmark_provider_unittest.cc EXPECT_LT(j, matches.size()) << " Missing match '" matches 334 chrome/browser/autocomplete/bookmark_provider_unittest.cc << query_data[i].matches[j] << "' for query: '" matches 336 chrome/browser/autocomplete/bookmark_provider_unittest.cc if (j >= matches.size()) matches 338 chrome/browser/autocomplete/bookmark_provider_unittest.cc EXPECT_EQ(query_data[i].matches[j], matches 339 chrome/browser/autocomplete/bookmark_provider_unittest.cc base::UTF16ToUTF8(matches[j].description)) matches 342 chrome/browser/autocomplete/bookmark_provider_unittest.cc EXPECT_FALSE(matches[j].allowed_to_be_default_match); matches 55 chrome/browser/autocomplete/builtin_provider_unittest.cc ACMatches matches; matches 63 chrome/browser/autocomplete/builtin_provider_unittest.cc matches = builtin_provider_->matches(); matches 64 chrome/browser/autocomplete/builtin_provider_unittest.cc EXPECT_EQ(builtin_cases[i].num_results, matches.size()) << matches 66 chrome/browser/autocomplete/builtin_provider_unittest.cc if (matches.size() == builtin_cases[i].num_results) { matches 68 chrome/browser/autocomplete/builtin_provider_unittest.cc EXPECT_EQ(builtin_cases[i].output[j], matches[j].*member) << matches 70 chrome/browser/autocomplete/builtin_provider_unittest.cc EXPECT_FALSE(matches[j].allowed_to_be_default_match); matches 89 chrome/browser/autocomplete/extension_app_provider_unittest.cc ACMatches matches; matches 97 chrome/browser/autocomplete/extension_app_provider_unittest.cc matches = app_provider_->matches(); matches 98 chrome/browser/autocomplete/extension_app_provider_unittest.cc EXPECT_EQ(keyword_cases[i].num_results, matches.size()) matches 100 chrome/browser/autocomplete/extension_app_provider_unittest.cc if (matches.size() == keyword_cases[i].num_results) { matches 102 chrome/browser/autocomplete/extension_app_provider_unittest.cc EXPECT_EQ(keyword_cases[i].output[j], matches[j].destination_url); matches 74 chrome/browser/autocomplete/history_provider.cc const history::TermMatches& matches, matches 80 chrome/browser/autocomplete/history_provider.cc if (matches.empty()) { matches 85 chrome/browser/autocomplete/history_provider.cc if (matches[0].offset) matches 87 chrome/browser/autocomplete/history_provider.cc size_t match_count = matches.size(); matches 89 chrome/browser/autocomplete/history_provider.cc size_t offset = matches[i].offset; matches 94 chrome/browser/autocomplete/history_provider.cc offset += matches[i].length; matches 96 chrome/browser/autocomplete/history_provider.cc } while ((i < match_count) && (offset == matches[i].offset)); matches 41 chrome/browser/autocomplete/history_provider.h const history::TermMatches& matches, matches 108 chrome/browser/autocomplete/history_quick_provider.cc ScoredHistoryMatches matches = GetIndex()->HistoryItemsForTerms( matches 111 chrome/browser/autocomplete/history_quick_provider.cc if (matches.empty()) matches 227 chrome/browser/autocomplete/history_quick_provider.cc matches.begin()->can_inline())) ? matches 228 chrome/browser/autocomplete/history_quick_provider.cc matches.begin()->raw_score() : matches 234 chrome/browser/autocomplete/history_quick_provider.cc for (ScoredHistoryMatches::const_iterator match_iter = matches.begin(); matches 235 chrome/browser/autocomplete/history_quick_provider.cc match_iter != matches.end(); ++match_iter) { matches 258 chrome/browser/autocomplete/history_quick_provider_unittest.cc ac_matches_ = provider_->matches(); matches 60 chrome/browser/autocomplete/history_url_provider.cc history::HistoryMatches* matches, matches 64 chrome/browser/autocomplete/history_url_provider.cc for (history::HistoryMatches::iterator i(matches->begin()); matches 65 chrome/browser/autocomplete/history_url_provider.cc i != matches->end(); ++i) { matches 69 chrome/browser/autocomplete/history_url_provider.cc std::rotate(matches->begin(), i, i + 1); matches 80 chrome/browser/autocomplete/history_url_provider.cc matches->push_front(match); matches 82 chrome/browser/autocomplete/history_url_provider.cc matches->push_back(match); matches 148 chrome/browser/autocomplete/history_url_provider.cc void SortAndDedupMatches(history::HistoryMatches* matches) { matches 150 chrome/browser/autocomplete/history_url_provider.cc std::sort(matches->begin(), matches->end(), &CompareHistoryMatch); matches 171 chrome/browser/autocomplete/history_url_provider.cc for (size_t i = 0; i < matches->size(); ++i) { matches 172 chrome/browser/autocomplete/history_url_provider.cc for (history::HistoryMatches::iterator j(matches->begin() + i + 1); matches 173 chrome/browser/autocomplete/history_url_provider.cc j != matches->end(); ) { matches 174 chrome/browser/autocomplete/history_url_provider.cc if ((*matches)[i].url_info.url() == j->url_info.url()) matches 175 chrome/browser/autocomplete/history_url_provider.cc j = matches->erase(j); matches 578 chrome/browser/autocomplete/history_url_provider.cc params->matches.push_back(what_you_typed_match); matches 586 chrome/browser/autocomplete/history_url_provider.cc params->matches.push_back(what_you_typed_match); matches 598 chrome/browser/autocomplete/history_url_provider.cc for (ACMatches::const_iterator it = params->matches.begin(); matches 599 chrome/browser/autocomplete/history_url_provider.cc it != params->matches.end(); ++it) { matches 619 chrome/browser/autocomplete/history_url_provider.cc GURL(params->matches.front().destination_url))); matches 627 chrome/browser/autocomplete/history_url_provider.cc if (!params->matches.empty()) { matches 631 chrome/browser/autocomplete/history_url_provider.cc params->matches.push_back(ac_match); matches 653 chrome/browser/autocomplete/history_url_provider.cc matches_.swap(params->matches); matches 762 chrome/browser/autocomplete/history_url_provider.cc matches_.swap(params->matches); matches 783 chrome/browser/autocomplete/history_url_provider.cc history::HistoryMatches* matches) const { matches 785 chrome/browser/autocomplete/history_url_provider.cc DCHECK(matches != NULL); matches 848 chrome/browser/autocomplete/history_url_provider.cc if (type == UNVISITED_INTRANET && !matches->empty()) matches 853 chrome/browser/autocomplete/history_url_provider.cc matches, true, true); matches 905 chrome/browser/autocomplete/history_url_provider.cc params->matches.push_back(ac_match); matches 921 chrome/browser/autocomplete/history_url_provider.cc history::HistoryMatches* matches) { matches 922 chrome/browser/autocomplete/history_url_provider.cc if (matches->empty()) matches 928 chrome/browser/autocomplete/history_url_provider.cc const history::HistoryMatch& match = matches->front(); matches 983 chrome/browser/autocomplete/history_url_provider.cc match.match_in_scheme, matches, create_shorter_match_, promote); matches 985 chrome/browser/autocomplete/history_url_provider.cc matches->front().promoted = true; matches 990 chrome/browser/autocomplete/history_url_provider.cc history::HistoryMatches* matches) const { matches 992 chrome/browser/autocomplete/history_url_provider.cc for (history::HistoryMatches::iterator i(matches->begin()); matches 993 chrome/browser/autocomplete/history_url_provider.cc i != matches->end(); ) { matches 1000 chrome/browser/autocomplete/history_url_provider.cc i = matches->erase(i); matches 1006 chrome/browser/autocomplete/history_url_provider.cc history::HistoryMatches* matches, matches 1009 chrome/browser/autocomplete/history_url_provider.cc (source < matches->size()) && (source < max_results); ) { matches 1010 chrome/browser/autocomplete/history_url_provider.cc const GURL& url = (*matches)[source].url_info.url(); matches 1024 chrome/browser/autocomplete/history_url_provider.cc source = RemoveSubsequentMatchesOf(matches, source, redirects); matches 1031 chrome/browser/autocomplete/history_url_provider.cc if (matches->size() > max_results) matches 1032 chrome/browser/autocomplete/history_url_provider.cc matches->resize(max_results); matches 1036 chrome/browser/autocomplete/history_url_provider.cc history::HistoryMatches* matches, matches 1044 chrome/browser/autocomplete/history_url_provider.cc matches->begin(), matches->end(), remove.begin(), remove.end(), matches 1046 chrome/browser/autocomplete/history_url_provider.cc DCHECK(first != matches->end()) << "We should have always found at least the " matches 1052 chrome/browser/autocomplete/history_url_provider.cc matches->end(), remove.begin(), remove.end(), matches 1054 chrome/browser/autocomplete/history_url_provider.cc next != matches->end(); next = std::find_first_of(next, matches->end(), matches 1058 chrome/browser/autocomplete/history_url_provider.cc next = matches->erase(next); matches 1059 chrome/browser/autocomplete/history_url_provider.cc if (static_cast<size_t>(next - matches->begin()) < next_index) matches 131 chrome/browser/autocomplete/history_url_provider.h ACMatches matches; matches 236 chrome/browser/autocomplete/history_url_provider.h history::HistoryMatches* matches) const; matches 261 chrome/browser/autocomplete/history_url_provider.h history::HistoryMatches* matches); matches 270 chrome/browser/autocomplete/history_url_provider.h history::HistoryMatches* matches) const; matches 275 chrome/browser/autocomplete/history_url_provider.h history::HistoryMatches* matches, matches 286 chrome/browser/autocomplete/history_url_provider.h size_t RemoveSubsequentMatchesOf(history::HistoryMatches* matches, matches 290 chrome/browser/autocomplete/history_url_provider_unittest.cc matches_ = autocomplete_->matches(); matches 572 chrome/browser/autocomplete/history_url_provider_unittest.cc matches_ = autocomplete_->matches(); matches 580 chrome/browser/autocomplete/history_url_provider_unittest.cc matches_ = autocomplete_->matches(); matches 614 chrome/browser/autocomplete/history_url_provider_unittest.cc matches_ = autocomplete_->matches(); matches 966 chrome/browser/autocomplete/history_url_provider_unittest.cc ExpectedMatch matches[kMaxMatches]; matches 997 chrome/browser/autocomplete/history_url_provider_unittest.cc if (test_cases[i].matches[max_matches].url == NULL) matches 1000 chrome/browser/autocomplete/history_url_provider_unittest.cc test_cases[i].matches[max_matches].url, std::string()).spec(); matches 1011 chrome/browser/autocomplete/history_url_provider_unittest.cc EXPECT_EQ(test_cases[i].matches[j].control_relevance, matches 1021 chrome/browser/autocomplete/history_url_provider_unittest.cc EXPECT_EQ(test_cases[i].matches[j].experiment_relevance, matches 265 chrome/browser/autocomplete/keyword_provider.cc TemplateURLService::TemplateURLVector matches; matches 267 chrome/browser/autocomplete/keyword_provider.cc keyword, !remaining_input.empty(), &matches); matches 269 chrome/browser/autocomplete/keyword_provider.cc for (TemplateURLService::TemplateURLVector::iterator i(matches.begin()); matches 270 chrome/browser/autocomplete/keyword_provider.cc i != matches.end(); ) { matches 286 chrome/browser/autocomplete/keyword_provider.cc i = matches.erase(i); matches 294 chrome/browser/autocomplete/keyword_provider.cc i = matches.erase(i); matches 300 chrome/browser/autocomplete/keyword_provider.cc if (matches.empty()) matches 302 chrome/browser/autocomplete/keyword_provider.cc std::sort(matches.begin(), matches.end(), CompareQuality()); matches 308 chrome/browser/autocomplete/keyword_provider.cc if (matches.front()->keyword() == keyword) { matches 309 chrome/browser/autocomplete/keyword_provider.cc const TemplateURL* template_url = matches.front(); matches 369 chrome/browser/autocomplete/keyword_provider.cc if (matches.size() > kMaxMatches) matches 370 chrome/browser/autocomplete/keyword_provider.cc matches.erase(matches.begin() + kMaxMatches, matches.end()); matches 372 chrome/browser/autocomplete/keyword_provider.cc matches.begin()); i != matches.end(); ++i) { matches 79 chrome/browser/autocomplete/keyword_provider_unittest.cc ACMatches matches; matches 88 chrome/browser/autocomplete/keyword_provider_unittest.cc matches = kw_provider_->matches(); matches 89 chrome/browser/autocomplete/keyword_provider_unittest.cc ASSERT_EQ(keyword_cases[i].num_results, matches.size()); matches 90 chrome/browser/autocomplete/keyword_provider_unittest.cc for (size_t j = 0; j < matches.size(); ++j) { matches 91 chrome/browser/autocomplete/keyword_provider_unittest.cc EXPECT_EQ(keyword_cases[i].output[j].member, matches[j].*member); matches 93 chrome/browser/autocomplete/keyword_provider_unittest.cc matches[j].allowed_to_be_default_match); matches 871 chrome/browser/autocomplete/search_provider.cc ACMatches matches; matches 873 chrome/browser/autocomplete/search_provider.cc matches.push_back(i->second); matches 875 chrome/browser/autocomplete/search_provider.cc AddNavigationResultsToMatches(keyword_results_.navigation_results, &matches); matches 876 chrome/browser/autocomplete/search_provider.cc AddNavigationResultsToMatches(default_results_.navigation_results, &matches); matches 889 chrome/browser/autocomplete/search_provider.cc "Omnibox.SearchProvider.NumMatchesToSort", matches.size(), 1, 50, 20); matches 890 chrome/browser/autocomplete/search_provider.cc std::sort(matches.begin(), matches.end(), &AutocompleteMatch::MoreRelevant); matches 894 chrome/browser/autocomplete/search_provider.cc for (ACMatches::const_iterator i(matches.begin()); matches 895 chrome/browser/autocomplete/search_provider.cc (i != matches.end()) && matches 1003 chrome/browser/autocomplete/search_provider.cc ACMatches* matches) { matches 1006 chrome/browser/autocomplete/search_provider.cc matches->push_back(NavigationToMatch(*it)); matches 221 chrome/browser/autocomplete/search_provider.h ACMatches* matches); matches 55 chrome/browser/autocomplete/search_provider_unittest.cc ACMatches::const_iterator FindDefaultMatch(const ACMatches& matches) { matches 56 chrome/browser/autocomplete/search_provider_unittest.cc ACMatches::const_iterator it = matches.begin(); matches 57 chrome/browser/autocomplete/search_provider_unittest.cc while ((it != matches.end()) && !it->allowed_to_be_default_match) matches 199 chrome/browser/autocomplete/search_provider_unittest.cc const std::string matches[3], matches 295 chrome/browser/autocomplete/search_provider_unittest.cc ACMatches matches; matches 303 chrome/browser/autocomplete/search_provider_unittest.cc matches = provider_->matches(); matches 309 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].num_results, matches.size()) << diagnostic_details; matches 310 chrome/browser/autocomplete/search_provider_unittest.cc if (matches.size() == cases[i].num_results) { matches 312 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].output[j].gurl, matches[j].destination_url) << matches 314 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].output[j].result_type, matches[j].type) << matches 317 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].fill_into_edit) << diagnostic_details; matches 319 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].allowed_to_be_default_match) << diagnostic_details; matches 364 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_GE(provider_->matches().size(), 1u); matches 391 chrome/browser/autocomplete/search_provider_unittest.cc for (ACMatches::const_iterator i = provider_->matches().begin(); matches 392 chrome/browser/autocomplete/search_provider_unittest.cc i != provider_->matches().end(); ++i) { matches 403 chrome/browser/autocomplete/search_provider_unittest.cc for (ACMatches::const_iterator i = provider_->matches().begin(); matches 404 chrome/browser/autocomplete/search_provider_unittest.cc i != provider_->matches().end(); ++i) { matches 438 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 439 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_LE(matches.size(), 3u); matches 442 chrome/browser/autocomplete/search_provider_unittest.cc for (; i < matches.size(); ++i) { matches 443 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(expected_matches[i]), matches[i].contents) << matches 520 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_FALSE(provider_->matches().empty()); matches 522 chrome/browser/autocomplete/search_provider_unittest.cc provider_->matches()[0].type); matches 523 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_TRUE(provider_->matches()[0].allowed_to_be_default_match); matches 646 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_EQ(2u, provider_->matches().size()); matches 712 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_EQ(2u, provider_->matches().size()); matches 721 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_EQ(2u, provider_->matches().size()); matches 737 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_EQ(2u, provider_->matches().size()); matches 756 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_EQ(2u, provider_->matches().size()); matches 777 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_EQ(3u, provider_->matches().size()); matches 801 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_EQ(3u, provider_->matches().size()); matches 814 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_EQ(3u, provider_->matches().size()); matches 836 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_EQ(AutocompleteProvider::kMaxMatches + 1, provider_->matches().size()); matches 852 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_EQ(2u, provider_->matches().size()); matches 1119 chrome/browser/autocomplete/search_provider_unittest.cc const std::string matches[5]; matches 1162 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 1163 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_LE(matches.size(), ARRAYSIZE_UNSAFE(cases[i].matches)); matches 1166 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < matches.size(); ++j) { matches 1167 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].matches[j]), matches[j].contents) << matches 1171 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < ARRAYSIZE_UNSAFE(cases[i].matches); ++j) matches 1172 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(std::string(), cases[i].matches[j]) << description; matches 1188 chrome/browser/autocomplete/search_provider_unittest.cc const DefaultFetcherMatch matches[6]; matches 1425 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 1427 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_FALSE(matches.empty()); matches 1429 chrome/browser/autocomplete/search_provider_unittest.cc matches[0].inline_autocompletion) << description; matches 1430 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_GE(matches[0].relevance, 1300) << description; matches 1432 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_LE(matches.size(), ARRAYSIZE_UNSAFE(cases[i].matches)); matches 1435 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < matches.size(); ++j) { matches 1436 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].matches[j].contents), matches 1437 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents) << description; matches 1438 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].allowed_to_be_default_match, matches 1439 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].allowed_to_be_default_match) << description; matches 1442 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < ARRAYSIZE_UNSAFE(cases[i].matches); ++j) matches 1443 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(kNotApplicable, cases[i].matches[j].contents) << matches 1461 chrome/browser/autocomplete/search_provider_unittest.cc const DefaultFetcherMatch matches[6]; matches 1684 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 1685 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_FALSE(matches.empty()); matches 1688 chrome/browser/autocomplete/search_provider_unittest.cc ACMatches::const_iterator it = FindDefaultMatch(matches); matches 1689 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_NE(matches.end(), it); matches 1693 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_LE(matches.size(), ARRAYSIZE_UNSAFE(cases[i].matches)); matches 1696 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < matches.size(); ++j) { matches 1697 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].matches[j].contents), matches 1698 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents) << description; matches 1699 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].allowed_to_be_default_match, matches 1700 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].allowed_to_be_default_match) << description; matches 1703 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < ARRAYSIZE_UNSAFE(cases[i].matches); ++j) matches 1704 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(kNotApplicable, cases[i].matches[j].contents) << matches 1726 chrome/browser/autocomplete/search_provider_unittest.cc const KeywordFetcherMatch matches[6]; matches 2168 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 2170 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_FALSE(matches.empty()); matches 2172 chrome/browser/autocomplete/search_provider_unittest.cc matches[0].inline_autocompletion) << description; matches 2173 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_GE(matches[0].relevance, 1300) << description; matches 2175 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_LE(matches.size(), ARRAYSIZE_UNSAFE(cases[i].matches)); matches 2178 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < matches.size(); ++j) { matches 2179 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].matches[j].contents), matches 2180 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents) << description; matches 2181 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].from_keyword, matches 2182 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].keyword == ASCIIToUTF16("k")) << description; matches 2183 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].allowed_to_be_default_match, matches 2184 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].allowed_to_be_default_match) << description; matches 2187 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < ARRAYSIZE_UNSAFE(cases[i].matches); ++j) matches 2188 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(kNotApplicable, cases[i].matches[j].contents) << matches 2208 chrome/browser/autocomplete/search_provider_unittest.cc const KeywordFetcherMatch matches[6]; matches 2634 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 2635 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_FALSE(matches.empty()); matches 2638 chrome/browser/autocomplete/search_provider_unittest.cc ACMatches::const_iterator it = FindDefaultMatch(matches); matches 2639 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_NE(matches.end(), it); matches 2643 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_LE(matches.size(), ARRAYSIZE_UNSAFE(cases[i].matches)); matches 2646 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < matches.size(); ++j) { matches 2647 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].matches[j].contents), matches 2648 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents) << description; matches 2649 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].from_keyword, matches 2650 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].keyword == ASCIIToUTF16("k")) << description; matches 2651 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].allowed_to_be_default_match, matches 2652 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].allowed_to_be_default_match) << description; matches 2655 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < ARRAYSIZE_UNSAFE(cases[i].matches); ++j) matches 2656 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(kNotApplicable, cases[i].matches[j].contents) << matches 2673 chrome/browser/autocomplete/search_provider_unittest.cc const std::string matches[6]; matches 2733 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 2736 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_LE(matches.size(), ARRAYSIZE_UNSAFE(cases[i].matches)); matches 2740 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < matches.size(); ++j) matches 2741 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].matches[j]), matches 2742 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents) << description; matches 2744 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < ARRAYSIZE_UNSAFE(cases[i].matches); ++j) matches 2745 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(kNotApplicable, cases[i].matches[j]) << matches 2846 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 2847 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_LE(matches.size(), ARRAYSIZE_UNSAFE(cases[i].output)); matches 2849 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < matches.size(); ++j) { matches 2851 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents); matches 2852 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].output[j].match_type, matches[j].type); matches 2854 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].allowed_to_be_default_match); matches 2972 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 2973 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_LE(matches.size(), ARRAYSIZE_UNSAFE(cases[i].output)); matches 2975 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < matches.size(); ++j) { matches 2977 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents); matches 2978 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].output[j].match_type, matches[j].type); matches 2980 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].allowed_to_be_default_match); matches 3497 chrome/browser/autocomplete/search_provider_unittest.cc const Match matches[5]; matches 3542 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 3543 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_FALSE(matches.empty()); matches 3547 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_LE(matches.size(), ARRAYSIZE_UNSAFE(cases[i].matches)); matches 3550 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < matches.size(); ++j) { matches 3551 chrome/browser/autocomplete/search_provider_unittest.cc const Match& match = cases[i].matches[j]; matches 3554 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].contents)); matches 3556 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].description)); matches 3558 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].search_terms_args->suggest_query_params); matches 3560 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].fill_into_edit)); matches 3561 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(match.type, matches[j].type); matches 3564 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < ARRAYSIZE_UNSAFE(cases[i].matches); ++j) { matches 3566 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].contents, kNotApplicable); matches 3567 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].description, kNotApplicable); matches 3568 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].query_params, kNotApplicable); matches 3569 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].fill_into_edit, kNotApplicable); matches 3570 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].type, AutocompleteMatchType::NUM_TYPES); matches 3595 chrome/browser/autocomplete/search_provider_unittest.cc const Match matches[5]; matches 3693 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 3695 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_FALSE(matches.empty()); matches 3696 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_GE(matches[0].relevance, 1300); matches 3698 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_LE(matches.size(), ARRAYSIZE_UNSAFE(cases[i].matches)); matches 3700 chrome/browser/autocomplete/search_provider_unittest.cc for (size_t j = 0; j < matches.size(); ++j) { matches 3702 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].contents, matches 3703 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].contents)); matches 3704 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].allowed_to_be_prefetched, matches 3705 chrome/browser/autocomplete/search_provider_unittest.cc SearchProvider::ShouldPrefetch(matches[j])); matches 3706 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].type, matches[j].type); matches 3707 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].from_keyword, matches 3708 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].keyword == ASCIIToUTF16("k")); matches 3730 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 3733 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_TRUE(matches.size() == 1); matches 3734 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(input_str, base::UTF16ToUTF8(matches[0].contents)); matches 3736 chrome/browser/autocomplete/search_provider_unittest.cc matches[0].type); matches 3753 chrome/browser/autocomplete/search_provider_unittest.cc const Match matches[4]; matches 3805 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 3807 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_FALSE(matches.empty()); matches 3808 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_GE(matches[0].relevance, 1300); matches 3811 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_LE(matches.size(), ARRAYSIZE_UNSAFE(cases[i].matches)); matches 3814 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < matches.size(); ++j) { matches 3816 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].contents, matches 3817 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].contents)); matches 3818 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].type, matches[j].type); matches 3820 chrome/browser/autocomplete/search_provider_unittest.cc for (; j < ARRAYSIZE_UNSAFE(cases[i].matches); ++j) { matches 3822 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].contents, kNotApplicable); matches 3823 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].type, AutocompleteMatchType::NUM_TYPES); matches 3847 chrome/browser/autocomplete/search_provider_unittest.cc const Match matches[4]; matches 3890 chrome/browser/autocomplete/search_provider_unittest.cc const ACMatches& matches = provider_->matches(); matches 3891 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_FALSE(matches.empty()); matches 3895 chrome/browser/autocomplete/search_provider_unittest.cc for (size_t j = 0; j < matches.size(); ++j) { matches 3896 chrome/browser/autocomplete/search_provider_unittest.cc const Match& match = cases[i].matches[j]; matches 3898 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(match.contents, base::UTF16ToUTF8(matches[j].contents)); matches 3899 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(match.deletion_url, matches[j].GetAdditionalInfo( matches 3909 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_FALSE(provider_->matches().empty()); matches 3911 chrome/browser/autocomplete/search_provider_unittest.cc provider_->matches()[0].type); matches 3912 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_TRUE(provider_->matches()[0].search_terms_args != NULL); matches 3913 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_FALSE(provider_->matches()[0].search_terms_args->bookmark_bar_pinned); matches 3918 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_FALSE(provider_->matches().empty()); matches 3920 chrome/browser/autocomplete/search_provider_unittest.cc provider_->matches()[0].type); matches 3921 chrome/browser/autocomplete/search_provider_unittest.cc ASSERT_TRUE(provider_->matches()[0].search_terms_args != NULL); matches 3922 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_TRUE(provider_->matches()[0].search_terms_args->bookmark_bar_pinned); matches 4098 chrome/browser/autocomplete/search_provider_unittest.cc size_t matches_before = provider_->matches().size(); matches 4100 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(matches_before - 1, provider_->matches().size()); matches 39 chrome/browser/autocomplete/shortcuts_backend.cc std::string StripMatchMarkers(const ACMatchClassifications& matches) { matches 41 chrome/browser/autocomplete/shortcuts_backend.cc for (ACMatchClassifications::const_iterator i(matches.begin()); matches 42 chrome/browser/autocomplete/shortcuts_backend.cc i != matches.end(); ++i) { matches 200 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ClassifyTest(const base::string16& text, ACMatchClassifications matches); matches 211 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ACMatchClassifications matches) matches 213 chrome/browser/autocomplete/shortcuts_provider_unittest.cc matches_(matches) { matches 359 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ac_matches_ = provider_->matches(); matches 582 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ACMatchClassifications matches = matches 585 chrome/browser/autocomplete/shortcuts_provider_unittest.cc matches); matches 603 chrome/browser/autocomplete/shortcuts_provider_unittest.cc "Scores, Rumors, Fantasy Games, and more"), matches); matches 615 chrome/browser/autocomplete/shortcuts_provider_unittest.cc matches = AutocompleteMatch::ClassificationsFromString("0,1"); matches 616 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ClassifyTest classify_test3(ASCIIToUTF16("livescore.goal.com"), matches); matches 623 chrome/browser/autocomplete/shortcuts_provider_unittest.cc matches = AutocompleteMatch::ClassificationsFromString("0,0,13,1"); matches 625 chrome/browser/autocomplete/shortcuts_provider_unittest.cc matches); matches 651 chrome/browser/autocomplete/shortcuts_provider_unittest.cc matches = AutocompleteMatch::ClassificationsFromString("0,4,9,0"); matches 652 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ClassifyTest classify_test6(ASCIIToUTF16("html password example"), matches); matches 667 chrome/browser/autocomplete/shortcuts_provider_unittest.cc matches = AutocompleteMatch::ClassificationsFromString("0,1,11,0"); matches 668 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ClassifyTest classify_test7(ASCIIToUTF16("http://a.co is great"), matches); matches 109 chrome/browser/bookmarks/bookmark_index.cc Matches matches; matches 111 chrome/browser/bookmarks/bookmark_index.cc if (!GetBookmarksWithTitleMatchingTerm(terms[i], i == 0, &matches)) matches 116 chrome/browser/bookmarks/bookmark_index.cc SortMatches(matches, &node_typed_counts); matches 135 chrome/browser/bookmarks/bookmark_index.cc void BookmarkIndex::SortMatches(const Matches& matches, matches 145 chrome/browser/bookmarks/bookmark_index.cc for (Matches::const_iterator i = matches.begin(); i != matches.end(); ++i) matches 197 chrome/browser/bookmarks/bookmark_index.cc Matches* matches) { matches 210 chrome/browser/bookmarks/bookmark_index.cc matches->push_back(match); matches 213 chrome/browser/bookmarks/bookmark_index.cc CombineMatchesInPlace(i, matches); matches 222 chrome/browser/bookmarks/bookmark_index.cc matches->push_back(match); matches 232 chrome/browser/bookmarks/bookmark_index.cc CombineMatches(i, *matches, &result); matches 235 chrome/browser/bookmarks/bookmark_index.cc matches->swap(result); matches 237 chrome/browser/bookmarks/bookmark_index.cc return !matches->empty(); matches 241 chrome/browser/bookmarks/bookmark_index.cc Matches* matches) { matches 242 chrome/browser/bookmarks/bookmark_index.cc for (size_t i = 0; i < matches->size(); ) { matches 243 chrome/browser/bookmarks/bookmark_index.cc Match* match = &((*matches)[i]); matches 249 chrome/browser/bookmarks/bookmark_index.cc matches->erase(matches->begin() + i); matches 66 chrome/browser/bookmarks/bookmark_index.h void SortMatches(const Matches& matches, matches 95 chrome/browser/bookmarks/bookmark_index.h Matches* matches); matches 103 chrome/browser/bookmarks/bookmark_index.h Matches* matches); matches 57 chrome/browser/bookmarks/bookmark_index_unittest.cc std::vector<BookmarkTitleMatch> matches; matches 58 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16(query), 1000, &matches); matches 59 chrome/browser/bookmarks/bookmark_index_unittest.cc ASSERT_EQ(expected_titles.size(), matches.size()); matches 62 chrome/browser/bookmarks/bookmark_index_unittest.cc for (size_t j = 0; j < matches.size(); ++j) { matches 63 chrome/browser/bookmarks/bookmark_index_unittest.cc if (ASCIIToUTF16(expected_titles[i]) == matches[j].node->GetTitle()) { matches 64 chrome/browser/bookmarks/bookmark_index_unittest.cc matches.erase(matches.begin() + j); matches 74 chrome/browser/bookmarks/bookmark_index_unittest.cc BookmarkTitleMatch::MatchPositions* matches) { matches 81 chrome/browser/bookmarks/bookmark_index_unittest.cc matches->push_back(BookmarkTitleMatch::MatchPosition()); matches 85 chrome/browser/bookmarks/bookmark_index_unittest.cc matches->back().first = chunks0; matches 86 chrome/browser/bookmarks/bookmark_index_unittest.cc matches->back().second = chunks1; matches 93 chrome/browser/bookmarks/bookmark_index_unittest.cc std::vector<BookmarkTitleMatch> matches; matches 94 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16(query), 1000, &matches); matches 95 chrome/browser/bookmarks/bookmark_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 96 chrome/browser/bookmarks/bookmark_index_unittest.cc const BookmarkTitleMatch& match = matches[0]; matches 182 chrome/browser/bookmarks/bookmark_index_unittest.cc std::vector<BookmarkTitleMatch> matches; matches 184 chrome/browser/bookmarks/bookmark_index_unittest.cc base::UTF8ToUTF16(data[i].query), 10, &matches); matches 185 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(1u, matches.size()); matches 246 chrome/browser/bookmarks/bookmark_index_unittest.cc std::vector<BookmarkTitleMatch> matches; matches 247 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16("ABc"), 1, &matches); matches 248 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(1U, matches.size()); matches 258 chrome/browser/bookmarks/bookmark_index_unittest.cc std::vector<BookmarkTitleMatch> matches; matches 259 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16("i"), 100, &matches); matches 260 chrome/browser/bookmarks/bookmark_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 261 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_TRUE(matches[0].node == n1); matches 262 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_TRUE(matches[0].match_positions.empty()); matches 323 chrome/browser/bookmarks/bookmark_index_unittest.cc std::vector<BookmarkTitleMatch> matches; matches 324 chrome/browser/bookmarks/bookmark_index_unittest.cc model->GetBookmarksWithTitlesMatching(ASCIIToUTF16("google"), 4, &matches); matches 331 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(4, static_cast<int>(matches.size())); matches 332 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[0].url, matches[0].node->url()); matches 333 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[3].url, matches[1].node->url()); matches 334 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[2].url, matches[2].node->url()); matches 335 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[1].url, matches[3].node->url()); matches 337 chrome/browser/bookmarks/bookmark_index_unittest.cc matches.clear(); matches 339 chrome/browser/bookmarks/bookmark_index_unittest.cc model->GetBookmarksWithTitlesMatching(ASCIIToUTF16("google"), 2, &matches); matches 341 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(2, static_cast<int>(matches.size())); matches 342 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[0].url, matches[0].node->url()); matches 343 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[3].url, matches[1].node->url()); matches 744 chrome/browser/bookmarks/bookmark_model.cc std::vector<BookmarkTitleMatch>* matches) { matches 748 chrome/browser/bookmarks/bookmark_model.cc index_->GetBookmarksWithTitlesMatching(text, max_count, matches); matches 404 chrome/browser/bookmarks/bookmark_model.h std::vector<BookmarkTitleMatch>* matches); matches 29 chrome/browser/do_not_track_browsertest.cc int matches = ui_test_utils::FindInPage( matches 35 chrome/browser/do_not_track_browsertest.cc EXPECT_EQ(1, matches); matches 50 chrome/browser/do_not_track_browsertest.cc int matches = ui_test_utils::FindInPage( matches 56 chrome/browser/do_not_track_browsertest.cc EXPECT_EQ(1, matches); matches 33 chrome/browser/extensions/api/cookies/cookies_unittest.cc const bool matches; matches 176 chrome/browser/extensions/api/cookies/cookies_unittest.cc EXPECT_EQ(tests[i].matches, filter.MatchesCookie(cookie)); matches 87 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc std::set<const WebRequestRule*> matches = GetMatches(request_data); matches 94 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc ordered_matches.reserve(matches.size()); matches 95 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc for (std::set<const WebRequestRule*>::iterator i = matches.begin(); matches 96 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc i != matches.end(); ++i) { matches 280 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc std::set<const WebRequestRule*> matches; matches 287 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc matches = registry->GetMatches(request_data); matches 288 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc EXPECT_EQ(2u, matches.size()); matches 291 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc for (std::set<const WebRequestRule*>::const_iterator it = matches.begin(); matches 292 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc it != matches.end(); ++it) matches 301 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc matches = registry->GetMatches(request_data); matches 302 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc EXPECT_EQ(1u, matches.size()); matches 305 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc EXPECT_EQ(expected_pair, (*matches.begin())->id()); matches 552 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc std::set<const WebRequestRule*> matches = registry->GetMatches(request_data); matches 553 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc EXPECT_EQ(2u, matches.size()); matches 591 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc std::set<const WebRequestRule*> matches; matches 598 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc matches = registry->GetMatches(request_data); matches 599 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc EXPECT_EQ(1u, matches.size()); matches 602 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc EXPECT_EQ(expected_pair, (*matches.begin())->id()); matches 632 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc std::set<const WebRequestRule*> matches; matches 657 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc matches = registry->GetMatches(request_data); matches 661 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc EXPECT_EQ(1u, matches.size()); matches 664 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc (*matches.begin())->id()); matches 244 chrome/browser/extensions/api/messaging/message_service.cc externally_connectable->matches.MatchesURL(source_url); matches 110 chrome/browser/extensions/convert_user_script.cc base::ListValue* matches = new base::ListValue(); matches 114 chrome/browser/extensions/convert_user_script.cc matches->Append(new base::StringValue(i->GetAsString())); matches 118 chrome/browser/extensions/convert_user_script.cc matches->Append(new base::StringValue("http://*/*")); matches 119 chrome/browser/extensions/convert_user_script.cc matches->Append(new base::StringValue("https://*/*")); matches 141 chrome/browser/extensions/convert_user_script.cc content_script->Set(keys::kMatches, matches); matches 20 chrome/browser/history/history_types_unittest.cc const size_t* matches = result.MatchesForURL(result[i].url(), &match_count); matches 24 chrome/browser/history/history_types_unittest.cc if (matches[match] == i) { matches 64 chrome/browser/history/history_types_unittest.cc const size_t* matches = results.MatchesForURL(url1, &match_count); matches 66 chrome/browser/history/history_types_unittest.cc EXPECT_TRUE((matches[0] == 0 && matches[1] == 1) || matches 67 chrome/browser/history/history_types_unittest.cc (matches[0] == 1 && matches[1] == 0)); matches 70 chrome/browser/history/history_types_unittest.cc matches = results.MatchesForURL(url2, &match_count); matches 72 chrome/browser/history/history_types_unittest.cc EXPECT_TRUE(matches[0] == 2); matches 79 chrome/browser/history/history_types_unittest.cc matches = results.MatchesForURL(url1, &match_count); matches 81 chrome/browser/history/history_types_unittest.cc EXPECT_TRUE(matches[0] == 0); matches 82 chrome/browser/history/history_types_unittest.cc matches = results.MatchesForURL(url2, &match_count); matches 84 chrome/browser/history/history_types_unittest.cc EXPECT_TRUE(matches[0] == 1); matches 108 chrome/browser/history/history_types_unittest.cc const size_t* matches = results.MatchesForURL(url2, &match_count); matches 110 chrome/browser/history/history_types_unittest.cc EXPECT_TRUE(matches[0] == 0); matches 63 chrome/browser/history/in_memory_url_index_types.cc TermMatches matches; matches 67 chrome/browser/history/in_memory_url_index_types.cc matches.push_back(TermMatch(term_num, location, term.length())); matches 68 chrome/browser/history/in_memory_url_index_types.cc return matches; matches 76 chrome/browser/history/in_memory_url_index_types.cc TermMatches SortAndDeoverlapMatches(const TermMatches& matches) { matches 77 chrome/browser/history/in_memory_url_index_types.cc if (matches.empty()) matches 78 chrome/browser/history/in_memory_url_index_types.cc return matches; matches 79 chrome/browser/history/in_memory_url_index_types.cc TermMatches sorted_matches = matches; matches 93 chrome/browser/history/in_memory_url_index_types.cc std::vector<size_t> OffsetsFromTermMatches(const TermMatches& matches) { matches 95 chrome/browser/history/in_memory_url_index_types.cc for (TermMatches::const_iterator i = matches.begin(); i != matches.end(); ++i) matches 100 chrome/browser/history/in_memory_url_index_types.cc TermMatches ReplaceOffsetsInTermMatches(const TermMatches& matches, matches 102 chrome/browser/history/in_memory_url_index_types.cc DCHECK_EQ(matches.size(), offsets.size()); matches 105 chrome/browser/history/in_memory_url_index_types.cc for (TermMatches::const_iterator term_iter = matches.begin(); matches 106 chrome/browser/history/in_memory_url_index_types.cc term_iter != matches.end(); ++term_iter, ++offset_iter) { matches 70 chrome/browser/history/in_memory_url_index_types.h TermMatches SortAndDeoverlapMatches(const TermMatches& matches); matches 73 chrome/browser/history/in_memory_url_index_types.h std::vector<size_t> OffsetsFromTermMatches(const TermMatches& matches); matches 77 chrome/browser/history/in_memory_url_index_types.h TermMatches ReplaceOffsetsInTermMatches(const TermMatches& matches, matches 453 chrome/browser/history/in_memory_url_index_unittest.cc ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( matches 455 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 458 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(5, matches[0].url_info.id()); matches 459 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ("http://drudgereport.com/", matches[0].url_info.url().spec()); matches 460 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(ASCIIToUTF16("DRUDGE REPORT 2010"), matches[0].url_info.title()); matches 461 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(matches[0].can_inline()); matches 465 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("DrudgeReport "), matches 467 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 468 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(5, matches[0].url_info.id()); matches 469 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ("http://drudgereport.com/", matches[0].url_info.url().spec()); matches 470 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(ASCIIToUTF16("DRUDGE REPORT 2010"), matches[0].url_info.title()); matches 471 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_FALSE(matches[0].can_inline()); matches 474 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("drudge"), matches 476 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(2U, matches.size()); matches 478 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_GE(matches[0].raw_score(), matches[1].raw_score()); matches 481 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms( matches 483 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 485 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_GT(matches[0].raw_score(), 900); matches 486 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(32, matches[0].url_info.id()); matches 488 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.url().spec()); // Note: URL gets lowercased. matches 490 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.title()); matches 491 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_FALSE(matches[0].can_inline()); matches 494 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("qui c"), matches 496 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 498 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_LT(matches[0].raw_score(), 500); matches 499 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(33, matches[0].url_info.id()); matches 501 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.url().spec()); // Note: URL gets lowercased. matches 503 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.title()); matches 504 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_FALSE(matches[0].can_inline()); matches 507 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("Mice"), matches 509 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 510 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(30, matches[0].url_info.id()); matches 511 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_FALSE(matches[0].can_inline()); matches 514 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("1% wikipedia"), matches 516 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 517 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(35, matches[0].url_info.id()); matches 519 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.url().spec()); matches 523 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("fubar"), matches 525 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 526 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(34, matches[0].url_info.id()); matches 527 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ("http://fubarfubarandfubar.com/", matches[0].url_info.url().spec()); matches 529 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.title()); matches 530 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(matches[0].can_inline()); matches 535 chrome/browser/history/in_memory_url_index_unittest.cc ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( matches 537 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(0U, matches.size()); matches 540 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("DrudReport"), 10u); matches 541 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(0U, matches.size()); matches 545 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("DrudReport"), 4u); matches 546 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 547 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ("http://drudgereport.com/", matches[0].url_info.url().spec()); matches 548 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(ASCIIToUTF16("DRUDGE REPORT 2010"), matches[0].url_info.title()); matches 552 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms( matches 554 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(0U, matches.size()); matches 557 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms( matches 559 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(0U, matches.size()); matches 563 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms( matches 565 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 567 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.url().spec()); matches 570 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.title()); matches 575 chrome/browser/history/in_memory_url_index_unittest.cc ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( matches 577 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 578 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(matches[0].can_inline()); matches 581 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("drudgere"), matches 583 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 584 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(matches[0].can_inline()); matches 587 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("www.atdmt"), matches 589 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(0U, matches.size()); matches 592 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("atdmt"), matches 594 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 595 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_FALSE(matches[0].can_inline()); matches 598 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("view.atdmt"), matches 600 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 601 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(matches[0].can_inline()); matches 604 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("view.atdmt"), matches 606 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 607 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(matches[0].can_inline()); matches 610 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("cnn.com"), matches 612 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(2U, matches.size()); matches 614 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(matches[0].can_inline() != matches[1].can_inline()); matches 617 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("www.cnn.com"), matches 619 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 620 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(matches[0].can_inline()); matches 623 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("ww.cnn.com"), matches 625 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 628 chrome/browser/history/in_memory_url_index_unittest.cc matches = matches 631 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 632 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(matches[0].can_inline()); matches 636 chrome/browser/history/in_memory_url_index_unittest.cc matches = matches 639 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(0U, matches.size()); matches 647 chrome/browser/history/in_memory_url_index_unittest.cc ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( matches 649 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 650 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("atdmt.view"), matches 652 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(0U, matches.size()); matches 653 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("view.atdmt"), matches 655 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 666 chrome/browser/history/in_memory_url_index_unittest.cc ScoredHistoryMatches matches = matches 669 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(AutocompleteProvider::kMaxMatches, matches.size()); matches 688 chrome/browser/history/in_memory_url_index_unittest.cc ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( matches 690 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 693 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(1, matches[0].url_info.id()); matches 695 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.url().spec()); matches 698 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.title()); matches 705 chrome/browser/history/in_memory_url_index_unittest.cc ScoredHistoryMatches matches = matches 707 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 711 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(expected_id, matches[0].url_info.id()); matches 713 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.url().spec()); matches 716 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.title()); matches 717 chrome/browser/history/in_memory_url_index_unittest.cc URLRow old_row(matches[0].url_info); matches 721 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(new_terms, base::string16::npos); matches 722 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(0U, matches.size()); matches 729 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(new_terms, base::string16::npos); matches 730 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 731 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(expected_id, matches[0].url_info.id()); matches 732 chrome/browser/history/in_memory_url_index_unittest.cc matches = matches 734 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(0U, matches.size()); matches 740 chrome/browser/history/in_memory_url_index_unittest.cc ScoredHistoryMatches matches = matches 743 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 744 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(28, matches[0].url_info.id()); matches 746 chrome/browser/history/in_memory_url_index_unittest.cc matches[0].url_info.url().spec()); matches 748 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("ABRACAD"), matches 750 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 751 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(28, matches[0].url_info.id()); matches 753 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("ABRACADABRA"), matches 755 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 756 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(28, matches[0].url_info.id()); matches 758 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("ABRACADABR"), matches 760 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 761 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(28, matches[0].url_info.id()); matches 763 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(ASCIIToUTF16("ABRACA"), matches 765 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 766 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_EQ(28, matches[0].url_info.id()); matches 858 chrome/browser/history/in_memory_url_index_unittest.cc ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( matches 860 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 863 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(DeleteURL(matches[0].url_info.url())); matches 873 chrome/browser/history/in_memory_url_index_unittest.cc ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( matches 875 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_EQ(1U, matches.size()); matches 881 chrome/browser/history/in_memory_url_index_unittest.cc deleted_details.rows.push_back(matches[0].url_info); matches 35 chrome/browser/history/query_parser.cc void CoalesceMatchesFrom(size_t index, Snippet::MatchPositions* matches) { matches 36 chrome/browser/history/query_parser.cc Snippet::MatchPosition& mp = (*matches)[index]; matches 37 chrome/browser/history/query_parser.cc for (Snippet::MatchPositions::iterator i = matches->begin() + index + 1; matches 38 chrome/browser/history/query_parser.cc i != matches->end(); ) { matches 41 chrome/browser/history/query_parser.cc i = matches->erase(i); matches 50 chrome/browser/history/query_parser.cc void CoalseAndSortMatchPositions(Snippet::MatchPositions* matches) { matches 51 chrome/browser/history/query_parser.cc std::sort(matches->begin(), matches->end(), &CompareMatchPosition); matches 54 chrome/browser/history/query_parser.cc for (size_t i = 0; i < matches->size(); ++i) matches 55 chrome/browser/history/query_parser.cc CoalesceMatchesFrom(i, matches); matches 382 chrome/browser/history/query_parser.cc Snippet::MatchPositions matches; matches 384 chrome/browser/history/query_parser.cc if (!query_nodes[i]->HasMatchIn(query_words, &matches)) matches 394 chrome/browser/history/query_parser.cc CoalseAndSortMatchPositions(&matches); matches 395 chrome/browser/history/query_parser.cc match_positions->swap(matches); matches 94 chrome/browser/history/query_parser_unittest.cc const bool matches; matches 123 chrome/browser/history/query_parser_unittest.cc ASSERT_EQ(data[i].matches, matches 52 chrome/browser/history/snippet.h void ComputeSnippet(const MatchPositions& matches, matches 56 chrome/browser/history/snippet.h const MatchPositions& matches() const { return matches_; } matches 126 chrome/browser/history/snippet_unittest.cc for (match = snippet.matches().begin(); matches 127 chrome/browser/history/snippet_unittest.cc match != snippet.matches().end(); ++match) { matches 244 chrome/browser/history/snippet_unittest.cc Snippet::MatchPositions matches; matches 245 chrome/browser/history/snippet_unittest.cc Snippet::ExtractMatchPositions(data[i].offsets_string, "0", &matches); matches 246 chrome/browser/history/snippet_unittest.cc EXPECT_EQ(data[i].expected_match_count, matches.size()); matches 248 chrome/browser/history/snippet_unittest.cc EXPECT_EQ(data[i].expected_matches[2 * j], matches[j].first); matches 249 chrome/browser/history/snippet_unittest.cc EXPECT_EQ(data[i].expected_matches[2 * j + 1], matches[j].second); matches 520 chrome/browser/history/url_database.cc std::vector<KeywordSearchTermVisit>* matches) { matches 551 chrome/browser/history/url_database.cc matches->push_back(visit); matches 219 chrome/browser/history/url_database.h std::vector<KeywordSearchTermVisit>* matches); matches 169 chrome/browser/history/url_database_unittest.cc std::vector<KeywordSearchTermVisit> matches; matches 170 chrome/browser/history/url_database_unittest.cc GetMostRecentKeywordSearchTerms(keyword_id, keyword, 10, &matches); matches 171 chrome/browser/history/url_database_unittest.cc ASSERT_EQ(1U, matches.size()); matches 172 chrome/browser/history/url_database_unittest.cc ASSERT_EQ(keyword, matches[0].term); matches 184 chrome/browser/history/url_database_unittest.cc matches.clear(); matches 185 chrome/browser/history/url_database_unittest.cc GetMostRecentKeywordSearchTerms(keyword_id, keyword, 10, &matches); matches 186 chrome/browser/history/url_database_unittest.cc ASSERT_EQ(0U, matches.size()); matches 210 chrome/browser/history/url_database_unittest.cc std::vector<KeywordSearchTermVisit> matches; matches 211 chrome/browser/history/url_database_unittest.cc GetMostRecentKeywordSearchTerms(1, base::UTF8ToUTF16("visit"), 10, &matches); matches 212 chrome/browser/history/url_database_unittest.cc ASSERT_EQ(0U, matches.size()); matches 90 chrome/browser/history/visit_database_unittest.cc std::vector<VisitRow> matches; matches 91 chrome/browser/history/visit_database_unittest.cc EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches)); matches 92 chrome/browser/history/visit_database_unittest.cc EXPECT_EQ(static_cast<size_t>(2), matches.size()); matches 95 chrome/browser/history/visit_database_unittest.cc EXPECT_TRUE(IsVisitInfoEqual(matches[0], visit_info1) && matches 96 chrome/browser/history/visit_database_unittest.cc IsVisitInfoEqual(matches[1], visit_info2)); matches 119 chrome/browser/history/visit_database_unittest.cc std::vector<VisitRow> matches; matches 120 chrome/browser/history/visit_database_unittest.cc EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches)); matches 121 chrome/browser/history/visit_database_unittest.cc EXPECT_EQ(static_cast<size_t>(3), matches.size()); matches 122 chrome/browser/history/visit_database_unittest.cc EXPECT_TRUE(IsVisitInfoEqual(matches[0], visit_info1) && matches 123 chrome/browser/history/visit_database_unittest.cc IsVisitInfoEqual(matches[1], visit_info2) && matches 124 chrome/browser/history/visit_database_unittest.cc IsVisitInfoEqual(matches[2], visit_info3)); matches 132 chrome/browser/history/visit_database_unittest.cc matches.clear(); matches 133 chrome/browser/history/visit_database_unittest.cc EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches)); matches 134 chrome/browser/history/visit_database_unittest.cc EXPECT_EQ(static_cast<size_t>(2), matches.size()); matches 135 chrome/browser/history/visit_database_unittest.cc EXPECT_TRUE(IsVisitInfoEqual(matches[0], visit_info1) && matches 136 chrome/browser/history/visit_database_unittest.cc IsVisitInfoEqual(matches[1], visit_info3)); matches 368 chrome/browser/history/visit_database_unittest.cc std::vector<VisitRow> matches; matches 369 chrome/browser/history/visit_database_unittest.cc ASSERT_TRUE(GetVisitsForURL(111, &matches)); matches 370 chrome/browser/history/visit_database_unittest.cc ASSERT_EQ(1U, matches.size()); matches 372 chrome/browser/history/visit_database_unittest.cc GetVisitsSource(matches, &sources); matches 375 chrome/browser/history/visit_database_unittest.cc ASSERT_TRUE(GetVisitsForURL(112, &matches)); matches 376 chrome/browser/history/visit_database_unittest.cc ASSERT_EQ(1U, matches.size()); matches 377 chrome/browser/history/visit_database_unittest.cc GetVisitsSource(matches, &sources); matches 379 chrome/browser/history/visit_database_unittest.cc EXPECT_EQ(SOURCE_SYNCED, sources[matches[0].visit_id]); matches 381 chrome/browser/history/visit_database_unittest.cc ASSERT_TRUE(GetVisitsForURL(113, &matches)); matches 382 chrome/browser/history/visit_database_unittest.cc ASSERT_EQ(1U, matches.size()); matches 383 chrome/browser/history/visit_database_unittest.cc GetVisitsSource(matches, &sources); matches 385 chrome/browser/history/visit_database_unittest.cc EXPECT_EQ(SOURCE_EXTENSION, sources[matches[0].visit_id]); matches 83 chrome/browser/importer/profile_writer_unittest.cc std::vector<BookmarkTitleMatch> matches; matches 87 chrome/browser/importer/profile_writer_unittest.cc &matches); matches 88 chrome/browser/importer/profile_writer_unittest.cc EXPECT_EQ(expected, matches.size()); matches 89 chrome/browser/importer/profile_writer_unittest.cc matches.clear(); matches 188 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc bool matches = false; matches 192 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc matches = true; matches 197 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc return !matches; matches 199 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc return matches; matches 50 chrome/browser/password_manager/password_store_mac.cc void FindMatchingItems(std::vector<SecKeychainItemRef>* matches); matches 571 chrome/browser/password_manager/password_store_mac.cc std::vector<PasswordForm*> matches; matches 585 chrome/browser/password_manager/password_store_mac.cc matches.push_back(form_with_password.release()); matches 588 chrome/browser/password_manager/password_store_mac.cc return matches; matches 627 chrome/browser/password_manager/password_store_mac.cc std::vector<SecKeychainItemRef> matches = matches 630 chrome/browser/password_manager/password_store_mac.cc for (std::vector<SecKeychainItemRef>::iterator i = matches.begin(); matches 631 chrome/browser/password_manager/password_store_mac.cc i != matches.end(); ++i) { matches 635 chrome/browser/password_manager/password_store_mac.cc return !matches.empty(); matches 646 chrome/browser/password_manager/password_store_mac.cc std::vector<SecKeychainItemRef> matches; matches 651 chrome/browser/password_manager/password_store_mac.cc keychain_search.FindMatchingItems(&matches); matches 653 chrome/browser/password_manager/password_store_mac.cc return matches; matches 747 chrome/browser/password_manager/password_store_mac.cc std::vector<SecKeychainItemRef> matches = MatchingKeychainItems( matches 750 chrome/browser/password_manager/password_store_mac.cc if (matches.empty()) { matches 754 chrome/browser/password_manager/password_store_mac.cc for (std::vector<SecKeychainItemRef>::iterator i = matches.begin() + 1; matches 755 chrome/browser/password_manager/password_store_mac.cc i != matches.end(); ++i) { matches 758 chrome/browser/password_manager/password_store_mac.cc return matches[0]; matches 766 chrome/browser/password_manager/password_store_mac.cc std::vector<SecKeychainItemRef> matches; matches 777 chrome/browser/password_manager/password_store_mac.cc return matches; matches 787 chrome/browser/password_manager/password_store_mac.cc keychain_search.FindMatchingItems(&matches); matches 788 chrome/browser/password_manager/password_store_mac.cc return matches; matches 428 chrome/browser/search_engines/template_url_service.cc TemplateURLVector* matches) const { matches 432 chrome/browser/search_engines/template_url_service.cc DCHECK(matches != NULL); matches 433 chrome/browser/search_engines/template_url_service.cc DCHECK(matches->empty()); // The code for exact matches assumes this. matches 452 chrome/browser/search_engines/template_url_service.cc matches->push_back(i->second); matches 140 chrome/browser/search_engines/template_url_service.h TemplateURLVector* matches) const; matches 84 chrome/browser/sync/test/integration/passwords_helper.cc void GetLogins(PasswordStore* store, std::vector<PasswordForm>& matches) { matches 88 chrome/browser/sync/test/integration/passwords_helper.cc PasswordStoreConsumerHelper consumer(&matches); matches 32 chrome/browser/sync/test/integration/passwords_helper.h std::vector<autofill::PasswordForm>& matches); matches 421 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc ACMatches matches; matches 425 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc matches.push_back(match); matches 426 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc view_->result_.AppendMatches(matches); matches 439 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc ACMatches matches; matches 444 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc matches.push_back(match); matches 450 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc matches.push_back(match); matches 452 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc view_->result_.AppendMatches(matches); matches 466 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc ACMatches matches; matches 470 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc matches.push_back(match); matches 471 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc view_->result_.AppendMatches(matches); matches 235 chrome/browser/ui/search/instant_extended_interactive_uitest.cc matches().size(); matches 102 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc (*it)->matches().begin(), (*it)->matches().end(), &result_to_output); matches 758 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php if (preg_match_all('/('.($only_allow_oauth_parameters ? 'oauth_' : '').'[a-z_-]*)=(:?"([^"]*)"|([^,]*))/', $header, $matches)) { matches 759 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php foreach ($matches[1] as $i => $h) { matches 760 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $params[$h] = OAuthUtil::urldecode_rfc3986(empty($matches[3][$i]) ? $matches[4][$i] : $matches[3][$i]); matches 114 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::ListValue* matches = NULL; matches 115 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc if (!content_script->GetList(keys::kMatches, &matches)) { matches 122 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc if (matches->GetSize() == 0) { matches 128 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc for (size_t j = 0; j < matches->GetSize(); ++j) { matches 130 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc if (!matches->GetString(j, &match_str)) { matches 70 chrome/common/extensions/manifest_handlers/externally_connectable.cc if (!info->matches.is_empty()) { matches 100 chrome/common/extensions/manifest_handlers/externally_connectable.cc URLPatternSet matches; matches 102 chrome/common/extensions/manifest_handlers/externally_connectable.cc if (externally_connectable->matches) { matches 104 chrome/common/extensions/manifest_handlers/externally_connectable.cc externally_connectable->matches->begin(); matches 105 chrome/common/extensions/manifest_handlers/externally_connectable.cc it != externally_connectable->matches->end(); ++it) { matches 158 chrome/common/extensions/manifest_handlers/externally_connectable.cc matches.AddPattern(pattern); matches 181 chrome/common/extensions/manifest_handlers/externally_connectable.cc if (!externally_connectable->matches && matches 192 chrome/common/extensions/manifest_handlers/externally_connectable.cc new ExternallyConnectableInfo(matches, ids, all_ids, matches 199 chrome/common/extensions/manifest_handlers/externally_connectable.cc const URLPatternSet& matches, matches 203 chrome/common/extensions/manifest_handlers/externally_connectable.cc : matches(matches), ids(Sorted(ids)), all_ids(all_ids), matches 66 chrome/common/extensions/manifest_handlers/externally_connectable.h const URLPatternSet matches; matches 86 chrome/common/extensions/manifest_handlers/externally_connectable.h ExternallyConnectableInfo(const URLPatternSet& matches, matches 52 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com"))); matches 53 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com/"))); matches 54 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://example.com/index.html"))); matches 56 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com"))); matches 57 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com/"))); matches 58 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com/index.html"))); matches 59 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com"))); matches 60 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com/"))); matches 61 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://google.com"))); matches 62 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://google.com/"))); matches 64 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); matches 65 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org/"))); matches 67 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc info->matches.MatchesURL(GURL("http://build.chromium.org/index.html"))); matches 68 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("https://build.chromium.org"))); matches 69 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("https://build.chromium.org/"))); matches 71 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc info->matches.MatchesURL(GURL("http://foo.chromium.org/index.html"))); matches 73 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://yahoo.com"))); matches 74 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://yahoo.com/"))); matches 77 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://appspot.com/foo.html"))); matches 78 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://com"))); matches 79 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://go/here"))); matches 83 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc info->matches.MatchesURL(GURL("http://codereview.appspot.com/foo.html"))); matches 85 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc info->matches.MatchesURL(GURL("http://chromium.com/index.html"))); matches 86 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://here.go/somewhere"))); matches 90 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://no.wildcard.path"))); matches 91 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://no.wildcard.path/"))); matches 92 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL( matches 112 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://google.com/index.html"))); matches 132 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com"))); matches 133 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com/"))); matches 134 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://example.com/index.html"))); matches 136 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com"))); matches 137 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com/"))); matches 138 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com/index.html"))); matches 139 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com"))); matches 140 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com/"))); matches 141 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://google.com"))); matches 142 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://google.com/"))); matches 144 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); matches 145 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org/"))); matches 147 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc info->matches.MatchesURL(GURL("http://build.chromium.org/index.html"))); matches 148 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("https://build.chromium.org"))); matches 149 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("https://build.chromium.org/"))); matches 151 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc info->matches.MatchesURL(GURL("http://foo.chromium.org/index.html"))); matches 153 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://yahoo.com"))); matches 154 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://yahoo.com/"))); matches 178 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com"))); matches 179 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://example.com/index.html"))); matches 198 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://google.com/index.html"))); matches 252 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.ContainsPattern( matches 254 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://example.com"))); matches 255 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); matches 264 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.ContainsPattern( matches 266 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://example.com"))); matches 267 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); matches 278 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.ContainsPattern( matches 280 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://example.com"))); matches 281 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); matches 292 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.ContainsPattern( matches 294 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://example.com"))); matches 295 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); matches 306 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.ContainsPattern( matches 308 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://example.com"))); matches 309 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); matches 743 chrome/renderer/extensions/dispatcher.cc if (info && info->matches.MatchesURL(context->GetURL())) { matches 39 chrome/test/mini_installer_test/installer_path_provider.cc std::vector<FilePathInfo> matches; matches 45 chrome/test/mini_installer_test/installer_path_provider.cc matches.push_back(entry); matches 48 chrome/test/mini_installer_test/installer_path_provider.cc if (matches.empty()) matches 51 chrome/test/mini_installer_test/installer_path_provider.cc std::sort(matches.begin(), matches.end(), CompareDate); matches 53 chrome/test/mini_installer_test/installer_path_provider.cc for (current = matches.begin(); current != matches.end(); ++current) { matches 140 chromeos/network/client_cert_resolver.cc NetworkCertMatches* matches) { matches 191 chromeos/network/client_cert_resolver.cc matches->push_back(ClientCertResolver::NetworkAndMatchingCert( matches 421 chromeos/network/client_cert_resolver.cc NetworkCertMatches* matches = new NetworkCertMatches; matches 427 chromeos/network/client_cert_resolver.cc matches), matches 430 chromeos/network/client_cert_resolver.cc base::Owned(matches))); matches 433 chromeos/network/client_cert_resolver.cc void ClientCertResolver::ConfigureCertificates(NetworkCertMatches* matches) { matches 434 chromeos/network/client_cert_resolver.cc for (NetworkCertMatches::const_iterator it = matches->begin(); matches 435 chromeos/network/client_cert_resolver.cc it != matches->end(); ++it) { matches 70 chromeos/network/client_cert_resolver.h void ConfigureCertificates(std::vector<NetworkAndMatchingCert>* matches); matches 1097 components/autofill/core/browser/form_structure.cc const InputFieldComparator& matches, matches 1103 components/autofill/core/browser/form_structure.cc if (matches.Run(types[j], *field(i))) { matches 151 components/autofill/core/browser/form_structure.h const InputFieldComparator& matches, matches 34 components/autofill/core/common/password_form_fill_data.cc const PasswordFormMap& matches, matches 61 components/autofill/core/common/password_form_fill_data.cc for (iter = matches.begin(); iter != matches.end(); iter++) { matches 79 components/autofill/core/common/password_form_fill_data.h const PasswordFormMap& matches, matches 47 components/autofill/core/common/password_form_fill_data_unittest.cc PasswordFormMap matches; matches 51 components/autofill/core/common/password_form_fill_data_unittest.cc matches, matches 66 components/autofill/core/common/password_form_fill_data_unittest.cc matches, matches 142 components/autofill/core/common/password_form_fill_data_unittest.cc PasswordFormMap matches; matches 143 components/autofill/core/common/password_form_fill_data_unittest.cc matches[exact_match.username_value] = &exact_match; matches 144 components/autofill/core/common/password_form_fill_data_unittest.cc matches[public_suffix_match.username_value] = &public_suffix_match; matches 148 components/autofill/core/common/password_form_fill_data_unittest.cc matches, matches 123 components/password_manager/core/browser/password_manager.h const autofill::PasswordFormMap& matches) const; matches 51 components/policy/core/browser/browser_policy_connector.cc UBool match = matcher.matches(status); matches 301 components/signin/core/browser/signin_manager.cc UBool match = matcher.matches(status); matches 39 components/url_matcher/regex_set_matcher.cc std::set<StringPattern::ID>* matches) const { matches 40 components/url_matcher/regex_set_matcher.cc size_t old_number_of_matches = matches->size(); matches 58 components/url_matcher/regex_set_matcher.cc matches->insert(id); matches 60 components/url_matcher/regex_set_matcher.cc return old_number_of_matches != matches->size(); matches 45 components/url_matcher/regex_set_matcher.h std::set<StringPattern::ID>* matches) const; matches 110 components/url_matcher/substring_set_matcher.cc std::set<StringPattern::ID>* matches) const { matches 111 components/url_matcher/substring_set_matcher.cc const size_t old_number_of_matches = matches->size(); matches 114 components/url_matcher/substring_set_matcher.cc matches->insert(tree_[0].matches().begin(), tree_[0].matches().end()); matches 126 components/url_matcher/substring_set_matcher.cc matches->insert(tree_[current_node].matches().begin(), matches 127 components/url_matcher/substring_set_matcher.cc tree_[current_node].matches().end()); matches 133 components/url_matcher/substring_set_matcher.cc return old_number_of_matches != matches->size(); matches 227 components/url_matcher/substring_set_matcher.cc tree_[leads_to].AddMatches(tree_[follow_in_case_of_failure].matches()); matches 268 components/url_matcher/substring_set_matcher.cc const SubstringSetMatcher::AhoCorasickNode::Matches& matches) { matches 269 components/url_matcher/substring_set_matcher.cc matches_.insert(matches.begin(), matches.end()); matches 46 components/url_matcher/substring_set_matcher.h std::set<StringPattern::ID>* matches) const; matches 103 components/url_matcher/substring_set_matcher.h void AddMatches(const Matches& matches); matches 104 components/url_matcher/substring_set_matcher.h const Matches& matches() const { return matches_; } matches 28 components/url_matcher/substring_set_matcher_unittest.cc std::set<int> matches; matches 29 components/url_matcher/substring_set_matcher_unittest.cc matcher.Match(test_string, &matches); matches 32 components/url_matcher/substring_set_matcher_unittest.cc EXPECT_EQ(expected_matches, matches.size()) << test; matches 33 components/url_matcher/substring_set_matcher_unittest.cc EXPECT_EQ(is_match, matches.find(1) != matches.end()) << test; matches 59 components/url_matcher/substring_set_matcher_unittest.cc std::set<int> matches; matches 60 components/url_matcher/substring_set_matcher_unittest.cc matcher.Match(test_string, &matches); matches 63 components/url_matcher/substring_set_matcher_unittest.cc EXPECT_EQ(expected_matches, matches.size()) << test; matches 64 components/url_matcher/substring_set_matcher_unittest.cc EXPECT_EQ(is_match_1, matches.find(1) != matches.end()) << test; matches 65 components/url_matcher/substring_set_matcher_unittest.cc EXPECT_EQ(is_match_2, matches.find(2) != matches.end()) << test; matches 140 components/url_matcher/substring_set_matcher_unittest.cc std::set<int> matches; matches 141 components/url_matcher/substring_set_matcher_unittest.cc matcher.Match("abd", &matches); matches 142 components/url_matcher/substring_set_matcher_unittest.cc EXPECT_EQ(2u, matches.size()); matches 143 components/url_matcher/substring_set_matcher_unittest.cc EXPECT_TRUE(matches.end() != matches.find(1)); matches 144 components/url_matcher/substring_set_matcher_unittest.cc EXPECT_TRUE(matches.end() != matches.find(2)); matches 150 components/url_matcher/substring_set_matcher_unittest.cc matches.clear(); matches 151 components/url_matcher/substring_set_matcher_unittest.cc matcher.Match("abd", &matches); matches 152 components/url_matcher/substring_set_matcher_unittest.cc EXPECT_EQ(1u, matches.size()); matches 153 components/url_matcher/substring_set_matcher_unittest.cc EXPECT_TRUE(matches.end() != matches.find(1)); matches 154 components/url_matcher/substring_set_matcher_unittest.cc EXPECT_TRUE(matches.end() == matches.find(2)); matches 165 components/url_matcher/substring_set_matcher_unittest.cc std::set<int> matches; matches 166 components/url_matcher/substring_set_matcher_unittest.cc matcher.Match("abd", &matches); matches 167 components/url_matcher/substring_set_matcher_unittest.cc EXPECT_TRUE(matches.empty()); matches 662 components/url_matcher/url_matcher.cc std::set<StringPattern::ID> matches; matches 665 components/url_matcher/url_matcher.cc condition_factory_.CanonicalizeURLForFullSearches(url), &matches); matches 669 components/url_matcher/url_matcher.cc condition_factory_.CanonicalizeURLForComponentSearches(url), &matches); matches 673 components/url_matcher/url_matcher.cc condition_factory_.CanonicalizeURLForRegexSearches(url), &matches); matches 678 components/url_matcher/url_matcher.cc &matches); matches 684 components/url_matcher/url_matcher.cc for (std::set<StringPattern::ID>::const_iterator i = matches.begin(); matches 685 components/url_matcher/url_matcher.cc i != matches.end(); ++i) { matches 701 components/url_matcher/url_matcher.cc if (condition_set_iter->second->IsMatch(matches, url)) matches 111 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java if (!paksToInstall.matcher(file).matches()) { matches 79 content/public/android/javatests/src/org/chromium/content/browser/DownloadInfoTest.java if (methodName.matches("(is|has).*")) { matches 69 extensions/browser/file_highlighter_unittest.cc ManifestHighlighter matches(kManifest, "content_scripts", "matches"); matches 70 extensions/browser/file_highlighter_unittest.cc EXPECT_EQ(kMatchesFeature, matches.GetFeature()); matches 67 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent("some-event", matches 70 extensions/common/event_filter_unittest.cc ASSERT_EQ(0u, matches.size()); matches 80 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent("event2", matches 83 extensions/common/event_filter_unittest.cc ASSERT_EQ(0u, matches.size()); matches 88 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent("event1", matches 90 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.size()); matches 91 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.count(id)); matches 98 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent( matches 100 extensions/common/event_filter_unittest.cc ASSERT_TRUE(matches.empty()); matches 106 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent("event1", matches 109 extensions/common/event_filter_unittest.cc ASSERT_TRUE(matches.empty()); matches 115 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent("event1", matches 117 extensions/common/event_filter_unittest.cc ASSERT_EQ(2u, matches.size()); matches 118 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.count(id1)); matches 119 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.count(id2)); matches 127 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent( matches 129 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.size()); matches 130 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.count(id)); matches 142 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent("event1", matches 144 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.size()); matches 145 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.count(id)); matches 148 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent("event1", matches 150 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.size()); matches 151 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.count(id)); matches 154 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent("event1", matches 156 extensions/common/event_filter_unittest.cc ASSERT_EQ(0u, matches.size()); matches 166 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent("event1", matches 168 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.size()); matches 169 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.count(id2)); matches 178 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent("event1", matches 180 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.size()); matches 181 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.count(id1)); matches 222 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent("event1", matches 224 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.size()); matches 225 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.count(id)); matches 240 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent( matches 242 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.size()); matches 243 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.count(id)); matches 251 extensions/common/event_filter_unittest.cc std::set<int> matches = event_filter_.MatchEvent( matches 253 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.size()); matches 254 extensions/common/event_filter_unittest.cc ASSERT_EQ(1u, matches.count(id)); matches 126 extensions/common/features/simple_feature.cc const base::ListValue* matches = NULL; matches 127 extensions/common/features/simple_feature.cc if (value->GetList(key, &matches)) { matches 129 extensions/common/features/simple_feature.cc for (size_t i = 0; i < matches->GetSize(); ++i) { matches 131 extensions/common/features/simple_feature.cc CHECK(matches->GetString(i, &pattern)); matches 290 extensions/common/url_pattern_unittest.cc const char* matches; matches 308 extensions/common/url_pattern_unittest.cc GURL(kMatch13UrlPatternTestCases[i].matches))) matches 309 extensions/common/url_pattern_unittest.cc << " while matching " << kMatch13UrlPatternTestCases[i].matches; matches 831 google_apis/gaia/gaia_auth_fetcher.cc UserInfoMap matches; matches 835 google_apis/gaia/gaia_auth_fetcher.cc matches[i->first] = i->second; matches 837 google_apis/gaia/gaia_auth_fetcher.cc consumer_->OnGetUserInfoSuccess(matches); matches 33 net/http/http_auth_filter_unittest.cc bool matches; matches 94 net/http/http_auth_filter_unittest.cc EXPECT_EQ(urls[i].matches, filter.IsValid(urls[i].url, urls[i].target)) matches 73 rlz/lib/crc8.cc unsigned char check_sum, bool* matches) { matches 74 rlz/lib/crc8.cc if (!matches) matches 77 rlz/lib/crc8.cc *matches = false; matches 85 rlz/lib/crc8.cc *matches = check_sum == calculated_crc; matches 20 rlz/lib/crc8.h bool * matches); matches 32 rlz/lib/crc8_unittest.cc bool matches; matches 37 rlz/lib/crc8_unittest.cc matches = false; matches 43 rlz/lib/crc8_unittest.cc rlz_lib::Crc8::Verify(bytes, length, crc, &matches); matches 44 rlz/lib/crc8_unittest.cc EXPECT_TRUE(matches); matches 48 rlz/lib/crc8_unittest.cc rlz_lib::Crc8::Verify(bytes, length, crc, &matches); matches 49 rlz/lib/crc8_unittest.cc EXPECT_FALSE(matches); matches 1937 third_party/liblouis/overrides/liblouis/compileTranslationTable.c CharsString matches; matches 1941 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (!getToken (nested, &matches, "matches operand")) matches 1947 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (!parseChars (nested, &ruleChars, &matches)) matches 1952 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (!compileSwapDots (nested, &matches, &ruleChars)) matches 286 third_party/lzma_sdk/LzmaEnc.c UInt32 matches[LZMA_MATCH_LEN_MAX * 2 + 2 + 1]; matches 820 third_party/lzma_sdk/LzmaEnc.c numPairs = p->matchFinder.GetMatches(p->matchFinderObj, p->matches); matches 827 third_party/lzma_sdk/LzmaEnc.c printf("%2d %6d | ", p->matches[i], p->matches[i + 1]); matches 832 third_party/lzma_sdk/LzmaEnc.c lenRes = p->matches[numPairs - 2]; matches 836 third_party/lzma_sdk/LzmaEnc.c UInt32 distance = p->matches[numPairs - 1] + 1; matches 934 third_party/lzma_sdk/LzmaEnc.c UInt32 *matches; matches 991 third_party/lzma_sdk/LzmaEnc.c matches = p->matches; matches 994 third_party/lzma_sdk/LzmaEnc.c *backRes = matches[numPairs - 1] + LZMA_NUM_REPS; matches 1078 third_party/lzma_sdk/LzmaEnc.c while (len > matches[offs]) matches 1083 third_party/lzma_sdk/LzmaEnc.c UInt32 distance = matches[offs + 1]; matches 1103 third_party/lzma_sdk/LzmaEnc.c if (len == matches[offs]) matches 1393 third_party/lzma_sdk/LzmaEnc.c for (numPairs = 0; newLen > matches[numPairs]; numPairs += 2); matches 1394 third_party/lzma_sdk/LzmaEnc.c matches[numPairs] = newLen; matches 1406 third_party/lzma_sdk/LzmaEnc.c while (startLen > matches[offs]) matches 1408 third_party/lzma_sdk/LzmaEnc.c curBack = matches[offs + 1]; matches 1429 third_party/lzma_sdk/LzmaEnc.c if (/*_maxMode && */lenTest == matches[offs]) matches 1478 third_party/lzma_sdk/LzmaEnc.c curBack = matches[offs + 1]; matches 1493 third_party/lzma_sdk/LzmaEnc.c const UInt32 *matches; matches 1532 third_party/lzma_sdk/LzmaEnc.c matches = p->matches; matches 1535 third_party/lzma_sdk/LzmaEnc.c *backRes = matches[numPairs - 1] + LZMA_NUM_REPS; matches 1543 third_party/lzma_sdk/LzmaEnc.c mainDist = matches[numPairs - 1]; matches 1544 third_party/lzma_sdk/LzmaEnc.c while (numPairs > 2 && mainLen == matches[numPairs - 4] + 1) matches 1546 third_party/lzma_sdk/LzmaEnc.c if (!ChangePair(matches[numPairs - 3], mainDist)) matches 1549 third_party/lzma_sdk/LzmaEnc.c mainLen = matches[numPairs - 2]; matches 1550 third_party/lzma_sdk/LzmaEnc.c mainDist = matches[numPairs - 1]; matches 1572 third_party/lzma_sdk/LzmaEnc.c UInt32 newDistance = matches[p->numPairs - 1]; matches 792 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (DOUBLE_INFINITY.matcher(currentToken).matches()) { matches 817 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (FLOAT_INFINITY.matcher(currentToken).matches()) { matches 822 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (FLOAT_NAN.matcher(currentToken).matches()) { matches 79 third_party/re2/re2/dfa.cc bool* failed, const char** ep, vector<int>* matches); matches 265 third_party/re2/re2/dfa.cc matches(NULL) { } matches 277 third_party/re2/re2/dfa.cc vector<int>* matches; matches 1512 third_party/re2/re2/dfa.cc if (params->matches && kind_ == Prog::kManyMatch) { matches 1513 third_party/re2/re2/dfa.cc vector<int>* v = params->matches; matches 1756 third_party/re2/re2/dfa.cc vector<int>* matches) { matches 1776 third_party/re2/re2/dfa.cc params.matches = matches; matches 1873 third_party/re2/re2/dfa.cc StringPiece* match0, bool* failed, vector<int>* matches) { matches 1915 third_party/re2/re2/dfa.cc failed, &ep, matches); matches 275 third_party/re2/re2/prog.h vector<int>* matches); matches 16 third_party/re2/re2/testing/filtered_re2_test.cc vector<int> matches; matches 23 third_party/re2/re2/testing/filtered_re2_test.cc v.f.AllMatches("foo", v.atom_indices, &v.matches); matches 24 third_party/re2/re2/testing/filtered_re2_test.cc EXPECT_EQ(0, v.matches.size()); matches 37 third_party/re2/re2/testing/filtered_re2_test.cc v.f.AllMatches("lemurs bar", v.atom_indices, &v.matches); matches 38 third_party/re2/re2/testing/filtered_re2_test.cc EXPECT_EQ(1, v.matches.size()); matches 39 third_party/re2/re2/testing/filtered_re2_test.cc EXPECT_EQ(id, v.matches[0]); matches 54 third_party/re2/re2/testing/filtered_re2_test.cc v.f.AllMatches("foo\xde\xadQ\xbe\xeflemur", v.atom_indices, &v.matches); matches 55 third_party/re2/re2/testing/filtered_re2_test.cc EXPECT_EQ(1, v.matches.size()); matches 56 third_party/re2/re2/testing/filtered_re2_test.cc EXPECT_EQ(id, v.matches[0]); matches 335 third_party/re2/util/pcre.cc int matches = pattern.TryMatch(*str, 0, UNANCHORED, true, vec, kVecSize); matches 336 third_party/re2/util/pcre.cc if (matches == 0) matches 340 third_party/re2/util/pcre.cc if (!pattern.Rewrite(&s, rewrite, *str, vec, matches)) matches 369 third_party/re2/util/pcre.cc int matches; matches 371 third_party/re2/util/pcre.cc matches = pattern.TryMatch(*str, start, ANCHOR_START, false, matches 373 third_party/re2/util/pcre.cc if (matches <= 0) { matches 381 third_party/re2/util/pcre.cc matches = pattern.TryMatch(*str, start, UNANCHORED, true, vec, kVecSize); matches 382 third_party/re2/util/pcre.cc if (matches <= 0) matches 390 third_party/re2/util/pcre.cc pattern.Rewrite(&out, rewrite, *str, vec, matches); matches 410 third_party/re2/util/pcre.cc int matches = pattern.TryMatch(text, 0, UNANCHORED, true, vec, kVecSize); matches 411 third_party/re2/util/pcre.cc if (matches == 0) matches 414 third_party/re2/util/pcre.cc return pattern.Rewrite(out, rewrite, text, vec, matches); matches 566 third_party/re2/util/pcre.cc int matches = TryMatch(text, 0, anchor, true, vec, vecsize); matches 567 third_party/re2/util/pcre.cc assert(matches >= 0); // TryMatch never returns negatives matches 568 third_party/re2/util/pcre.cc if (matches == 0) matches 251 third_party/zlib/deflate.h uInt matches; /* number of string matches in current block */ matches 427 third_party/zlib/trees.c s->last_lit = s->matches = 0; matches 1037 third_party/zlib/trees.c s->matches++; matches 1063 third_party/zlib/trees.c if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1; matches 251 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java if (!matcher.matches()) {