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

  /external/chromium/chrome/browser/safe_browsing/
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_database.h 84 // list, or |prefix_hits| and |full_hits| contains the matching hash
89 std::vector<SBPrefix>* prefix_hits,
94 // true, |prefix_hits| should contain the prefixes for the URLs that were in
97 std::vector<SBPrefix>* prefix_hits) = 0;
211 std::vector<SBPrefix>* prefix_hits,
215 std::vector<SBPrefix>* prefix_hits);
275 // Returns true if there is a match, |*prefix_hits| will contain the actual
279 std::vector<SBPrefix>* prefix_hits);
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_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...]
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.h 86 std::vector<SBPrefix> prefix_hits; member in struct:SafeBrowsingService::SafeBrowsingCheck

Completed in 1117 milliseconds