Home
last modified time | relevance | path

Searched refs:duplicate_matches (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/components/omnibox/
Dbase_search_provider.cc395 match.duplicate_matches.insert(match.duplicate_matches.end(), in AddMatchToMap()
396 i.first->second.duplicate_matches.begin(), in AddMatchToMap()
397 i.first->second.duplicate_matches.end()); in AddMatchToMap()
398 i.first->second.duplicate_matches.clear(); in AddMatchToMap()
399 match.duplicate_matches.push_back(i.first->second); in AddMatchToMap()
402 i.first->second.duplicate_matches.push_back(match); in AddMatchToMap()
428 more_relevant_match.duplicate_matches.back(); in AddMatchToMap()
Dautocomplete_match_unittest.cc119 m.duplicate_matches.push_back(AutocompleteMatch( in TEST()
121 m.duplicate_matches.push_back(AutocompleteMatch( in TEST()
126 m.duplicate_matches.push_back(AutocompleteMatch( in TEST()
Dbase_search_provider_unittest.cc151 ASSERT_EQ(1U, match.duplicate_matches.size()); in TEST_F()
152 AutocompleteMatch duplicate = match.duplicate_matches[0]; in TEST_F()
179 ASSERT_EQ(1U, match.duplicate_matches.size()); in TEST_F()
180 duplicate = match.duplicate_matches[0]; in TEST_F()
Dautocomplete_result.cc396 i->duplicate_matches.insert(i->duplicate_matches.end(), in DedupMatchesByDestination()
397 dup_match.duplicate_matches.begin(), in DedupMatchesByDestination()
398 dup_match.duplicate_matches.end()); in DedupMatchesByDestination()
399 dup_match.duplicate_matches.clear(); in DedupMatchesByDestination()
400 i->duplicate_matches.push_back(dup_match); in DedupMatchesByDestination()
Dautocomplete_match.cc93 duplicate_matches(match.duplicate_matches) { in AutocompleteMatch()
129 duplicate_matches = match.duplicate_matches; in operator =()
498 for (ACMatches::const_iterator it(duplicate_matches.begin()); in SupportsDeletion()
499 it != duplicate_matches.end(); ++it) { in SupportsDeletion()
Dautocomplete_result_unittest.cc80 std::vector<AutocompleteMatch> duplicate_matches; member
140 match->duplicate_matches = data.duplicate_matches; in PopulateAutocompleteMatch()
408 ASSERT_EQ(4U, result.match_at(0)->duplicate_matches.size()); in TEST_F()
411 first_match->duplicate_matches.at(1).destination_url); in TEST_F()
413 first_match->duplicate_matches.at(2).destination_url); in TEST_F()
415 first_match->duplicate_matches.at(3).destination_url); in TEST_F()
418 ASSERT_EQ(1U, result.match_at(1)->duplicate_matches.size()); in TEST_F()
420 result.match_at(1)->duplicate_matches.at(0).destination_url); in TEST_F()
Dautocomplete_match.h372 std::vector<AutocompleteMatch> duplicate_matches; member
/external/chromium_org/chrome/browser/autocomplete/
Dautocomplete_controller.cc354 for (ACMatches::const_iterator it(match.duplicate_matches.begin()); in DeleteMatch()
355 it != match.duplicate_matches.end(); ++it) { in DeleteMatch()
Dsearch_provider_unittest.cc3317 EXPECT_EQ(2U, verbatim.duplicate_matches.size()); in TEST_F()
3320 EXPECT_EQ(1U, match_alpha.duplicate_matches.size()); in TEST_F()
3321 EXPECT_EQ(1U, match_avid.duplicate_matches.size()); in TEST_F()
3323 EXPECT_EQ(0U, match_apricot.duplicate_matches.size()); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/omnibox/
Domnibox_ui_handler.cc85 result->duplicates = static_cast<int32>(input.duplicate_matches.size()); in Convert()