Home
last modified time | relevance | path

Searched refs:Snippet (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/components/query_parser/
Dsnippet.cc21 bool PairFirstLessThan(const Snippet::MatchPosition& a, in PairFirstLessThan()
22 const Snippet::MatchPosition& b) { in PairFirstLessThan()
29 Snippet::MatchPositions* match_positions) { in CoalescePositionsFrom()
31 Snippet::MatchPosition& pair((*match_positions)[offset]); in CoalescePositionsFrom()
45 Snippet::MatchPositions* match_positions) { in AddMatch()
48 Snippet::MatchPosition pair(start, end); in AddMatch()
55 Snippet::MatchPositions::iterator i = in AddMatch()
164 void Snippet::ExtractMatchPositions(const std::string& offsets_str, in ExtractMatchPositions()
187 void Snippet::ConvertMatchPositionsToWide( in ConvertMatchPositionsToWide()
189 Snippet::MatchPositions* match_positions) { in ConvertMatchPositionsToWide()
[all …]
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()
36 void CoalesceMatchesFrom(size_t index, Snippet::MatchPositions* matches) { in CoalesceMatchesFrom()
37 Snippet::MatchPosition& mp = (*matches)[index]; 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()
127 Snippet::MatchPosition(match_start, in HasMatchIn()
[all …]
Dsnippet.h17 class Snippet {
45 Snippet::MatchPositions* match_positions);
47 Snippet();
48 ~Snippet();
61 void Swap(Snippet* other);
Dsnippet_unittest.cc83 bool ComparePair1st(const Snippet::MatchPosition& a, in ComparePair1st()
84 const Snippet::MatchPosition& b) { in ComparePair1st()
105 Snippet::MatchPositions match_positions; in BuildSnippet()
120 Snippet snippet; in BuildSnippet()
125 Snippet::MatchPositions::const_iterator match; in BuildSnippet()
245 Snippet::MatchPositions matches; in TEST()
246 Snippet::ExtractMatchPositions(data[i].offsets_string, "0", &matches); in TEST()
Dquery_parser.h51 Snippet::MatchPositions* match_positions) const = 0;
99 Snippet::MatchPositions* match_positions);
112 static void SortAndCoalesceMatchPositions(Snippet::MatchPositions* matches);
Dquery_parser_unittest.cc124 Snippet::MatchPositions match_positions; in TEST_F()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DSnippetStorage.js97 this._snippetAdded(WebInspector.Snippet.fromObject(this, savedSnippets[i]));
117 var snippet = new WebInspector.Snippet(this, snippetId);
142 WebInspector.Snippet = function(storage, id, name, content) class in WebInspector
155 WebInspector.Snippet.fromObject = function(storage, serializedSnippet)
157 …return new WebInspector.Snippet(storage, serializedSnippet.id, serializedSnippet.name, serializedS…
160 WebInspector.Snippet.prototype = {
/external/chromium_org/chrome/browser/history/
Dhistory_types.h291 const query_parser::Snippet::MatchPositions& title_matches);
298 const query_parser::Snippet& snippet() const { return snippet_; } in snippet()
308 const query_parser::Snippet::MatchPositions& title_match_positions() const { in title_match_positions()
323 query_parser::Snippet snippet_;
324 query_parser::Snippet::MatchPositions title_match_positions_;
Dhistory_types.cc104 const query_parser::Snippet::MatchPositions& title_matches) in URLResult()
/external/chromium_org/chrome/browser/autocomplete/
Dbookmark_provider.cc126 void operator()(const query_parser::Snippet::MatchPosition& match) { in operator ()()
298 const query_parser::Snippet::MatchPositions& positions, in ClassificationsFromMatch()
310 for (query_parser::Snippet::MatchPositions::const_iterator i = in ClassificationsFromMatch()
Dbookmark_provider.h69 const query_parser::Snippet::MatchPositions& positions,
/external/chromium_org/third_party/sqlite/src/ext/fts1/
Dfts1.c1004 typedef struct Snippet { struct
1018 } Snippet; typedef
1111 Snippet snippet; /* Cached snippet for the current row */
2168 static void snippetClear(Snippet *p){ in snippetClear()
2178 Snippet *p, /* Append the entry to this snippet */ in snippetAppendMatch()
2213 Snippet *pSnippet, in snippetOffsetsOfColumn()
2315 static void snippetOffsetText(Snippet *p){ in snippetOffsetText()
/external/chromium_org/components/bookmarks/browser/
Dbookmark_index.cc225 query_parser::Snippet::MatchPositions title_matches, url_matches; in AddMatchToResults()
/external/chromium_org/third_party/sqlite/src/ext/fts2/
Dfts2.c1924 typedef struct Snippet { struct
1938 } Snippet; typedef
2069 Snippet snippet; /* Cached snippet for the current row */
3211 static void snippetClear(Snippet *p){ in snippetClear()
3221 Snippet *p, /* Append the entry to this snippet */ in snippetAppendMatch()
3256 Snippet *pSnippet, in snippetOffsetsOfColumn()
3360 static void snippetOffsetText(Snippet *p){ in snippetOffsetText()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp2146 StringRef Snippet = Buffer->getBuffer().slice(BeginOffset, EndOffset); in getLengthOnSingleLine() local
2152 if (Snippet.find_first_of("\r\n") != StringRef::npos) in getLengthOnSingleLine()
2156 return Snippet.size(); in getLengthOnSingleLine()
/external/clang/docs/
DInternalsManual.rst1287 // Snippet #1:
1295 // Snippet #2:
1302 actually have two separate ``NamespaceDecl`` nodes in Snippet #1, each of which
/external/chromium_org/third_party/sqlite/src/test/
Dfts1c.test1121 # Snippet generator tests
Dfts2c.test1121 # Snippet generator tests
Dfts3ac.test1121 # Snippet generator tests