Home
last modified time | relevance | path

Searched refs:MatchPosition (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/history/
Dquery_parser.cc21 int CompareMatchPosition(const Snippet::MatchPosition& mp1, in CompareMatchPosition()
22 const Snippet::MatchPosition& mp2) { in CompareMatchPosition()
29 bool SnippetIntersects(const Snippet::MatchPosition& mp1, in SnippetIntersects()
30 const Snippet::MatchPosition& mp2) { in SnippetIntersects()
38 Snippet::MatchPosition& mp = (*matches)[index]; in CoalesceMatchesFrom()
96 Snippet::MatchPosition(match_start, in HasMatchIn()
235 Snippet::MatchPosition(words[i].position, in HasMatchIn()
Dsnippet.h20 typedef std::pair<size_t, size_t> MatchPosition; typedef
21 typedef std::vector<MatchPosition> MatchPositions;
Dsnippet.cc20 bool PairFirstLessThan(const Snippet::MatchPosition& a, in PairFirstLessThan()
21 const Snippet::MatchPosition& b) { in PairFirstLessThan()
30 Snippet::MatchPosition& pair((*match_positions)[offset]); in CoalescePositionsFrom()
47 Snippet::MatchPosition pair(start, end); in AddMatch()
Dsnippet_unittest.cc82 bool ComparePair1st(const Snippet::MatchPosition& a, in ComparePair1st()
83 const Snippet::MatchPosition& b) { in ComparePair1st()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_index_unittest.cc77 matches->push_back(Snippet::MatchPosition()); in ExtractMatchPositions()