Searched refs:SBFullHashEqual (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/chrome/browser/safe_browsing/ |
D | safe_browsing_util_unittest.cc | 327 EXPECT_TRUE(SBFullHashEqual(kHash1, kHash1)); in TEST() 328 EXPECT_TRUE(SBFullHashEqual(kHash2, kHash2)); in TEST() 329 EXPECT_FALSE(SBFullHashEqual(kHash1, kHash2)); in TEST() 330 EXPECT_FALSE(SBFullHashEqual(kHash2, kHash1)); in TEST()
|
D | safe_browsing_store_unittest.cc | 220 EXPECT_TRUE(SBFullHashEqual(kHash4, add_hashes[0].full_hash)); in TEST() 222 EXPECT_TRUE(SBFullHashEqual(kHash6, add_hashes[1].full_hash)); in TEST() 232 EXPECT_TRUE(SBFullHashEqual(kHash7, sub_hashes[0].full_hash)); in TEST() 277 EXPECT_TRUE(SBFullHashEqual(kHash6, add_hashes[0].full_hash)); in TEST()
|
D | safe_browsing_store_file_unittest.cc | 191 EXPECT_TRUE(SBFullHashEqual(kHash4, add_full_hashes_result[0].full_hash)); in TEST_F() 276 EXPECT_TRUE(SBFullHashEqual(kHash4, add_full_hashes_result[0].full_hash)); in TEST_F() 299 EXPECT_TRUE(SBFullHashEqual(kHash4, add_full_hashes_result[0].full_hash)); in TEST_F() 323 EXPECT_TRUE(SBFullHashEqual(kHash4, add_full_hashes_result[0].full_hash)); in TEST_F() 389 EXPECT_TRUE(SBFullHashEqual(kHash6, add_full_hashes_result[0].full_hash)); in TEST_F() 662 EXPECT_TRUE(SBFullHashEqual(kHash4, add_hashes[0].full_hash)); in TEST_F() 802 EXPECT_TRUE(SBFullHashEqual(kHash2, add_hashes[0].full_hash)); in TEST_F()
|
D | protocol_parser_unittest.cc | 96 EXPECT_TRUE(SBFullHashEqual(chunks[0]->FullHashAt(0), full_hash1)); in TEST() 97 EXPECT_TRUE(SBFullHashEqual(chunks[0]->FullHashAt(1), full_hash2)); in TEST() 290 EXPECT_TRUE(SBFullHashEqual(chunks[0]->FullHashAt(0), full_hash1)); in TEST() 292 EXPECT_TRUE(SBFullHashEqual(chunks[0]->FullHashAt(1), full_hash2)); in TEST()
|
D | safe_browsing_util.h | 42 inline bool SBFullHashEqual(const SBFullHash& a, const SBFullHash& b) { in SBFullHashEqual() function
|
D | safe_browsing_database_unittest.cc | 822 EXPECT_TRUE(SBFullHashEqual( in TEST_F() 833 EXPECT_TRUE(SBFullHashEqual( in TEST_F() 1719 EXPECT_TRUE(SBFullHashEqual(kFullHash1_1, cache_hits[0].hash)); in TEST_F() 1731 EXPECT_TRUE(SBFullHashEqual(kFullHash1_1, cache_hits[0].hash)); in TEST_F() 1742 EXPECT_TRUE(SBFullHashEqual(kFullHash1_1, cache_hits[0].hash)); in TEST_F() 1743 EXPECT_TRUE(SBFullHashEqual(kFullHash1_3, cache_hits[1].hash)); in TEST_F() 1755 EXPECT_TRUE(SBFullHashEqual(kFullHash1_3, cache_hits[0].hash)); in TEST_F() 1864 EXPECT_TRUE(SBFullHashEqual(kFullHash1_2, cache_hits[0].hash)); in TEST_F()
|
D | database_manager.cc | 78 if (SBFullHashEqual(hash, full_hashes[i].hash)) { in GetHashThreatListType()
|
D | safe_browsing_database.cc | 304 if (SBFullHashEqual(full_hash, cached_hashes[i].hash)) in GetCachedFullHash()
|