HomeSort by relevance Sort by last modified time
    Searched refs:Snippet (Results 1 - 25 of 28) sorted by null

1 2

  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/
Snippet.java 3 public class Snippet {
  /external/chromium/chrome/browser/history/
snippet.h 16 class Snippet {
44 Snippet::MatchPositions* match_positions);
46 Snippet();
47 ~Snippet();
49 // Given |matches|, the match positions within |document|, compute the snippet
59 // Efficiently swaps the contents of this snippet with the other.
60 void Swap(Snippet* other);
63 // The text of the snippet.
snippet_unittest.cc 5 #include "chrome/browser/history/snippet.h"
82 bool ComparePair1st(const Snippet::MatchPosition& a,
83 const Snippet::MatchPosition& b) {
88 // sqlite's FTS matching. BuildSnippet returns the snippet for matching
104 Snippet::MatchPositions match_positions;
118 // Compute the snippet.
119 Snippet snippet; local
120 snippet.ComputeSnippet(match_positions, document);
122 // Now "highlight" all matches in the snippet with **
    [all...]
snippet.cc 5 #include "chrome/browser/history/snippet.h"
20 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 =
128 // snippet generation. If not, revisit the way we scan in ComputeSnippet.
138 // Returns true if next match falls within a snippet windo
230 string16 snippet; local
    [all...]
query_parser.cc 21 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::MatchPositions* match_positions) const
    [all...]
query_parser.h 15 #include "chrome/browser/history/snippet.h"
51 Snippet::MatchPositions* match_positions) const = 0;
95 Snippet::MatchPositions* match_positions);
text_database.h 46 // included in the snippet.
47 Snippet::MatchPositions title_match_positions;
49 // Snippet of the match we generated from the body.
50 Snippet snippet; member in struct:history::TextDatabase::Match
text_database.cc 50 // 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,
362 // Compute the snippet based on those matches.
364 match.snippet.ComputeSnippet(match_positions, body);
history_types.h 20 #include "chrome/browser/history/snippet.h"
339 URLResult(const GURL& url, const Snippet::MatchPositions& title_matches);
345 const Snippet& snippet() const { return snippet_; } function in class:history::URLResult
350 const Snippet::MatchPositions& title_match_positions() const {
363 Snippet snippet_;
364 Snippet::MatchPositions title_match_positions_;
query_parser_unittest.cc 119 Snippet::MatchPositions match_positions;
history_types.cc 138 const Snippet::MatchPositions& title_matches)
  /external/chromium_org/chrome/browser/history/
snippet.h 15 class Snippet {
43 Snippet::MatchPositions* match_positions);
45 Snippet();
46 ~Snippet();
48 // Given |matches|, the match positions within |document|, compute the snippet
58 // Efficiently swaps the contents of this snippet with the other.
59 void Swap(Snippet* other);
62 // The text of the snippet.
snippet_unittest.cc 5 #include "chrome/browser/history/snippet.h"
82 bool ComparePair1st(const Snippet::MatchPosition& a,
83 const Snippet::MatchPosition& b) {
88 // sqlite's FTS matching. BuildSnippet returns the snippet for matching
104 Snippet::MatchPositions match_positions;
118 // Compute the snippet.
119 Snippet snippet; local
120 snippet.ComputeSnippet(match_positions, document);
122 // Now "highlight" all matches in the snippet with **
    [all...]
snippet.cc 5 #include "chrome/browser/history/snippet.h"
20 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 =
128 // snippet generation. If not, revisit the way we scan in ComputeSnippet.
138 // Returns true if next match falls within a snippet windo
230 string16 snippet; local
    [all...]
query_parser.cc 20 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::MatchPositions* match_positions) const
    [all...]
query_parser.h 12 #include "chrome/browser/history/snippet.h"
47 Snippet::MatchPositions* match_positions) const = 0;
91 Snippet::MatchPositions* match_positions);
history_types.h 20 #include "chrome/browser/history/snippet.h"
288 URLResult(const GURL& url, const Snippet::MatchPositions& title_matches);
295 const Snippet& snippet() const { return snippet_; } function in class:history::URLResult
305 const Snippet::MatchPositions& title_match_positions() const {
320 Snippet snippet_;
321 Snippet::MatchPositions title_match_positions_;
query_parser_unittest.cc 121 Snippet::MatchPositions match_positions;
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
SnippetStorage.js 61 * @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
103 deleteSnippet: function(snippet)
105 delete this._snippets[snippet.id];
110 * @return {WebInspector.Snippet}
117 var snippet = new WebInspector.Snippet(this, snippetId)
    [all...]
  /external/chromium_org/chrome/browser/autocomplete/
bookmark_provider.h 13 #include "chrome/browser/history/snippet.h"
60 const Snippet::MatchPositions& positions,
bookmark_provider.cc 144 void operator()(const Snippet::MatchPosition& match) {
187 // Snippet::MatchPositions) calculate a 'factor', sum up those factors, then
260 const Snippet::MatchPositions& positions,
269 for (Snippet::MatchPositions::const_iterator i = positions.begin();
  /external/chromium/chrome/browser/bookmarks/
bookmark_index_unittest.cc 70 Snippet::MatchPositions* matches) {
77 matches->push_back(Snippet::MatchPosition());
87 const Snippet::MatchPositions& expected_positions) {
169 Snippet::MatchPositions expected_matches;
bookmark_utils.h 15 #include "chrome/browser/history/snippet.h"
141 Snippet::MatchPositions match_positions;
  /external/chromium/chrome/browser/autocomplete/
history_contents_provider.cc 233 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/
fts1.c 202 /* TODO(shess) The snippet-generation code should be using the
1004 typedef struct Snippet {
1016 char *zSnippet; /* Snippet text */
1018 } Snippet;
1111 Snippet snippet; \/* Cached snippet for the current row *\/ member in struct:fulltext_cursor
    [all...]

Completed in 1268 milliseconds

1 2