SBFullHash 100 chrome/browser/extensions/fake_safe_browsing_database_manager.cc std::vector<SBFullHash> extension_id_hashes; SBFullHash 675 chrome/browser/prerender/prerender_browsertest.cc std::vector<SBFullHash>(), SBFullHash 75 chrome/browser/safe_browsing/database_manager.cc const std::vector<SBFullHash>& full_hashes, SBFullHash 218 chrome/browser/safe_browsing/database_manager.cc std::vector<SBFullHash>(), SBFullHash 238 chrome/browser/safe_browsing/database_manager.cc std::vector<SBFullHash> extension_id_hashes; SBFullHash 355 chrome/browser/safe_browsing/database_manager.cc std::vector<SBFullHash>(), SBFullHash 535 chrome/browser/safe_browsing/database_manager.cc std::vector<SBFullHash>(), SBFullHash 752 chrome/browser/safe_browsing/database_manager.cc std::vector<SBFullHash>(), SBFullHash 951 chrome/browser/safe_browsing/database_manager.cc for (std::vector<SBFullHash>::iterator it = check->full_hashes.begin(); SBFullHash 59 chrome/browser/safe_browsing/database_manager.h const std::vector<SBFullHash>& full_hashes, SBFullHash 70 chrome/browser/safe_browsing/database_manager.h std::vector<SBFullHash> full_hashes; SBFullHash 69 chrome/browser/safe_browsing/database_manager_unittest.cc const SBFullHash same_full_hash = {}; SBFullHash 74 chrome/browser/safe_browsing/database_manager_unittest.cc std::vector<SBFullHash>(1, same_full_hash), SBFullHash 179 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::vector<SBFullHash>(), SBFullHash 80 chrome/browser/safe_browsing/protocol_parser.cc DCHECK(static_cast<size_t>(full_hash_len) >= sizeof(SBFullHash)); SBFullHash 81 chrome/browser/safe_browsing/protocol_parser.cc memcpy(&full_hash.hash, data, sizeof(SBFullHash)); SBFullHash 83 chrome/browser/safe_browsing/protocol_parser.cc data += sizeof(SBFullHash); SBFullHash 84 chrome/browser/safe_browsing/protocol_parser.cc length -= sizeof(SBFullHash); SBFullHash 85 chrome/browser/safe_browsing/protocol_parser.cc full_hash_len -= sizeof(SBFullHash); SBFullHash 217 chrome/browser/safe_browsing/protocol_parser.cc if (hash_len != sizeof(SBPrefix) && hash_len != sizeof(SBFullHash)) { SBFullHash 412 chrome/browser/safe_browsing/protocol_parser.cc SBFullHash hash; SBFullHash 62 chrome/browser/safe_browsing/protocol_parser_unittest.cc SBFullHash full_hash1, full_hash2; SBFullHash 299 chrome/browser/safe_browsing/protocol_parser_unittest.cc SBFullHash full_hash1, full_hash2; SBFullHash 441 chrome/browser/safe_browsing/protocol_parser_unittest.cc sizeof(SBFullHash)), 0); SBFullHash 445 chrome/browser/safe_browsing/protocol_parser_unittest.cc sizeof(SBFullHash)), 0); SBFullHash 449 chrome/browser/safe_browsing/protocol_parser_unittest.cc sizeof(SBFullHash)), 0); SBFullHash 465 chrome/browser/safe_browsing/protocol_parser_unittest.cc sizeof(SBFullHash)), 0); SBFullHash 469 chrome/browser/safe_browsing/protocol_parser_unittest.cc sizeof(SBFullHash)), 0); SBFullHash 473 chrome/browser/safe_browsing/protocol_parser_unittest.cc sizeof(SBFullHash)), 0); SBFullHash 490 chrome/browser/safe_browsing/protocol_parser_unittest.cc &full_hashes[0].hash, sizeof(SBFullHash)), 0); SBFullHash 503 chrome/browser/safe_browsing/protocol_parser_unittest.cc &full_hashes[0].hash, sizeof(SBFullHash)), 0); SBFullHash 507 chrome/browser/safe_browsing/protocol_parser_unittest.cc &full_hashes[1].hash, sizeof(SBFullHash)), 0); SBFullHash 744 chrome/browser/safe_browsing/protocol_parser_unittest.cc SBFullHash full; SBFullHash 784 chrome/browser/safe_browsing/protocol_parser_unittest.cc SBFullHash full; SBFullHash 108 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc std::vector<SBFullHash>(), SBFullHash 120 chrome/browser/safe_browsing/safe_browsing_database.cc std::vector<SBFullHash>* full_hashes) { SBFullHash 152 chrome/browser/safe_browsing/safe_browsing_database.cc std::vector<SBFullHash> full_hashes; SBFullHash 325 chrome/browser/safe_browsing/safe_browsing_database.cc bool SBFullHashLess(const SBFullHash& a, const SBFullHash& b) { SBFullHash 682 chrome/browser/safe_browsing/safe_browsing_database.cc std::vector<SBFullHash> full_hashes; SBFullHash 744 chrome/browser/safe_browsing/safe_browsing_database.cc std::vector<SBFullHash> full_hashes; SBFullHash 750 chrome/browser/safe_browsing/safe_browsing_database.cc std::vector<SBFullHash> full_hashes; SBFullHash 777 chrome/browser/safe_browsing/safe_browsing_database.cc SBFullHash full_hash = SBFullHashForString(url_to_check); SBFullHash 831 chrome/browser/safe_browsing/safe_browsing_database.cc std::vector<SBFullHash> hashes; SBFullHash 838 chrome/browser/safe_browsing/safe_browsing_database.cc const std::vector<SBFullHash>& hashes) { SBFullHash 842 chrome/browser/safe_browsing/safe_browsing_database.cc for (std::vector<SBFullHash>::const_iterator it = hashes.begin(); SBFullHash 881 chrome/browser/safe_browsing/safe_browsing_database.cc const SBFullHash full_hash = entry->FullHashAt(i); SBFullHash 955 chrome/browser/safe_browsing/safe_browsing_database.cc const SBFullHash full_hash = entry->FullHashAt(i); SBFullHash 1625 chrome/browser/safe_browsing/safe_browsing_database.cc std::vector<SBFullHash> new_whitelist; SBFullHash 1633 chrome/browser/safe_browsing/safe_browsing_database.cc SBFullHash kill_switch = SBFullHashForString(kWhitelistKillSwitchUrl); SBFullHash 1688 chrome/browser/safe_browsing/safe_browsing_database.cc SBFullHash malware_kill_switch = SBFullHashForString(kMalwareIPKillSwitchUrl); SBFullHash 1689 chrome/browser/safe_browsing/safe_browsing_database.cc std::vector<SBFullHash> full_hashes; SBFullHash 339 chrome/browser/safe_browsing/safe_browsing_database.h const std::vector<SBFullHash>& hashes); SBFullHash 91 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc EXPECT_EQ(sizeof(SBFullHash), full_hash_str.size()); SBFullHash 92 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc SBFullHash full_hash; SBFullHash 93 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc std::memcpy(&(full_hash.full_hash), full_hash_str.data(), sizeof(SBFullHash)); SBFullHash 78 chrome/browser/safe_browsing/safe_browsing_store.h SBFullHash full_hash; SBFullHash 80 chrome/browser/safe_browsing/safe_browsing_store.h SBAddFullHash(int32 id, base::Time r, const SBFullHash& h) SBFullHash 88 chrome/browser/safe_browsing/safe_browsing_store.h SBAddFullHash(int32 id, int32 r, const SBFullHash& h) SBFullHash 100 chrome/browser/safe_browsing/safe_browsing_store.h SBFullHash full_hash; SBFullHash 102 chrome/browser/safe_browsing/safe_browsing_store.h SBSubFullHash(int32 id, int32 add_id, const SBFullHash& h) SBFullHash 188 chrome/browser/safe_browsing/safe_browsing_store.h const SBFullHash& full_hash) = 0; SBFullHash 192 chrome/browser/safe_browsing/safe_browsing_store.h const SBFullHash& full_hash) = 0; SBFullHash 740 chrome/browser/safe_browsing/safe_browsing_store_file.cc const SBFullHash& full_hash) { SBFullHash 753 chrome/browser/safe_browsing/safe_browsing_store_file.cc const SBFullHash& full_hash) { SBFullHash 147 chrome/browser/safe_browsing/safe_browsing_store_file.h const SBFullHash& full_hash) OVERRIDE; SBFullHash 151 chrome/browser/safe_browsing/safe_browsing_store_file.h const SBFullHash& full_hash) OVERRIDE; SBFullHash 27 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc const SBFullHash kHash1 = SBFullHashForString("one"); SBFullHash 28 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc const SBFullHash kHash2 = SBFullHashForString("two"); SBFullHash 29 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc const SBFullHash kHash3 = SBFullHashForString("three"); SBFullHash 30 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc const SBFullHash kHash4 = SBFullHashForString("four"); SBFullHash 31 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc const SBFullHash kHash5 = SBFullHashForString("five"); SBFullHash 29 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc SBFullHash one, onetwo, two; SBFullHash 80 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc SBFullHash one, onetwo, two; SBFullHash 133 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const SBFullHash kHash1(SBFullHashForString("one")); SBFullHash 134 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const SBFullHash kHash2(SBFullHashForString("two")); SBFullHash 135 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const SBFullHash kHash3(SBFullHashForString("three")); SBFullHash 136 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const SBFullHash kHash4(SBFullHashForString("four")); SBFullHash 141 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc SBFullHash kHash1mod1 = kHash1; SBFullHash 143 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc SBFullHash kHash1mod2 = kHash1mod1; SBFullHash 145 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc SBFullHash kHash1mod3 = kHash1mod2; SBFullHash 149 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc SBFullHash kHash4mod = kHash4; SBFullHash 225 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const SBFullHash kHash1(SBFullHashForString("one")); SBFullHash 226 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const SBFullHash kHash2(SBFullHashForString("two")); SBFullHash 227 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const SBFullHash kHash3(SBFullHashForString("three")); SBFullHash 232 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc SBFullHash kHash1mod1 = kHash1; SBFullHash 234 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc SBFullHash kHash1mod2 = kHash1mod1; SBFullHash 236 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc SBFullHash kHash1mod3 = kHash1mod2; SBFullHash 22 chrome/browser/safe_browsing/safe_browsing_util.cc SBFullHash SBFullHashForString(const base::StringPiece& str) { SBFullHash 23 chrome/browser/safe_browsing/safe_browsing_util.cc SBFullHash h; SBFullHash 92 chrome/browser/safe_browsing/safe_browsing_util.cc return sizeof(SBFullHash); SBFullHash 134 chrome/browser/safe_browsing/safe_browsing_util.cc const SBFullHash& SBEntry::FullHashAt(int index) const { SBFullHash 149 chrome/browser/safe_browsing/safe_browsing_util.cc void SBEntry::SetFullHashAt(int index, const SBFullHash& full_hash) { SBFullHash 471 chrome/browser/safe_browsing/safe_browsing_util.cc int GetHashIndex(const SBFullHash& hash, SBFullHash 489 chrome/browser/safe_browsing/safe_browsing_util.cc SBFullHash key = SBFullHashForString(patterns[i]); SBFullHash 534 chrome/browser/safe_browsing/safe_browsing_util.cc SBFullHash StringToSBFullHash(const std::string& hash_in) { SBFullHash 536 chrome/browser/safe_browsing/safe_browsing_util.cc SBFullHash hash_out; SBFullHash 541 chrome/browser/safe_browsing/safe_browsing_util.cc std::string SBFullHashToString(const SBFullHash& hash) { SBFullHash 39 chrome/browser/safe_browsing/safe_browsing_util.h inline bool SBFullHashEqual(const SBFullHash& a, const SBFullHash& b) { SBFullHash 44 chrome/browser/safe_browsing/safe_browsing_util.h SBFullHash SBFullHashForString(const base::StringPiece& str); SBFullHash 107 chrome/browser/safe_browsing/safe_browsing_util.h SBFullHash hash; SBFullHash 205 chrome/browser/safe_browsing/safe_browsing_util.h return IsPrefix() ? sizeof(SBPrefix) : sizeof(SBFullHash); SBFullHash 218 chrome/browser/safe_browsing/safe_browsing_util.h const SBFullHash& FullHashAt(int index) const; SBFullHash 223 chrome/browser/safe_browsing/safe_browsing_util.h void SetFullHashAt(int index, const SBFullHash& full_hash); SBFullHash 235 chrome/browser/safe_browsing/safe_browsing_util.h SBFullHash prefix; SBFullHash 275 chrome/browser/safe_browsing/safe_browsing_util.h SBFullHash add_full_hashes_[1]; SBFullHash 347 chrome/browser/safe_browsing/safe_browsing_util.h int GetHashIndex(const SBFullHash& hash, SBFullHash 365 chrome/browser/safe_browsing/safe_browsing_util.h SBFullHash StringToSBFullHash(const std::string& hash_in); SBFullHash 366 chrome/browser/safe_browsing/safe_browsing_util.h std::string SBFullHashToString(const SBFullHash& hash_out); SBFullHash 330 chrome/browser/safe_browsing/safe_browsing_util_unittest.cc SBFullHash hash_out = safe_browsing_util::StringToSBFullHash(hash_in); SBFullHash 332 chrome/browser/safe_browsing/safe_browsing_util_unittest.cc EXPECT_EQ(0, memcmp(hash_in.data(), hash_out.full_hash, sizeof(SBFullHash)));