Home
last modified time | relevance | path

Searched refs:SBFullHashEqual (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_util_unittest.cc327 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()
Dsafe_browsing_store_unittest.cc220 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()
Dsafe_browsing_store_file_unittest.cc191 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()
Dprotocol_parser_unittest.cc96 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()
Dsafe_browsing_util.h42 inline bool SBFullHashEqual(const SBFullHash& a, const SBFullHash& b) { in SBFullHashEqual() function
Dsafe_browsing_database_unittest.cc822 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()
Ddatabase_manager.cc78 if (SBFullHashEqual(hash, full_hashes[i].hash)) { in GetHashThreatListType()
Dsafe_browsing_database.cc304 if (SBFullHashEqual(full_hash, cached_hashes[i].hash)) in GetCachedFullHash()