Home
last modified time | relevance | path

Searched refs:SBSubFullHash (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_store_unittest.cc90 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 …]
Dsafe_browsing_store.cc170 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()
Dsafe_browsing_store.h90 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,
Dsafe_browsing_store_file.h227 std::vector<SBSubFullHash>().swap(sub_hashes_); in ClearChunkBuffers()
246 std::vector<SBSubFullHash> sub_hashes_;
Dsafe_browsing_util.h209 struct SBSubFullHash { struct
252 SBSubFullHash sub_full_hashes_[1];
Dsafe_browsing_store_file.cc173 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()
Dsafe_browsing_util.cc98 return sizeof(SBSubFullHash); in PrefixSize()