/external/chromium_org/chrome/browser/history/ |
in_memory_url_index_types_unittest.cc | 125 history::TermMatches matches_a; local 126 matches_a.push_back(history::TermMatch(1, 1, 2)); 127 matches_a.push_back(history::TermMatch(2, 4, 3)); 128 matches_a.push_back(history::TermMatch(3, 9, 1)); 129 matches_a.push_back(history::TermMatch(3, 10, 1)); 130 matches_a.push_back(history::TermMatch(4, 14, 5)); 131 std::vector<size_t> offsets = OffsetsFromTermMatches(matches_a); 140 ReplaceOffsetsInTermMatches(matches_a, offsets);
|
/external/chromium/chrome/browser/history/ |
in_memory_url_index_unittest.cc | 337 TermMatches matches_a; local 338 matches_a.push_back(TermMatch(1, 13, 10)); 339 matches_a.push_back(TermMatch(2, 23, 10)); 340 matches_a.push_back(TermMatch(3, 3, 10)); 341 matches_a.push_back(TermMatch(4, 40, 5)); 342 TermMatches matches_b = InMemoryURLIndex::SortAndDeoverlap(matches_a); 344 EXPECT_EQ(matches_a.size(), matches_b.size()); 350 matches_a.push_back(TermMatch(5, 18, 10)); 351 matches_a.push_back(TermMatch(6, 38, 5)); 352 matches_b = InMemoryURLIndex::SortAndDeoverlap(matches_a); 372 history::TermMatches matches_a; local [all...] |
/external/chromium/chrome/browser/autocomplete/ |
history_quick_provider_unittest.cc | 291 history::TermMatches matches_a; local 294 matches_a.push_back(history::TermMatch(1, 1, 2)); 295 matches_a.push_back(history::TermMatch(2, 4, 3)); 296 matches_a.push_back(history::TermMatch(3, 9, 1)); 297 matches_a.push_back(history::TermMatch(3, 10, 1)); 298 matches_a.push_back(history::TermMatch(4, 14, 5)); 300 HistoryQuickProvider::SpansFromTermMatch(matches_a, 20);
|
/external/chromium_org/chrome/browser/autocomplete/ |
history_quick_provider_unittest.cc | 409 history::TermMatches matches_a; local 412 matches_a.push_back(history::TermMatch(1, 1, 2)); 413 matches_a.push_back(history::TermMatch(2, 4, 3)); 414 matches_a.push_back(history::TermMatch(3, 9, 1)); 415 matches_a.push_back(history::TermMatch(3, 10, 1)); 416 matches_a.push_back(history::TermMatch(4, 14, 5)); 418 HistoryQuickProvider::SpansFromTermMatch(matches_a, 20, false);
|