Searched refs:TermMatches (Results 1 – 6 of 6) sorted by relevance
57 typedef std::vector<TermMatch> TermMatches; typedef71 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);
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 …]
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()
17 class TermMatches; variable68 const history::TermMatches& matches,
167 history::TermMatches new_matches = in QuickMatchToACMatch()217 const history::TermMatches& matches, in SpansFromTermMatch()
291 history::TermMatches matches_a; in TEST_F()323 history::TermMatches matches_b; in TEST_F()