Home
last modified time | relevance | path

Searched refs:MatchPositions (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/components/bookmarks/browser/
Dbookmark_match.h20 typedef std::vector<MatchPosition> MatchPositions; typedef
27 const MatchPositions& match_positions);
32 static MatchPositions ReplaceOffsetsInMatchPositions(
33 const MatchPositions& match_positions,
40 MatchPositions title_match_positions;
43 MatchPositions url_match_positions;
Dbookmark_match.cc18 const MatchPositions& match_positions) { in OffsetsFromMatchPositions()
20 for (MatchPositions::const_iterator i = match_positions.begin(); in OffsetsFromMatchPositions()
29 BookmarkMatch::MatchPositions BookmarkMatch::ReplaceOffsetsInMatchPositions( in ReplaceOffsetsInMatchPositions()
30 const MatchPositions& match_positions, in ReplaceOffsetsInMatchPositions()
33 MatchPositions new_match_positions; in ReplaceOffsetsInMatchPositions()
35 for (MatchPositions::const_iterator match_iter = match_positions.begin(); in ReplaceOffsetsInMatchPositions()
Dbookmark_index_unittest.cc108 BookmarkMatch::MatchPositions* matches) { in ExtractMatchPositions()
125 const BookmarkMatch::MatchPositions& actual_positions, in ExpectMatchPositions()
126 const BookmarkMatch::MatchPositions& expected_positions) { in ExpectMatchPositions()
309 BookmarkMatch::MatchPositions expected_title_matches; in TEST_F()
361 BookmarkMatch::MatchPositions expected_url_matches; in TEST_F()
Dbookmark_index.cc218 query_parser::Snippet::MatchPositions title_matches, url_matches; in AddMatchToResults()
/external/chromium_org/components/query_parser/
Dsnippet.h22 typedef std::vector<MatchPosition> MatchPositions; typedef
39 MatchPositions* match_positions);
45 Snippet::MatchPositions* match_positions);
54 void ComputeSnippet(const MatchPositions& matches,
58 const MatchPositions& matches() const { return matches_; } in matches()
68 MatchPositions matches_;
Dquery_parser.cc36 void CoalesceMatchesFrom(size_t index, Snippet::MatchPositions* matches) { in CoalesceMatchesFrom()
38 for (Snippet::MatchPositions::iterator i = matches->begin() + index + 1; in CoalesceMatchesFrom()
82 Snippet::MatchPositions* match_positions) const OVERRIDE;
121 Snippet::MatchPositions* match_positions) const { in HasMatchIn()
166 Snippet::MatchPositions* match_positions) const OVERRIDE;
218 Snippet::MatchPositions* match_positions) const { in HasMatchIn()
254 Snippet::MatchPositions* match_positions) const OVERRIDE;
300 Snippet::MatchPositions* match_positions) const { in HasMatchIn()
358 Snippet::MatchPositions* match_positions) { in DoesQueryMatch()
369 Snippet::MatchPositions matches; in DoesQueryMatch()
[all …]
Dsnippet.cc29 Snippet::MatchPositions* match_positions) { in CoalescePositionsFrom()
45 Snippet::MatchPositions* match_positions) { in AddMatch()
55 Snippet::MatchPositions::iterator i = in AddMatch()
166 MatchPositions* match_positions) { in ExtractMatchPositions()
189 Snippet::MatchPositions* match_positions) { in ConvertMatchPositionsToWide()
195 for (Snippet::MatchPositions::iterator i = match_positions->begin(); in ConvertMatchPositionsToWide()
212 void Snippet::ComputeSnippet(const MatchPositions& match_positions, in ComputeSnippet()
Dquery_parser.h51 Snippet::MatchPositions* match_positions) const = 0;
99 Snippet::MatchPositions* match_positions);
112 static void SortAndCoalesceMatchPositions(Snippet::MatchPositions* matches);
Dsnippet_unittest.cc106 Snippet::MatchPositions match_positions; in BuildSnippet()
126 Snippet::MatchPositions::const_iterator match; in BuildSnippet()
245 Snippet::MatchPositions matches; in TEST()
Dquery_parser_unittest.cc124 Snippet::MatchPositions match_positions; in TEST_F()
/external/chromium_org/chrome/browser/autocomplete/
Dbookmark_provider.cc37 BookmarkMatch::MatchPositions* title_match_positions) { in CorrectTitleAndMatchPositions()
43 for (query_parser::Snippet::MatchPositions::iterator it = in CorrectTitleAndMatchPositions()
173 BookmarkMatch::MatchPositions new_title_match_positions = in BookmarkMatchToACMatch()
197 BookmarkMatch::MatchPositions new_url_match_positions = in BookmarkMatchToACMatch()
316 const query_parser::Snippet::MatchPositions& positions, in ClassificationsFromMatch()
328 for (query_parser::Snippet::MatchPositions::const_iterator i = in ClassificationsFromMatch()
Dbookmark_provider.h69 const query_parser::Snippet::MatchPositions& positions,
/external/chromium_org/components/history/core/browser/
Durl_row.h168 const query_parser::Snippet::MatchPositions& title_matches);
185 const query_parser::Snippet::MatchPositions& title_match_positions() const { in title_match_positions()
201 query_parser::Snippet::MatchPositions title_match_positions_;
Durl_row.cc71 const query_parser::Snippet::MatchPositions& title_matches) in URLResult()