/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_store.h | 71 SBFullHash full_hash; member in struct:SBAddFullHash 76 full_hash(h) { 82 : chunk_id(id), received(r), full_hash(h) {} 84 SBAddFullHash() : chunk_id(), received(), full_hash() {} 87 SBPrefix GetAddPrefix() const { return full_hash.prefix; } 93 SBFullHash full_hash; member in struct:SBSubFullHash 96 : chunk_id(id), add_chunk_id(add_id), full_hash(h) {} 97 SBSubFullHash() : chunk_id(), add_chunk_id(), full_hash() {} 100 SBPrefix GetAddPrefix() const { return full_hash.prefix; } 123 return memcmp(a.full_hash.full_hash, b.full_hash.full_hash [all...] |
safe_browsing_util_unittest.cc | 285 SBFullHashResult full_hash; local 287 &full_hash.hash, 290 full_hashes.push_back(full_hash); 339 // 31 chars plus the last \0 as full_hash. 344 EXPECT_EQ(0, memcmp(hash_in.data(), hash_out.full_hash, sizeof(SBFullHash)));
|
safe_browsing_service.h | 79 scoped_ptr<SBFullHash> full_hash; member in struct:SafeBrowsingService::SafeBrowsingCheck 162 // Check if the prefix for |full_hash| is in safebrowsing binhash add lists. 164 virtual bool CheckDownloadHash(const std::string& full_hash, Client* client);
|
safe_browsing_database_unittest.cc | 828 SBFullHashResult full_hash; local 829 full_hash.hash = Sha256Hash("www.evil.com/phishing.html"); 830 full_hash.list_name = safe_browsing_util::kMalwareList; 831 full_hash.add_chunk_id = 1; 834 results.push_back(full_hash); 836 full_hash.hash = Sha256Hash("www.evil.com/malware.html"); 837 results.push_back(full_hash); [all...] |
safe_browsing_util.h | 35 char full_hash[32]; member in union:SBFullHash 40 return memcmp(lhash.full_hash, rhash.full_hash, sizeof(SBFullHash)) == 0; 44 return memcmp(lhash.full_hash, rhash.full_hash, sizeof(SBFullHash)) < 0; 199 void SetFullHashAt(int index, const SBFullHash& full_hash);
|
safe_browsing_service_browsertest.cc | 262 SBFullHashResult* full_hash) { 266 crypto::SHA256HashString(host + path, &full_hash->hash, 268 full_hash->list_name = list_name; 269 full_hash->add_chunk_id = add_chunk_id; 275 SBFullHashResult* full_hash) { 276 safe_browsing_util::StringToSBFullHash(full_digest, &full_hash->hash); 277 full_hash->list_name = list_name; 278 full_hash->add_chunk_id = add_chunk_id; 310 // to response with |full_hash| for get full hash request. 311 void SetupResponseForUrl(const GURL& url, const SBFullHashResult& full_hash) { 330 SBFullHash full_hash; local 555 const std::string full_hash = "12345678902234567890323456789012"; local 610 const std::string full_hash = "12345678902234567890323456789012"; local [all...] |
safe_browsing_database.cc | 92 SBFullHash full_hash; local 93 crypto::SHA256HashString(hosts[i] + path, &full_hash, 94 sizeof(full_hash)); 95 full_hashes->push_back(full_hash); 104 &full_hash, sizeof(full_hash)); 105 full_hashes->push_back(full_hash); 141 if (*piter < hiter->full_hash.prefix) { 143 } else if (hiter->full_hash.prefix < *piter) { 155 result.hash = hiter->full_hash; 756 const SBFullHash full_hash = entry->FullHashAt(i); local 829 const SBFullHash full_hash = entry->FullHashAt(i); local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
tdb.c | 175 u32 full_hash; /* the full 32 bit hash of the key */ member in struct:list_struct [all...] |