/external/chromium_org/chrome/browser/history/ |
D | in_memory_url_index_types.cc | 56 TermMatches MatchTermInString(const base::string16& term, in MatchTermInString() 63 TermMatches matches; in MatchTermInString() 76 TermMatches SortAndDeoverlapMatches(const TermMatches& matches) { in SortAndDeoverlapMatches() 79 TermMatches sorted_matches = matches; in SortAndDeoverlapMatches() 81 TermMatches clean_matches; in SortAndDeoverlapMatches() 83 for (TermMatches::const_iterator iter = sorted_matches.begin(); in SortAndDeoverlapMatches() 93 std::vector<size_t> OffsetsFromTermMatches(const TermMatches& matches) { in OffsetsFromTermMatches() 95 for (TermMatches::const_iterator i = matches.begin(); i != matches.end(); ++i) in OffsetsFromTermMatches() 100 TermMatches ReplaceOffsetsInTermMatches(const TermMatches& matches, in ReplaceOffsetsInTermMatches() 103 TermMatches new_matches; in ReplaceOffsetsInTermMatches() [all …]
|
D | in_memory_url_index_types.h | 39 typedef std::vector<TermMatch> TermMatches; typedef 64 TermMatches MatchTermInString(const base::string16& term, 70 TermMatches SortAndDeoverlapMatches(const TermMatches& matches); 73 std::vector<size_t> OffsetsFromTermMatches(const TermMatches& matches); 77 TermMatches ReplaceOffsetsInTermMatches(const TermMatches& matches,
|
D | scored_history_match.h | 63 const TermMatches& url_matches() const { return url_matches_; } in url_matches() 64 const TermMatches& title_matches() const { return title_matches_; } in title_matches() 72 static TermMatches FilterTermMatchesByWordStarts( 73 const TermMatches& term_matches, 145 TermMatches url_matches_; 147 TermMatches title_matches_;
|
D | in_memory_url_index_types_unittest.cc | 90 TermMatches matches_e; in TEST_F() 95 TermMatches matches_f = SortAndDeoverlapMatches(matches_e); in TEST_F() 115 TermMatches matches_g = MatchTermInString( in TEST_F() 125 history::TermMatches matches_a; in TEST_F() 139 history::TermMatches matches_b = in TEST_F()
|
D | scored_history_match.cc | 74 TermMatches url_term_matches = MatchTermInString(term, url, term_num); in ScoredHistoryMatch() 75 TermMatches title_term_matches = MatchTermInString(term, title, term_num); in ScoredHistoryMatch() 251 TermMatches ScoredHistoryMatch::FilterTermMatchesByWordStarts( in FilterTermMatchesByWordStarts() 252 const TermMatches& term_matches, in FilterTermMatchesByWordStarts() 259 TermMatches filtered_matches; in FilterTermMatchesByWordStarts() 262 for (TermMatches::const_iterator iter = term_matches.begin(); in FilterTermMatchesByWordStarts() 340 for (TermMatches::const_iterator iter = url_matches_.begin(); in GetTopicalityScore() 389 for (TermMatches::const_iterator iter = title_matches_.begin(); in GetTopicalityScore()
|
/external/chromium/chrome/browser/history/ |
D | in_memory_url_index.h | 57 typedef std::vector<TermMatch> TermMatches; typedef 71 TermMatches url_matches; // Term matches within the URL. 72 TermMatches title_matches; // Term matches within the page title. 169 static std::vector<size_t> OffsetsFromTermMatches(const TermMatches& matches); 173 static TermMatches ReplaceOffsetsInTermMatches( 174 const TermMatches& matches, 279 static TermMatches MatchTermInString(const string16& term, 344 static int ScoreComponentForMatches(const TermMatches& matches, 349 static TermMatches SortAndDeoverlap(const TermMatches& matches);
|
D | in_memory_url_index.cc | 644 TermMatches InMemoryURLIndex::MatchTermInString(const string16& term, in MatchTermInString() 647 TermMatches matches; in MatchTermInString() 655 TermMatches InMemoryURLIndex::SortAndDeoverlap(const TermMatches& matches) { in SortAndDeoverlap() 658 TermMatches sorted_matches = matches; in SortAndDeoverlap() 661 TermMatches clean_matches; in SortAndDeoverlap() 664 for (TermMatches::const_iterator iter = sorted_matches.begin() + 1; in SortAndDeoverlap() 676 const TermMatches& matches) { in OffsetsFromTermMatches() 678 for (TermMatches::const_iterator i = matches.begin(); i != matches.end(); ++i) in OffsetsFromTermMatches() 684 TermMatches InMemoryURLIndex::ReplaceOffsetsInTermMatches( in ReplaceOffsetsInTermMatches() 685 const TermMatches& matches, in ReplaceOffsetsInTermMatches() [all …]
|
D | in_memory_url_index_unittest.cc | 337 TermMatches matches_a; in TEST_F() 342 TermMatches matches_b = InMemoryURLIndex::SortAndDeoverlap(matches_a); in TEST_F() 362 TermMatches matches_c = InMemoryURLIndex::MatchTermInString( in TEST_F() 372 history::TermMatches matches_a; in TEST_F() 387 history::TermMatches matches_b = in TEST_F()
|
/external/chromium/chrome/browser/autocomplete/ |
D | history_quick_provider.h | 17 class TermMatches; variable 68 const history::TermMatches& matches,
|
D | history_quick_provider.cc | 167 history::TermMatches new_matches = in QuickMatchToACMatch() 217 const history::TermMatches& matches, in SpansFromTermMatch()
|
D | history_quick_provider_unittest.cc | 291 history::TermMatches matches_a; in TEST_F() 323 history::TermMatches matches_b; in TEST_F()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | history_provider.h | 41 const history::TermMatches& matches,
|
D | history_provider.cc | 75 const history::TermMatches& matches, in SpansFromTermMatch()
|
D | history_quick_provider_unittest.cc | 409 history::TermMatches matches_a; in TEST_F() 441 history::TermMatches matches_b; in TEST_F()
|
D | history_quick_provider.cc | 273 history::TermMatches new_matches = in QuickMatchToACMatch()
|
D | history_url_provider.cc | 1103 history::TermMatches description_matches(SortAndDeoverlapMatches( in ClassifyDescription()
|