Lines Matching defs:full_hashes
109 std::vector<SBFullHash>* full_hashes) {
126 full_hashes->push_back(full_hash);
136 full_hashes->push_back(full_hash);
145 std::vector<SBFullHash> full_hashes;
147 BrowseFullHashesToCheck(urls[i], false, &full_hashes);
149 for (size_t i = 0; i < full_hashes.size(); ++i)
150 prefixes->push_back(full_hashes[i].prefix);
181 // Find the entries in |full_hashes| with prefix in |prefix_hits|, and
188 // |full_hashes| in parallel, so they must be sorted by prefix.
190 const std::vector<SBAddFullHash>& full_hashes,
197 std::vector<SBAddFullHash>::const_iterator hiter = full_hashes.begin();
199 while (piter != prefix_hits.end() && hiter != full_hashes.end()) {
530 std::vector<SBAddFullHash> full_hashes;
531 if (csd_whitelist_store_->GetAddFullHashes(&full_hashes)) {
532 LoadWhitelist(full_hashes, &csd_whitelist_);
548 std::vector<SBAddFullHash> full_hashes;
549 if (download_whitelist_store_->GetAddFullHashes(&full_hashes)) {
550 LoadWhitelist(full_hashes, &download_whitelist_);
641 std::vector<SBFullHash> full_hashes;
642 BrowseFullHashesToCheck(url, false, &full_hashes);
643 if (full_hashes.empty())
657 for (size_t i = 0; i < full_hashes.size(); ++i) {
658 const SBPrefix prefix = full_hashes[i].prefix;
718 std::vector<SBFullHash> full_hashes;
719 BrowseFullHashesToCheck(url, true, &full_hashes);
720 return ContainsWhitelistedHashes(csd_whitelist_, full_hashes);
724 std::vector<SBFullHash> full_hashes;
725 BrowseFullHashesToCheck(url, true, &full_hashes);
726 return ContainsWhitelistedHashes(download_whitelist_, full_hashes);
1246 std::vector<SBAddFullHash> full_hashes;
1248 &full_hashes)) {
1258 LoadWhitelist(full_hashes, whitelist);
1586 const std::vector<SBAddFullHash>& full_hashes,
1589 if (full_hashes.size() > kMaxWhitelistSize) {
1595 new_whitelist.reserve(full_hashes.size());
1596 for (std::vector<SBAddFullHash>::const_iterator it = full_hashes.begin();
1597 it != full_hashes.end(); ++it) {
1620 std::vector<SBFullHash> full_hashes;
1621 full_hashes.push_back(malware_kill_switch);
1622 return ContainsWhitelistedHashes(csd_whitelist_, full_hashes);