/external/chromium_org/components/query_parser/ |
D | snippet.cc | 21 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 …]
|
D | query_parser.cc | 21 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 …]
|
D | snippet.h | 17 class Snippet { 45 Snippet::MatchPositions* match_positions); 47 Snippet(); 48 ~Snippet(); 61 void Swap(Snippet* other);
|
D | snippet_unittest.cc | 83 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()
|
D | query_parser.h | 51 Snippet::MatchPositions* match_positions) const = 0; 99 Snippet::MatchPositions* match_positions); 112 static void SortAndCoalesceMatchPositions(Snippet::MatchPositions* matches);
|
D | query_parser_unittest.cc | 124 Snippet::MatchPositions match_positions; in TEST_F()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/ |
D | SnippetStorage.js | 97 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/ |
D | history_types.h | 291 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_;
|
D | history_types.cc | 104 const query_parser::Snippet::MatchPositions& title_matches) in URLResult()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | bookmark_provider.cc | 126 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()
|
D | bookmark_provider.h | 69 const query_parser::Snippet::MatchPositions& positions,
|
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
D | fts1.c | 1004 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/ |
D | bookmark_index.cc | 225 query_parser::Snippet::MatchPositions title_matches, url_matches; in AddMatchToResults()
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
D | fts2.c | 1924 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/ |
D | BugReporter.cpp | 2146 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/ |
D | InternalsManual.rst | 1287 // 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/ |
D | fts1c.test | 1121 # Snippet generator tests
|
D | fts2c.test | 1121 # Snippet generator tests
|
D | fts3ac.test | 1121 # Snippet generator tests
|