Searched refs:Snippet (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium/chrome/browser/history/
H A Dsnippet.h16 class Snippet { class
44 Snippet::MatchPositions* match_positions);
46 Snippet();
47 ~Snippet();
60 void Swap(Snippet* other);
H A Dsnippet_unittest.cc82 bool ComparePair1st(const Snippet::MatchPosition& a,
83 const Snippet::MatchPosition& b) {
104 Snippet::MatchPositions match_positions;
119 Snippet snippet;
124 Snippet::MatchPositions::const_iterator match;
244 Snippet::MatchPositions matches;
245 Snippet::ExtractMatchPositions(data[i].offsets_string, "0", &matches);
H A Dsnippet.cc20 bool PairFirstLessThan(const Snippet::MatchPosition& a,
21 const Snippet::MatchPosition& b) {
28 Snippet::MatchPositions* match_positions) {
30 Snippet::MatchPosition& pair((*match_positions)[offset]);
44 Snippet::MatchPositions* match_positions) {
47 Snippet::MatchPosition pair(start, end);
54 Snippet::MatchPositions::iterator i =
163 void Snippet::ExtractMatchPositions(const std::string& offsets_str,
186 void Snippet::ConvertMatchPositionsToWide(
188 Snippet
203 Snippet::Snippet() { function in class:Snippet
[all...]
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::MatchPositions* matches) {
38 Snippet::MatchPosition& mp = (*matches)[index];
39 for (Snippet::MatchPositions::iterator i = matches->begin() + index + 1;
52 void CoalseAndSortMatchPositions(Snippet::MatchPositions* matches) {
80 Snippet::MatchPositions* match_positions) const;
91 Snippet
[all...]
H A Dquery_parser.h51 Snippet::MatchPositions* match_positions) const = 0;
95 Snippet::MatchPositions* match_positions);
H A Dtext_database.h47 Snippet::MatchPositions title_match_positions;
49 // Snippet of the match we generated from the body.
50 Snippet snippet;
H A Dtext_database.cc50 // Snippet computation relies on the index of the columns in the original
352 Snippet::ExtractMatchPositions(offsets_str, kTitleColumnIndex,
354 Snippet::ConvertMatchPositionsToWide(statement.ColumnString(1),
358 Snippet::MatchPositions match_positions;
359 Snippet::ExtractMatchPositions(offsets_str, kBodyColumnIndex,
H A Dhistory_types.h339 URLResult(const GURL& url, const Snippet::MatchPositions& title_matches);
345 const Snippet& snippet() const { return snippet_; }
350 const Snippet::MatchPositions& title_match_positions() const {
363 Snippet snippet_;
364 Snippet::MatchPositions title_match_positions_;
H A Dquery_parser_unittest.cc119 Snippet::MatchPositions match_positions;
H A Dhistory_types.cc138 const Snippet::MatchPositions& title_matches)
/external/chromium_org/chrome/browser/history/
H A Dsnippet.h15 class Snippet { class
43 Snippet::MatchPositions* match_positions);
45 Snippet();
46 ~Snippet();
59 void Swap(Snippet* other);
H A Dsnippet_unittest.cc82 bool ComparePair1st(const Snippet::MatchPosition& a,
83 const Snippet::MatchPosition& b) {
104 Snippet::MatchPositions match_positions;
119 Snippet snippet;
124 Snippet::MatchPositions::const_iterator match;
244 Snippet::MatchPositions matches;
245 Snippet::ExtractMatchPositions(data[i].offsets_string, "0", &matches);
H A Dsnippet.cc20 bool PairFirstLessThan(const Snippet::MatchPosition& a,
21 const Snippet::MatchPosition& b) {
28 Snippet::MatchPositions* match_positions) {
30 Snippet::MatchPosition& pair((*match_positions)[offset]);
44 Snippet::MatchPositions* match_positions) {
47 Snippet::MatchPosition pair(start, end);
54 Snippet::MatchPositions::iterator i =
163 void Snippet::ExtractMatchPositions(const std::string& offsets_str,
186 void Snippet::ConvertMatchPositionsToWide(
188 Snippet
203 Snippet::Snippet() { function in class:Snippet
[all...]
H A Dquery_parser.cc20 int CompareMatchPosition(const Snippet::MatchPosition& mp1,
21 const Snippet::MatchPosition& mp2) {
28 bool SnippetIntersects(const Snippet::MatchPosition& mp1,
29 const Snippet::MatchPosition& mp2) {
35 void CoalesceMatchesFrom(size_t index, Snippet::MatchPositions* matches) {
36 Snippet::MatchPosition& mp = (*matches)[index];
37 for (Snippet::MatchPositions::iterator i = matches->begin() + index + 1;
50 void CoalseAndSortMatchPositions(Snippet::MatchPositions* matches) {
91 Snippet::MatchPositions* match_positions) const OVERRIDE;
130 Snippet
[all...]
H A Dquery_parser.h47 Snippet::MatchPositions* match_positions) const = 0;
93 Snippet::MatchPositions* match_positions);
H A Dhistory_types.h288 URLResult(const GURL& url, const Snippet::MatchPositions& title_matches);
295 const Snippet& snippet() const { return snippet_; }
305 const Snippet::MatchPositions& title_match_positions() const {
320 Snippet snippet_;
321 Snippet::MatchPositions title_match_positions_;
H A Dquery_parser_unittest.cc121 Snippet::MatchPositions match_positions;
H A Dhistory_types.cc104 const Snippet::MatchPositions& title_matches)
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DSnippetStorage.js61 * @return {!Array.<!WebInspector.Snippet>}
73 * @return {!WebInspector.Snippet}
82 * @return {?WebInspector.Snippet}
97 this._snippetAdded(WebInspector.Snippet.fromObject(this, savedSnippets[i]));
101 * @param {!WebInspector.Snippet} snippet
110 * @return {!WebInspector.Snippet}
117 var snippet = new WebInspector.Snippet(this, snippetId);
124 * @param {!WebInspector.Snippet} snippet
149 WebInspector.Snippet = function(storage, id, name, content)
160 * @return {!WebInspector.Snippet}
[all...]
/external/chromium_org/chrome/browser/autocomplete/
H A Dbookmark_provider.h60 const Snippet::MatchPositions& positions,
H A Dbookmark_provider.cc145 void operator()(const Snippet::MatchPosition& match) {
188 // Snippet::MatchPositions) calculate a 'factor', sum up those factors, then
261 const Snippet::MatchPositions& positions,
270 for (Snippet::MatchPositions::const_iterator i = positions.begin();
/external/chromium/chrome/browser/bookmarks/
H A Dbookmark_index_unittest.cc70 Snippet::MatchPositions* matches) {
77 matches->push_back(Snippet::MatchPosition());
87 const Snippet::MatchPositions& expected_positions) {
169 Snippet::MatchPositions expected_matches;
H A Dbookmark_utils.h141 Snippet::MatchPositions match_positions;
/external/chromium/chrome/browser/autocomplete/
H A Dhistory_contents_provider.cc233 const Snippet::MatchPositions& title_matches = result.title_match_positions();
238 for (Snippet::MatchPositions::const_iterator i = title_matches.begin();
/external/chromium_org/third_party/sqlite/src/ext/fts1/
H A Dfts1.c1004 typedef struct Snippet { struct
1016 char *zSnippet; /* Snippet text */
1018 } Snippet; typedef in typeref:struct:Snippet
1111 Snippet snippet; /* Cached snippet for the current row */
2166 ** Snippet
2168 static void snippetClear(Snippet *p){
2178 Snippet *p, /* Append the entry to this snippet */
2213 Snippet *pSnippet,
2315 static void snippetOffsetText(Snippet *p){
2401 ** Allowed values for Snippet
[all...]

Completed in 476 milliseconds

12