Searched refs:SBSubFullHash (Results 1 – 7 of 7) sorted by relevance
/external/chromium/chrome/browser/safe_browsing/ |
D | safe_browsing_store_unittest.cc | 90 EXPECT_TRUE(SBAddPrefixHashLess(SBSubFullHash(12, 10, two), in TEST() 91 SBSubFullHash(9, 11, one))); in TEST() 92 EXPECT_FALSE(SBAddPrefixHashLess(SBSubFullHash(12, 11, two), in TEST() 93 SBSubFullHash(9, 10, one))); in TEST() 96 EXPECT_TRUE(SBAddPrefixHashLess(SBSubFullHash(12, 10, one), in TEST() 97 SBSubFullHash(9, 10, two))); in TEST() 98 EXPECT_FALSE(SBAddPrefixHashLess(SBSubFullHash(12, 10, two), in TEST() 99 SBSubFullHash(9, 10, one))); in TEST() 102 EXPECT_TRUE(SBAddPrefixHashLess(SBSubFullHash(12, 10, one), in TEST() 103 SBSubFullHash(9, 10, onetwo))); in TEST() [all …]
|
D | safe_browsing_store.cc | 170 std::vector<SBSubFullHash>* sub_full_hashes, in SBProcessSubs() 186 SBAddPrefixHashLess<SBSubFullHash,SBSubFullHash>); in SBProcessSubs() 213 SBAddPrefixHashLess<SBAddFullHash,SBSubFullHash>, in SBProcessSubs() 214 SBAddPrefixHashLess<SBSubFullHash,SBAddFullHash>, in SBProcessSubs()
|
D | safe_browsing_store.h | 90 struct SBSubFullHash { struct 95 SBSubFullHash(int32 id, int32 add_id, const SBFullHash& h) in SBSubFullHash() argument 97 SBSubFullHash() : chunk_id(), add_chunk_id(), full_hash() {} in SBSubFullHash() function 145 std::vector<SBSubFullHash>* sub_full_hashes,
|
D | safe_browsing_store_file.h | 227 std::vector<SBSubFullHash>().swap(sub_hashes_); in ClearChunkBuffers() 246 std::vector<SBSubFullHash> sub_hashes_;
|
D | safe_browsing_util.h | 209 struct SBSubFullHash { struct 252 SBSubFullHash sub_full_hashes_[1];
|
D | safe_browsing_store_file.cc | 173 expected_size += header.sub_hash_count * sizeof(SBSubFullHash); in FileHeaderSanityCheck() 350 sub_hashes_.push_back(SBSubFullHash(chunk_id, add_chunk_id, full_hash)); in WriteSubHash() 487 std::vector<SBSubFullHash> sub_full_hashes; in DoUpdate() 572 expected_size += header.sub_hash_count * sizeof(SBSubFullHash); in DoUpdate()
|
D | safe_browsing_util.cc | 98 return sizeof(SBSubFullHash); in PrefixSize()
|