Searched refs:MatchPosition (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_match.h17 // Each MatchPosition is the [begin, end) positions of a match within a
19 typedef std::pair<size_t, size_t> MatchPosition; typedef in struct:bookmarks::BookmarkMatch
20 typedef std::vector<MatchPosition> MatchPositions;
H A Dbookmark_match.cc41 const MatchPosition new_match_position(begin, end);
H A Dbookmark_index_unittest.cc115 matches->push_back(BookmarkMatch::MatchPosition());
/external/chromium_org/components/query_parser/
H A Dsnippet.h19 // Each MatchPosition is the [begin, end) positions of a match within a
21 typedef std::pair<size_t, size_t> MatchPosition; typedef in class:query_parser::Snippet
22 typedef std::vector<MatchPosition> MatchPositions;
H A Dquery_parser.cc21 int CompareMatchPosition(const Snippet::MatchPosition& mp1,
22 const Snippet::MatchPosition& mp2) {
29 bool SnippetIntersects(const Snippet::MatchPosition& mp1,
30 const Snippet::MatchPosition& mp2) {
37 Snippet::MatchPosition& mp = (*matches)[index];
127 Snippet::MatchPosition(match_start,
306 Snippet::MatchPosition(first_word->position,
H A Dsnippet_unittest.cc83 bool ComparePair1st(const Snippet::MatchPosition& a,
84 const Snippet::MatchPosition& b) {
H A Dsnippet.cc21 bool PairFirstLessThan(const Snippet::MatchPosition& a,
22 const Snippet::MatchPosition& b) {
31 Snippet::MatchPosition& pair((*match_positions)[offset]);
48 Snippet::MatchPosition pair(start, end);
/external/chromium_org/chrome/browser/autocomplete/
H A Dbookmark_provider.cc46 (*it) = query_parser::Snippet::MatchPosition(
148 void operator()(const query_parser::Snippet::MatchPosition& match) {

Completed in 915 milliseconds