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

  /external/chromium/chrome/browser/safe_browsing/
safe_browsing_service.h 86 std::vector<SBPrefix> prefix_hits; member in struct:SafeBrowsingService::SafeBrowsingCheck
safe_browsing_database_unittest.cc 497 std::vector<SBPrefix> prefix_hits; local
501 &matching_list, &prefix_hits,
503 EXPECT_EQ(prefix_hits[0], Sha256Prefix("www.evil.com/phishing.html"));
504 EXPECT_EQ(prefix_hits.size(), 1U);
508 &matching_list, &prefix_hits,
513 &matching_list, &prefix_hits,
518 &matching_list, &prefix_hits,
523 &matching_list, &prefix_hits,
528 &matching_list, &prefix_hits,
533 &matching_list, &prefix_hits,
779 std::vector<SBPrefix> prefix_hits; local
1165 std::vector<SBPrefix> prefix_hits; local
1399 std::vector<SBPrefix> prefix_hits; local
    [all...]
safe_browsing_service_browsertest.cc 51 std::vector<SBPrefix>* prefix_hits,
57 urls, prefix_hits, full_hits);
60 std::vector<SBPrefix>* prefix_hits) {
64 urls, prefix_hits, &full_hits);
67 DCHECK_LE(1U, prefix_hits->size());
99 const std::vector<SBPrefix>& prefix_hits,
102 badurls_[url.spec()].prefix_hits = prefix_hits;
114 std::vector<SBPrefix> prefix_hits; member in struct:TestSafeBrowsingDatabase::Hits
121 std::vector<SBPrefix>* prefix_hits,
312 std::vector<SBPrefix> prefix_hits; local
    [all...]
safe_browsing_database.cc 122 // Find the entries in |full_hashes| with prefix in |prefix_hits|, and
128 // For efficiency reasons the code walks |prefix_hits| and
130 void GetCachedFullHashesForBrowse(const std::vector<SBPrefix>& prefix_hits,
137 std::vector<SBPrefix>::const_iterator piter = prefix_hits.begin();
140 while (piter != prefix_hits.end() && hiter != full_hashes.end()) {
582 std::vector<SBPrefix>* prefix_hits,
587 prefix_hits->clear();
614 prefix_hits->push_back(full_hashes[i].prefix);
643 if (miss_count == prefix_hits->size())
649 std::sort(prefix_hits->begin(), prefix_hits->end())
703 std::vector<SBPrefix> prefix_hits; local
    [all...]
safe_browsing_service.cc 280 std::vector<SBPrefix> prefix_hits; local
283 database_->ContainsBrowseUrl(url, &list, &prefix_hits,
300 check->prefix_hits.swap(prefix_hits);
396 std::vector<SBPrefix> prefixes = check->prefix_hits;
714 if (check->prefix_hits.size() == 1) {
715 SBPrefix prefix = check->prefix_hits[0];
732 protocol_manager_->GetFullHash(check, check->prefix_hits);
1118 std::vector<SBPrefix> prefix_hits; local
    [all...]
  /external/chromium_org/chrome/browser/safe_browsing/
database_manager.h 78 std::vector<SBPrefix> prefix_hits; member in struct:SafeBrowsingDatabaseManager::SafeBrowsingCheck
database_manager.cc 373 std::vector<SBPrefix> prefix_hits; local
377 database_->ContainsBrowseUrl(url, &list, &prefix_hits, &full_hits,
393 check->prefix_hits.swap(prefix_hits);
445 std::vector<SBPrefix> prefixes = check->prefix_hits;
718 if (check->prefix_hits.size() == 1) {
719 SBPrefix prefix = check->prefix_hits[0];
741 check->prefix_hits,
1014 std::vector<SBPrefix> prefix_hits; local
    [all...]
safe_browsing_database_unittest.cc 550 std::vector<SBPrefix> prefix_hits; local
554 &matching_list, &prefix_hits,
556 EXPECT_EQ(prefix_hits[0], Sha256Prefix("www.evil.com/phishing.html"));
557 EXPECT_EQ(prefix_hits.size(), 1U);
561 &matching_list, &prefix_hits,
566 &matching_list, &prefix_hits,
571 &matching_list, &prefix_hits,
576 &matching_list, &prefix_hits,
581 &matching_list, &prefix_hits,
586 &matching_list, &prefix_hits,
832 std::vector<SBPrefix> prefix_hits; local
1223 std::vector<SBPrefix> prefix_hits; local
1563 std::vector<SBPrefix> prefix_hits; local
1701 std::vector<SBPrefix> prefix_hits; local
    [all...]
safe_browsing_service_browsertest.cc 89 std::vector<SBPrefix>* prefix_hits,
95 urls, prefix_hits, full_hits);
99 std::vector<SBPrefix>* prefix_hits) OVERRIDE {
103 urls, prefix_hits, &full_hits);
106 DCHECK_LE(1U, prefix_hits->size());
124 std::vector<SBPrefix>* prefix_hits) OVERRIDE {
159 const std::vector<SBPrefix>& prefix_hits,
162 badurls_[url.spec()].prefix_hits = prefix_hits;
174 std::vector<SBPrefix> prefix_hits; member in struct:TestSafeBrowsingDatabase::Hits
392 std::vector<SBPrefix> prefix_hits; local
    [all...]

Completed in 922 milliseconds