HomeSort by relevance Sort by last modified time
    Searched defs:match_positions (Results 1 - 4 of 4) sorted by null

  /external/chromium/chrome/browser/bookmarks/
bookmark_utils.h 141 Snippet::MatchPositions match_positions; member in struct:bookmark_utils::TitleMatch
  /external/chromium/chrome/browser/history/
snippet_unittest.cc 103 // Manually construct match_positions of the document.
104 Snippet::MatchPositions match_positions; local
105 match_positions.clear();
111 match_positions.push_back(std::make_pair(ofs, ofs + qw->size()));
115 // Sort match_positions in order of increasing offset.
116 std::sort(match_positions.begin(), match_positions.end(), ComparePair1st);
120 snippet.ComputeSnippet(match_positions, document);
query_parser_unittest.cc 119 Snippet::MatchPositions match_positions; local
123 &match_positions));
126 ASSERT_TRUE(match_positions.size() >= 1);
127 EXPECT_EQ(data[i].m1_start, match_positions[0].first);
128 EXPECT_EQ(data[i].m1_end, match_positions[0].second);
132 ASSERT_TRUE(match_positions.size() == 1 + offset);
133 EXPECT_EQ(data[i].m2_start, match_positions[offset].first);
134 EXPECT_EQ(data[i].m2_end, match_positions[offset].second);
text_database.cc 358 Snippet::MatchPositions match_positions; local
360 &match_positions);
364 match.snippet.ComputeSnippet(match_positions, body);

Completed in 60 milliseconds