hash 76 base/containers/hash_tables.h struct hash<integral_type> { \ hash 96 base/containers/hash_tables.h struct hash<string_type> { \ hash 249 base/containers/hash_tables.h struct hash<std::pair<Type1, Type2> > { hash 50 base/debug/trace_event_impl.h struct hash<base::MessageLoop*> { hash 459 base/files/file_path.h struct hash<base::FilePath> { hash 461 base/files/file_path.h return hash<base::FilePath::StringType>()(f.value()); hash 21 base/memory/discardable_memory_manager.h struct hash<const base::DiscardableMemory*> { hash 23 base/memory/discardable_memory_manager.h return hash<size_t>()(reinterpret_cast<size_t>(ptr)); hash 25 base/sha1.h unsigned char* hash); hash 200 base/sha1_portable.cc char hash[SecureHashAlgorithm::kDigestSizeBytes]; hash 202 base/sha1_portable.cc str.length(), reinterpret_cast<unsigned char*>(hash)); hash 203 base/sha1_portable.cc return std::string(hash, SecureHashAlgorithm::kDigestSizeBytes); hash 207 base/sha1_portable.cc unsigned char* hash) { hash 212 base/sha1_portable.cc memcpy(hash, sha.Digest(), SecureHashAlgorithm::kDigestSizeBytes); hash 26 base/sha1_win.cc ScopedHCRYPTHASH hash; hash 27 base/sha1_win.cc if (!CryptCreateHash(provider, CALG_SHA1, 0, 0, hash.receive())) { hash 32 base/sha1_win.cc if (!CryptHashData(hash, reinterpret_cast<CONST BYTE*>(str.data()), hash 40 base/sha1_win.cc if (!CryptGetHashParam(hash, HP_HASHSIZE, hash 48 base/sha1_win.cc if (!CryptGetHashParam(hash, HP_HASHVAL, hash 440 base/strings/string_piece.h struct hash<base::StringPiece> { hash 446 base/strings/string_piece.h struct hash<base::StringPiece16> { hash 42 base/third_party/superfasthash/superfasthash.c uint32_t hash = len, tmp; hash 52 base/third_party/superfasthash/superfasthash.c hash += get16bits (data); hash 53 base/third_party/superfasthash/superfasthash.c tmp = (get16bits (data+2) << 11) ^ hash; hash 54 base/third_party/superfasthash/superfasthash.c hash = (hash << 16) ^ tmp; hash 56 base/third_party/superfasthash/superfasthash.c hash += hash >> 11; hash 61 base/third_party/superfasthash/superfasthash.c case 3: hash += get16bits (data); hash 62 base/third_party/superfasthash/superfasthash.c hash ^= hash << 16; hash 63 base/third_party/superfasthash/superfasthash.c hash ^= ((signed char)data[sizeof (uint16_t)]) << 18; hash 64 base/third_party/superfasthash/superfasthash.c hash += hash >> 11; hash 66 base/third_party/superfasthash/superfasthash.c case 2: hash += get16bits (data); hash 67 base/third_party/superfasthash/superfasthash.c hash ^= hash << 11; hash 68 base/third_party/superfasthash/superfasthash.c hash += hash >> 17; hash 70 base/third_party/superfasthash/superfasthash.c case 1: hash += (signed char)*data; hash 71 base/third_party/superfasthash/superfasthash.c hash ^= hash << 10; hash 72 base/third_party/superfasthash/superfasthash.c hash += hash >> 1; hash 76 base/third_party/superfasthash/superfasthash.c hash ^= hash << 3; hash 77 base/third_party/superfasthash/superfasthash.c hash += hash >> 5; hash 78 base/third_party/superfasthash/superfasthash.c hash ^= hash << 4; hash 79 base/third_party/superfasthash/superfasthash.c hash += hash >> 17; hash 80 base/third_party/superfasthash/superfasthash.c hash ^= hash << 25; hash 81 base/third_party/superfasthash/superfasthash.c hash += hash >> 6; hash 83 base/third_party/superfasthash/superfasthash.c return hash; hash 131 cc/quads/render_pass.h struct hash<cc::RenderPass::Id> { hash 24 cc/resources/prioritized_resource_manager.h template <> struct hash<cc::PrioritizedResource*> { hash 26 cc/resources/prioritized_resource_manager.h return hash<size_t>()(reinterpret_cast<size_t>(ptr)); hash 24 cc/trees/layer_sorter.h struct hash<cc::GraphEdge*> { hash 26 cc/trees/layer_sorter.h return hash<size_t>()(reinterpret_cast<size_t>(ptr)); hash 23 cc/trees/layer_tree_impl.h struct hash<cc::LayerImpl*> { hash 25 cc/trees/layer_tree_impl.h return hash<size_t>()(reinterpret_cast<size_t>(ptr)); hash 36 chrome/app/signature_validator_win.cc uint8 hash[crypto::kSHA256Length] = {}; hash 40 chrome/app/signature_validator_win.cc crypto::SHA256HashString(key_bytes, hash, crypto::kSHA256Length); hash 42 chrome/app/signature_validator_win.cc *public_key_hash = StringToLowerASCII(base::HexEncode(hash, arraysize(hash))); hash 81 chrome/app/signature_validator_win_unittest.cc uint8 hash[crypto::kSHA256Length] = {0}; hash 85 chrome/app/signature_validator_win_unittest.cc crypto::SHA256HashString(key_bytes, hash, crypto::kSHA256Length); hash 88 chrome/app/signature_validator_win_unittest.cc StringToLowerASCII(base::HexEncode(hash, arraysize(hash))); hash 36 chrome/browser/bookmarks/enhanced_bookmarks_features.cc std::string hash = base::HexEncode(id_hash.c_str(), id_hash.length()); hash 38 chrome/browser/bookmarks/enhanced_bookmarks_features.cc if (IsBookmarksExtensionHash(hash)) hash 876 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const char* const hash; hash 906 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc kTestAccounts[DUMMY_ACCOUNT_INDEX].hash); hash 936 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const std::string hash = base::StringPrintf("hashuser%d", i); hash 938 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const TestAccountInfo info = {email.c_str(), hash.c_str(), name.c_str()}; hash 946 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc kTestAccounts[PRIMARY_ACCOUNT_INDEX].hash); hash 957 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc user_manager->UserLoggedIn(info.email, info.hash, false); hash 960 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc chromeos::ProfileHelper::GetProfileByUserIdHash(info.hash)->GetPrefs()-> hash 391 chrome/browser/chromeos/login/extended_authenticator.cc std::string hash = hash 393 chrome/browser/chromeos/login/extended_authenticator.cc callback.Run(hash); hash 39 chrome/browser/chromeos/login/extended_authenticator.h typedef base::Callback<void(const std::string& hash)> HashSuccessCallback; hash 217 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc current_state_->hash(), hash 298 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc const std::string& hash) { hash 301 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc hash_ = hash; hash 50 chrome/browser/chromeos/login/managed/managed_user_authenticator.h void RecordHash(const std::string& hash); hash 55 chrome/browser/chromeos/login/managed/managed_user_authenticator.h std::string hash(); hash 51 chrome/browser/chromeos/login/user_manager.cc const std::string& hash) { hash 51 chrome/browser/chromeos/login/user_manager.h virtual void ActiveUserHashChanged(const std::string& hash); hash 1900 chrome/browser/chromeos/login/user_manager_impl.cc void UserManagerImpl::NotifyActiveUserHashChanged(const std::string& hash) { hash 1904 chrome/browser/chromeos/login/user_manager_impl.cc ActiveUserHashChanged(hash)); hash 307 chrome/browser/chromeos/login/user_manager_impl.h void NotifyActiveUserHashChanged(const std::string& hash); hash 373 chrome/browser/chromeos/policy/auto_enrollment_client.cc has_server_state_ = IsIdHashInProtobuf(enrollment_response.hash()); hash 103 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc std::string hash = crypto::SHA256HashString(state_key); hash 104 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc enrollment_response->mutable_hash()->Add()->assign(hash); hash 75 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const std::string& hash, hash 224 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const std::string& hash, hash 227 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc DCHECK_EQ(hash, metadata_[policy].hash); hash 229 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc external_data_store_->Store(policy, hash, data); hash 261 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc policy, metadata->second.hash, GetMaxExternalDataSize(policy), hash 283 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc policy, it->second.hash, GetMaxExternalDataSize(policy), hash 330 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc metadata.hash, hash 335 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc metadata.hash)); hash 388 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc std::vector<uint8> hash; hash 393 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::HexStringToBytes(hex_hash, &hash)) { hash 397 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc MetadataEntry(url, std::string(hash.begin(), hash.end())); hash 33 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc const std::string hash = crypto::SHA256HashString(data); hash 36 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc metadata->SetStringWithoutPathExpansion("hash", base::HexEncode(hash.c_str(), hash 37 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc hash.size())); hash 113 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc const std::string& hash); hash 200 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc const std::string& hash) { hash 203 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc metadata->SetStringWithoutPathExpansion("hash", base::HexEncode(hash.c_str(), hash 204 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc hash.size())); hash 20 chrome/browser/chromeos/policy/cloud_external_data_store.cc std::string GetSubkey(const std::string& policy, const std::string& hash) { hash 22 chrome/browser/chromeos/policy/cloud_external_data_store.cc DCHECK(!hash.empty()); hash 24 chrome/browser/chromeos/policy/cloud_external_data_store.cc base::IntToString(hash.size()) + ":" + hash 25 chrome/browser/chromeos/policy/cloud_external_data_store.cc policy + hash; hash 49 chrome/browser/chromeos/policy/cloud_external_data_store.cc subkeys_to_keep.insert(GetSubkey(it->first, it->second.hash)); hash 55 chrome/browser/chromeos/policy/cloud_external_data_store.cc const std::string& hash, hash 58 chrome/browser/chromeos/policy/cloud_external_data_store.cc return cache_->Store(cache_key_, GetSubkey(policy, hash), data); hash 62 chrome/browser/chromeos/policy/cloud_external_data_store.cc const std::string& hash, hash 66 chrome/browser/chromeos/policy/cloud_external_data_store.cc const std::string subkey = GetSubkey(policy, hash); hash 68 chrome/browser/chromeos/policy/cloud_external_data_store.cc if (data->size() <= max_size && crypto::SHA256HashString(*data) == hash) hash 45 chrome/browser/chromeos/policy/cloud_external_data_store.h const std::string& hash, hash 53 chrome/browser/chromeos/policy/cloud_external_data_store.h const std::string& hash, hash 157 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc std::vector<uint8> hash; hash 158 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc if (!base::HexStringToBytes(hash_string, &hash) || hash 159 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc hash.size() != crypto::kSHA256Length) { hash 215 chrome/browser/chromeos/profiles/profile_helper.cc void ProfileHelper::ActiveUserHashChanged(const std::string& hash) { hash 216 chrome/browser/chromeos/profiles/profile_helper.cc active_user_id_hash_ = hash; hash 217 chrome/browser/chromeos/profiles/profile_helper.cc base::FilePath profile_path = GetProfilePathByUserIdHash(hash); hash 106 chrome/browser/chromeos/profiles/profile_helper.h virtual void ActiveUserHashChanged(const std::string& hash) OVERRIDE; hash 39 chrome/browser/chromeos/profiles/profile_helper_browsertest.cc const std::string& hash) { hash 40 chrome/browser/chromeos/profiles/profile_helper_browsertest.cc profile_helper->ActiveUserHashChanged(hash); hash 116 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const std::string& hash) { hash 117 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc profile_helper->ActiveUserHashChanged(hash); hash 229 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc std::string hash = email_string + kUserIdHashSuffix; hash 231 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc g_browser_process->platform_part()->profile_helper(), hash); hash 168 chrome/browser/component_updater/component_unpacker.cc uint8 hash[32] = {}; hash 171 chrome/browser/component_updater/component_unpacker.cc sha256->Finish(hash, arraysize(hash)); hash 173 chrome/browser/component_updater/component_unpacker.cc if (!std::equal(pk_hash_.begin(), pk_hash_.end(), hash)) { hash 69 chrome/browser/component_updater/default_component_installer.h virtual void GetHash(std::vector<uint8>* hash) const = 0; hash 249 chrome/browser/component_updater/widevine_cdm_component_installer.cc virtual void GetHash(std::vector<uint8>* hash) const OVERRIDE; hash 309 chrome/browser/component_updater/widevine_cdm_component_installer.cc std::vector<uint8>* hash) const { hash 310 chrome/browser/component_updater/widevine_cdm_component_installer.cc hash->assign(kSha2Hash, kSha2Hash + arraysize(kSha2Hash)); hash 40 chrome/browser/download/chrome_download_manager_delegate.h struct hash<extensions::CrxInstaller*> { hash 322 chrome/browser/enumerate_modules_model_win.cc uint8 hash[4]; hash 323 chrome/browser/enumerate_modules_model_win.cc crypto::SHA256HashString(input, hash, sizeof(hash)); hash 324 chrome/browser/enumerate_modules_model_win.cc *output = StringToLowerASCII(base::HexEncode(hash, sizeof(hash))); hash 476 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc memcpy(data_out.hash, hash 506 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::BinaryValue* hash = base::BinaryValue::CreateWithCopiedBuffer( hash 507 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc reinterpret_cast<const char*>(data.hash), hash 516 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc result->Set("hash", hash); hash 145 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc memcpy(&(data.hash), kOutOfBandPairingDataHash, hash 35 chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc std::string hash; hash 37 chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc hash = *params->options->image_hash; hash 43 chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc hash, hash 61 chrome/browser/extensions/api/image_writer_private/operation_manager.cc const std::string& hash, hash 75 chrome/browser/extensions/api/image_writer_private/operation_manager.cc hash, hash 52 chrome/browser/extensions/api/image_writer_private/operation_manager.h const std::string& hash, hash 22 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc const std::string& hash, hash 27 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc hash_(hash), hash 29 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h const std::string& hash, hash 35 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc const std::string& hash, hash 41 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc hash, hash 91 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc const std::string& hash) { hash 97 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc hash, hash 85 chrome/browser/extensions/extension_protocols.cc std::string hash = base::StringPrintf("%" PRId64, hash 87 chrome/browser/extensions/extension_protocols.cc hash = base::SHA1HashString(hash); hash 89 chrome/browser/extensions/extension_protocols.cc base::Base64Encode(hash, &etag); hash 90 chrome/browser/extensions/install_signer.cc scoped_ptr<crypto::SecureHash> hash( hash 93 chrome/browser/extensions/install_signer.cc hash->Update(machine_id.data(), machine_id.size()); hash 94 chrome/browser/extensions/install_signer.cc hash->Update(salt.data(), salt.size()); hash 97 chrome/browser/extensions/install_signer.cc hash->Finish(string_as_array(&result_bytes), result_bytes.size()); hash 1009 chrome/browser/extensions/updater/extension_updater_unittest.cc std::string hash; hash 1015 chrome/browser/extensions/updater/extension_updater_unittest.cc id, test_url, hash, version.GetString(), requests)); hash 1110 chrome/browser/extensions/updater/extension_updater_unittest.cc std::string hash; hash 1116 chrome/browser/extensions/updater/extension_updater_unittest.cc id, test_url, hash, version.GetString(), requests)); hash 97 chrome/browser/managed_mode/managed_mode_site_list.cc std::string hash; hash 98 chrome/browser/managed_mode/managed_mode_site_list.cc if (!(*hash_list_it)->GetAsString(&hash)) { hash 103 chrome/browser/managed_mode/managed_mode_site_list.cc hashes->push_back(hash); hash 63 chrome/browser/managed_mode/managed_mode_url_filter.cc void AddHostnameHash(const std::string& hash, int site_id); hash 110 chrome/browser/managed_mode/managed_mode_url_filter.cc void FilterBuilder::AddHostnameHash(const std::string& hash, int site_id) { hash 111 chrome/browser/managed_mode/managed_mode_url_filter.cc contents_->hash_site_map.insert(std::make_pair(StringToUpperASCII(hash), hash 217 chrome/browser/managed_mode/managed_mode_url_filter.cc std::string hash = base::SHA1HashString(url.host()); hash 218 chrome/browser/managed_mode/managed_mode_url_filter.cc return base::HexEncode(hash.data(), hash.length()); hash 22 chrome/browser/metrics/cloned_install_detector.cc uint64 hash = metrics::HashMetricName(value); hash 25 chrome/browser/metrics/cloned_install_detector.cc return hash & ((1 << 24) - 1); hash 1694 chrome/browser/metrics/metrics_service.cc const std::string hash = hash 1697 chrome/browser/metrics/metrics_service.cc DCHECK(!hash.empty()); hash 1698 chrome/browser/metrics/metrics_service.cc current_fetch_->AddExtraRequestHeader("X-Chrome-UMA-Log-SHA1: " + hash); hash 62 chrome/browser/metrics/variations/variations_seed_store_unittest.cc std::string SerializeSeedBase64(const VariationsSeed& seed, std::string* hash) { hash 64 chrome/browser/metrics/variations/variations_seed_store_unittest.cc if (hash != NULL) { hash 66 chrome/browser/metrics/variations/variations_seed_store_unittest.cc *hash = base::HexEncode(sha1.data(), sha1.size()); hash 40 chrome/browser/net/network_stats_unittest.cc const string& hash, hash 43 chrome/browser/net/network_stats_unittest.cc token->mutable_hash()->assign(hash); hash 57 chrome/browser/prefs/pref_hash_calculator.h const std::string& hash) const; hash 305 chrome/browser/prerender/prerender_local_predictor.cc scoped_ptr<crypto::SecureHash> hash( hash 309 chrome/browser/prerender/prerender_local_predictor.cc hash->Update(url_string, strlen(url_string)); hash 310 chrome/browser/prerender/prerender_local_predictor.cc hash->Finish(&hash_value, kURLHashSize); hash 414 chrome/browser/prerender/prerender_local_predictor.cc scoped_ptr<crypto::SecureHash> hash( hash 416 chrome/browser/prerender/prerender_local_predictor.cc hash->Update(front + kChecksumHashSize, size - kChecksumHashSize); hash 418 chrome/browser/prerender/prerender_local_predictor.cc hash->Finish(hash_value, kChecksumHashSize); hash 73 chrome/browser/profile_resetter/jtl_interpreter.cc bool GetValueHash(const base::Value& value, std::string* hash) { hash 74 chrome/browser/profile_resetter/jtl_interpreter.cc DCHECK(hash); hash 84 chrome/browser/profile_resetter/jtl_interpreter.cc *hash = GetHash(value_as_string); hash 257 chrome/browser/profile_resetter/jtl_interpreter.cc std::string hash; hash 258 chrome/browser/profile_resetter/jtl_interpreter.cc if (!context->GetValueHash(*context->current_node(), &hash)) hash 260 chrome/browser/profile_resetter/jtl_interpreter.cc value.reset(new base::StringValue(hash)); hash 410 chrome/browser/profiles/profile.h struct hash<Profile*> { hash 413 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 429 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 509 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 521 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 555 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 567 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 705 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 717 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 760 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 772 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 844 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 856 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 893 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 905 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 936 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 949 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 980 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_EQ(hash, request.digests().sha256()); hash 1025 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 1038 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 1067 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_EQ(hash, request.digests().sha256()); hash 1109 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 1122 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 1156 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_EQ(hash, request.digests().sha256()); hash 1231 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_EQ(hash, request.digests().sha256()); hash 1280 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 1285 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 1348 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 1360 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 1392 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string hash = "hash"; hash 1406 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); hash 44 chrome/browser/safe_browsing/protocol_manager.h struct hash<const net::URLFetcher*> { hash 81 chrome/browser/safe_browsing/protocol_parser.cc memcpy(&full_hash.hash, data, sizeof(SBFullHash)); hash 412 chrome/browser/safe_browsing/protocol_parser.cc SBFullHash hash; hash 413 chrome/browser/safe_browsing/protocol_parser.cc DCHECK_EQ(hash_len, (int)sizeof(hash)); hash 414 chrome/browser/safe_browsing/protocol_parser.cc memcpy(&hash, *data, sizeof(hash)); hash 415 chrome/browser/safe_browsing/protocol_parser.cc entry->SetFullHashAt(i, hash); hash 439 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_EQ(memcmp(&full_hashes[0].hash, hash 443 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_EQ(memcmp(&full_hashes[1].hash, hash 447 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_EQ(memcmp(&full_hashes[2].hash, hash 463 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_EQ(memcmp(&full_hashes[0].hash, hash 467 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_EQ(memcmp(&full_hashes[1].hash, hash 471 chrome/browser/safe_browsing/protocol_parser_unittest.cc EXPECT_EQ(memcmp(&full_hashes[2].hash, hash 490 chrome/browser/safe_browsing/protocol_parser_unittest.cc &full_hashes[0].hash, sizeof(SBFullHash)), 0); hash 503 chrome/browser/safe_browsing/protocol_parser_unittest.cc &full_hashes[0].hash, sizeof(SBFullHash)), 0); hash 507 chrome/browser/safe_browsing/protocol_parser_unittest.cc &full_hashes[1].hash, sizeof(SBFullHash)), 0); hash 223 chrome/browser/safe_browsing/safe_browsing_database.cc result.hash = hiter->full_hash; hash 816 chrome/browser/safe_browsing/safe_browsing_database.cc const std::string hash = base::SHA1HashString(subnet); hash 821 chrome/browser/safe_browsing/safe_browsing_database.cc << " hash:" << base::HexEncode(hash.data(), hash.size()); hash 822 chrome/browser/safe_browsing/safe_browsing_database.cc if (it->second.count(hash) > 0) { hash 1075 chrome/browser/safe_browsing/safe_browsing_database.cc SBAddFullHash add_full_hash(encoded_chunk_id, now, iter->hash); hash 38 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc std::string hash(crypto::kSHA256Length, '\0'); hash 39 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc hash.replace(0, hashed_ip_prefix.size(), hashed_ip_prefix); hash 40 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc hash[base::kSHA1Length] = static_cast<char>(prefix_size); hash 41 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc return hash; hash 865 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc full_hash.hash = SBFullHashForString("www.evil.com/phishing.html"); hash 872 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc full_hash.hash = SBFullHashForString("www.evil.com/malware.html"); hash 894 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc SBFullHashEqual(full_hashes[0].hash, hash 906 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc SBFullHashEqual(full_hashes[0].hash, hash 930 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc SBFullHashEqual(full_hashes[0].hash, hash 1047 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc SBFullHashEqual(full_hashes[0].hash, hash 1058 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc SBFullHashEqual(full_hashes[0].hash, hash 1087 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc SBFullHashEqual(full_hashes[0].hash, hash 342 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc full_hash->hash = SBFullHashForString(host + path); hash 351 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc full_hash->hash = safe_browsing_util::StringToSBFullHash(full_digest); hash 388 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc prefix_hits.push_back(full_hash.hash.prefix); hash 471 chrome/browser/safe_browsing/safe_browsing_util.cc int GetHashIndex(const SBFullHash& hash, hash 474 chrome/browser/safe_browsing/safe_browsing_util.cc if (SBFullHashEqual(hash, full_hashes[i].hash)) hash 541 chrome/browser/safe_browsing/safe_browsing_util.cc std::string SBFullHashToString(const SBFullHash& hash) { hash 542 chrome/browser/safe_browsing/safe_browsing_util.cc DCHECK_EQ(crypto::kSHA256Length, sizeof(hash.full_hash)); hash 543 chrome/browser/safe_browsing/safe_browsing_util.cc return std::string(hash.full_hash, sizeof(hash.full_hash)); hash 107 chrome/browser/safe_browsing/safe_browsing_util.h SBFullHash hash; hash 347 chrome/browser/safe_browsing/safe_browsing_util.h int GetHashIndex(const SBFullHash& hash, hash 285 chrome/browser/safe_browsing/safe_browsing_util_unittest.cc full_hash.hash = SBFullHashForString(url.host() + url.path()); hash 32 chrome/browser/spellchecker/feedback.cc Misspelling* Feedback::GetMisspelling(uint32 hash) { hash 33 chrome/browser/spellchecker/feedback.cc HashMisspellingMap::iterator misspelling_it = misspellings_.find(hash); hash 105 chrome/browser/spellchecker/feedback.cc text_[misspelling.GetMisspelledString()].erase(misspelling.hash); hash 112 chrome/browser/spellchecker/feedback.cc bool Feedback::HasMisspelling(uint32 hash) const { hash 113 chrome/browser/spellchecker/feedback.cc return !!misspellings_.count(hash); hash 119 chrome/browser/spellchecker/feedback.cc misspellings_.find(misspelling.hash); hash 122 chrome/browser/spellchecker/feedback.cc text_[existing_misspelling.GetMisspelledString()].erase(misspelling.hash); hash 128 chrome/browser/spellchecker/feedback.cc renderer_hashes.erase(misspelling.hash); hash 133 chrome/browser/spellchecker/feedback.cc misspellings_[misspelling.hash] = misspelling; hash 134 chrome/browser/spellchecker/feedback.cc text_[misspelling.GetMisspelledString()].insert(misspelling.hash); hash 135 chrome/browser/spellchecker/feedback.cc renderers_[renderer_process_id].insert(misspelling.hash); hash 40 chrome/browser/spellchecker/feedback.h Misspelling* GetMisspelling(uint32 hash); hash 62 chrome/browser/spellchecker/feedback.h bool HasMisspelling(uint32 hash) const; hash 87 chrome/browser/spellchecker/feedback_sender.cc result.hash); hash 181 chrome/browser/spellchecker/feedback_sender.cc void FeedbackSender::SelectedSuggestion(uint32 hash, int suggestion_index) { hash 182 chrome/browser/spellchecker/feedback_sender.cc Misspelling* misspelling = feedback_.GetMisspelling(hash); hash 192 chrome/browser/spellchecker/feedback_sender.cc void FeedbackSender::AddedToDictionary(uint32 hash) { hash 193 chrome/browser/spellchecker/feedback_sender.cc Misspelling* misspelling = feedback_.GetMisspelling(hash); hash 213 chrome/browser/spellchecker/feedback_sender.cc void FeedbackSender::RecordInDictionary(uint32 hash) { hash 214 chrome/browser/spellchecker/feedback_sender.cc Misspelling* misspelling = feedback_.GetMisspelling(hash); hash 222 chrome/browser/spellchecker/feedback_sender.cc void FeedbackSender::IgnoredSuggestions(uint32 hash) { hash 223 chrome/browser/spellchecker/feedback_sender.cc Misspelling* misspelling = feedback_.GetMisspelling(hash); hash 232 chrome/browser/spellchecker/feedback_sender.cc void FeedbackSender::ManuallyCorrected(uint32 hash, hash 234 chrome/browser/spellchecker/feedback_sender.cc Misspelling* misspelling = feedback_.GetMisspelling(hash); hash 278 chrome/browser/spellchecker/feedback_sender.cc marker_map[markers[i].offset] = markers[i].hash; hash 290 chrome/browser/spellchecker/feedback_sender.cc result_it->hash = marker_it->second; hash 294 chrome/browser/spellchecker/feedback_sender.cc result_it->hash = BuildHash(session_start_, ++misspelling_counter_); hash 64 chrome/browser/spellchecker/feedback_sender.h void SelectedSuggestion(uint32 hash, int suggestion_index); hash 68 chrome/browser/spellchecker/feedback_sender.h void AddedToDictionary(uint32 hash); hash 72 chrome/browser/spellchecker/feedback_sender.h void IgnoredSuggestions(uint32 hash); hash 77 chrome/browser/spellchecker/feedback_sender.h void ManuallyCorrected(uint32 hash, const base::string16& correction); hash 81 chrome/browser/spellchecker/feedback_sender.h void RecordInDictionary(uint32 hash); hash 102 chrome/browser/spellchecker/feedback_sender_unittest.cc return results[0].hash; hash 163 chrome/browser/spellchecker/feedback_sender_unittest.cc uint32 hash = AddPendingFeedback(); hash 166 chrome/browser/spellchecker/feedback_sender_unittest.cc feedback_->SelectedSuggestion(hash, kSuggestionIndex); hash 173 chrome/browser/spellchecker/feedback_sender_unittest.cc uint32 hash = AddPendingFeedback(); hash 175 chrome/browser/spellchecker/feedback_sender_unittest.cc std::vector<uint32>(1, hash)); hash 190 chrome/browser/spellchecker/feedback_sender_unittest.cc uint32 hash = AddPendingFeedback(); hash 192 chrome/browser/spellchecker/feedback_sender_unittest.cc feedback_->SelectedSuggestion(hash, kSuggestionIndex); hash 202 chrome/browser/spellchecker/feedback_sender_unittest.cc uint32 hash = AddPendingFeedback(); hash 203 chrome/browser/spellchecker/feedback_sender_unittest.cc feedback_->AddedToDictionary(hash); hash 212 chrome/browser/spellchecker/feedback_sender_unittest.cc uint32 hash = AddPendingFeedback(); hash 213 chrome/browser/spellchecker/feedback_sender_unittest.cc feedback_->RecordInDictionary(hash); hash 222 chrome/browser/spellchecker/feedback_sender_unittest.cc uint32 hash = AddPendingFeedback(); hash 223 chrome/browser/spellchecker/feedback_sender_unittest.cc feedback_->IgnoredSuggestions(hash); hash 225 chrome/browser/spellchecker/feedback_sender_unittest.cc std::vector<uint32>(1, hash)); hash 232 chrome/browser/spellchecker/feedback_sender_unittest.cc uint32 hash = AddPendingFeedback(); hash 233 chrome/browser/spellchecker/feedback_sender_unittest.cc feedback_->IgnoredSuggestions(hash); hash 242 chrome/browser/spellchecker/feedback_sender_unittest.cc uint32 hash = AddPendingFeedback(); hash 244 chrome/browser/spellchecker/feedback_sender_unittest.cc feedback_->ManuallyCorrected(hash, base::ASCIIToUTF16(kManualCorrection)); hash 277 chrome/browser/spellchecker/feedback_sender_unittest.cc uint32 hash = AddPendingFeedback(); hash 278 chrome/browser/spellchecker/feedback_sender_unittest.cc std::vector<uint32> remaining_markers(1, hash); hash 282 chrome/browser/spellchecker/feedback_sender_unittest.cc std::string hash_string = base::StringPrintf("\"suggestionId\":\"%u\"", hash); hash 318 chrome/browser/spellchecker/feedback_sender_unittest.cc uint32 original_hash = results[0].hash; hash 346 chrome/browser/spellchecker/feedback_sender_unittest.cc 1, SpellCheckMarker(results[0].hash, results[0].location)); hash 353 chrome/browser/spellchecker/feedback_sender_unittest.cc uint32 updated_hash = results[0].hash; hash 503 chrome/browser/spellchecker/feedback_sender_unittest.cc uint32 hash = AddPendingFeedback(); hash 511 chrome/browser/spellchecker/feedback_sender_unittest.cc 1, SpellCheckMarker(hash, results[0].location)); hash 512 chrome/browser/spellchecker/feedback_sender_unittest.cc EXPECT_EQ(static_cast<uint32>(0), results[0].hash); hash 515 chrome/browser/spellchecker/feedback_sender_unittest.cc EXPECT_EQ(hash, results[0].hash); hash 543 chrome/browser/spellchecker/feedback_sender_unittest.cc remaining_markers.push_back(results[i].hash); hash 549 chrome/browser/spellchecker/feedback_sender_unittest.cc feedback_->AddedToDictionary(results[0].hash); hash 33 chrome/browser/spellchecker/feedback_unittest.cc void AddMisspelling(int renderer_process_id, uint32 hash) { hash 35 chrome/browser/spellchecker/feedback_unittest.cc misspelling.hash = hash; hash 48 chrome/browser/spellchecker/feedback_unittest.cc EXPECT_EQ(kMisspellingHash, result->hash); hash 93 chrome/browser/spellchecker/feedback_unittest.cc EXPECT_EQ(kMisspellingHash, renderer_with_misspellings[0].hash); hash 168 chrome/browser/spellchecker/feedback_unittest.cc EXPECT_NE(result[0].hash, result[1].hash); hash 169 chrome/browser/spellchecker/feedback_unittest.cc EXPECT_TRUE(result[0].hash == kMisspellingHash || hash 170 chrome/browser/spellchecker/feedback_unittest.cc result[0].hash == kMisspellingHash + 1); hash 171 chrome/browser/spellchecker/feedback_unittest.cc EXPECT_TRUE(result[1].hash == kMisspellingHash || hash 172 chrome/browser/spellchecker/feedback_unittest.cc result[1].hash == kMisspellingHash + 1); hash 194 chrome/browser/spellchecker/feedback_unittest.cc uint32 hash = kMisspellingHash; hash 205 chrome/browser/spellchecker/feedback_unittest.cc ++hash)); hash 220 chrome/browser/spellchecker/feedback_unittest.cc hash + 1)); hash 233 chrome/browser/spellchecker/feedback_unittest.cc EXPECT_TRUE(misspelling->hash >= kMisspellingHash && hash 234 chrome/browser/spellchecker/feedback_unittest.cc misspelling->hash <= hash); hash 35 chrome/browser/spellchecker/misspelling.cc : location(0), length(0), hash(0), timestamp(base::Time::Now()) { hash 42 chrome/browser/spellchecker/misspelling.cc uint32 hash) hash 47 chrome/browser/spellchecker/misspelling.cc hash(hash), hash 62 chrome/browser/spellchecker/misspelling.cc result->SetString("suggestionId", base::UintToString(hash)); hash 38 chrome/browser/spellchecker/misspelling.h uint32 hash); hash 63 chrome/browser/spellchecker/misspelling.h uint32 hash; hash 20 chrome/browser/spellchecker/misspelling_unittest.cc misspelling.hash = 9001; hash 154 chrome/browser/spellchecker/spellcheck_message_filter.cc spellcheck->GetFeedbackSender()->RecordInDictionary(iter->hash); hash 37 chrome/browser/sync_file_system/drive_backend/metadata_database_index.h template<> struct hash<sync_file_system::drive_backend::ParentIDAndTitle> { hash 40 chrome/browser/sync_file_system/drive_backend/metadata_database_index.h return base::HashInts64(v.parent_id, hash<std::string>()(v.title)); hash 47 chrome/browser/ui/metro_pin_tab_helper_win.cc uint8 hash[crypto::kSHA256Length]; hash 48 chrome/browser/ui/metro_pin_tab_helper_win.cc crypto::SHA256HashString(base::UTF16ToUTF8(url_str), hash, sizeof(hash)); hash 49 chrome/browser/ui/metro_pin_tab_helper_win.cc std::string hash_str = base::HexEncode(hash, sizeof(hash)); hash 134 chrome/browser/ui/webui/net_internals/net_internals_ui.cc net::HashValue hash; hash 143 chrome/browser/ui/webui/net_internals/net_internals_ui.cc if (!hash.FromString(hash_str)) hash 145 chrome/browser/ui/webui/net_internals/net_internals_ui.cc hashes->push_back(hash); hash 73 chrome/common/metrics/metrics_log_base.cc uint64 hash = metrics::HashMetricName(value); hash 81 chrome/common/metrics/metrics_log_base.cc DVLOG(1) << "Metrics: Hash numeric [" << value << "]=[" << hash << "]"; hash 83 chrome/common/metrics/metrics_log_base.cc return hash; hash 112 chrome/common/service_process_util.cc std::string hash = base::SHA1HashString(user_data_dir_path); hash 113 chrome/common/service_process_util.cc std::string hex_hash = base::HexEncode(hash.c_str(), hash.length()); hash 23 chrome/common/spellcheck_marker.h SpellCheckMarker() : hash(-1), offset(-1) {} hash 25 chrome/common/spellcheck_marker.h SpellCheckMarker(uint32 hash, size_t offset) : hash(hash), offset(offset) {} hash 27 chrome/common/spellcheck_marker.h uint32 hash; hash 23 chrome/common/spellcheck_messages.h IPC_STRUCT_TRAITS_MEMBER(hash) hash 27 chrome/common/spellcheck_messages.h IPC_STRUCT_TRAITS_MEMBER(hash) hash 33 chrome/common/spellcheck_result.h : decoration(d), location(loc), length(len), replacement(rep), hash(h) { hash 40 chrome/common/spellcheck_result.h uint32 hash; hash 9 chrome/installer/mac/third_party/bsdiff/sha1_adapter.cc void SHA1(const unsigned char* data, size_t len, unsigned char* hash) { hash 10 chrome/installer/mac/third_party/bsdiff/sha1_adapter.cc base::SHA1HashBytes(data, len, hash); hash 19 chrome/installer/mac/third_party/bsdiff/sha1_adapter.h void SHA1(const unsigned char* data, size_t len, unsigned char* hash); hash 61 chrome/installer/util/auto_launch_util.cc uint8 hash[16]; hash 62 chrome/installer/util/auto_launch_util.cc crypto::SHA256HashString(input, hash, sizeof(hash)); hash 63 chrome/installer/util/auto_launch_util.cc std::string hash_string = base::HexEncode(hash, sizeof(hash)); hash 379 chrome/renderer/spellchecker/spellcheck.cc spellcheck_results[i].hash)); hash 458 chrome/test/chromedriver/chrome_launcher.cc uint8 hash[16]; hash 459 chrome/test/chromedriver/chrome_launcher.cc crypto::SHA256HashString(input, hash, sizeof(hash)); hash 460 chrome/test/chromedriver/chrome_launcher.cc std::string output = StringToLowerASCII(base::HexEncode(hash, sizeof(hash))); hash 33 chrome/tools/profile_reset/jtl_compiler.cc void WriteHash(const std::string& hash) { hash 34 chrome/tools/profile_reset/jtl_compiler.cc CHECK(jtl::Hasher::IsHash(hash)); hash 35 chrome/tools/profile_reset/jtl_compiler.cc *output_ += hash; hash 24 chrome_elf/dll_hash/dll_hash_main.cc int hash = DllNameToHash(std::string(argv[i])); hash 25 chrome_elf/dll_hash/dll_hash_main.cc printf("<int value=\"%d\" label=\"%s\"/>\n", hash, argv[i]); hash 63 cloud_print/gcp20/prototype/x_privet_token.cc std::string hash = base::SHA1HashString(secret_ + hash 66 cloud_print/gcp20/prototype/x_privet_token.cc base::Base64Encode(hash, &result); hash 16 components/metrics/metrics_hashes.cc inline uint64 HashToUInt64(const std::string& hash) { hash 18 components/metrics/metrics_hashes.cc DCHECK_GE(hash.size(), sizeof(value)); hash 19 components/metrics/metrics_hashes.cc memcpy(&value, hash.data(), sizeof(value)); hash 25 components/metrics/metrics_hashes_unittest.cc uint64 hash = HashMetricName(cases[i].input); hash 26 components/metrics/metrics_hashes_unittest.cc std::string hash_hex = base::StringPrintf("0x%016" PRIx64, hash); hash 16 components/policy/core/common/cloud/cloud_external_data_manager.cc const std::string& hash) hash 18 components/policy/core/common/cloud/cloud_external_data_manager.cc hash(hash) { hash 23 components/policy/core/common/cloud/cloud_external_data_manager.cc return url != other.url || hash != other.hash; hash 32 components/policy/core/common/cloud/cloud_external_data_manager.h MetadataEntry(const std::string& url, const std::string& hash); hash 37 components/policy/core/common/cloud/cloud_external_data_manager.h std::string hash; hash 164 components/policy/core/common/cloud/external_policy_data_updater.cc const std::string& hash, hash 166 components/policy/core/common/cloud/external_policy_data_updater.cc : url(url), hash(hash), max_size(max_size) { hash 171 components/policy/core/common/cloud/external_policy_data_updater.cc return url == other.url && hash == other.hash && max_size == other.max_size; hash 257 components/policy/core/common/cloud/external_policy_data_updater.cc if (crypto::SHA256HashString(*data) != request_.hash) { hash 40 components/policy/core/common/cloud/external_policy_data_updater.h Request(const std::string& url, const std::string& hash, int64 max_size); hash 45 components/policy/core/common/cloud/external_policy_data_updater.h std::string hash; hash 236 components/startup_metric_utils/startup_metric_utils.cc SubsystemStartupTimeHash* hash = GetSubsystemStartupTimeHash(); hash 238 components/startup_metric_utils/startup_metric_utils.cc if (hash->find(histogram_name_) != hash->end()) hash 241 components/startup_metric_utils/startup_metric_utils.cc (*hash)[histogram_name_] = hash 329 components/visitedlink/browser/visitedlink_master.h inline Hash IncrementHash(Hash hash) { hash 330 components/visitedlink/browser/visitedlink_master.h if (hash >= table_length_ - 1) hash 332 components/visitedlink/browser/visitedlink_master.h return hash + 1; hash 334 components/visitedlink/browser/visitedlink_master.h inline Hash DecrementHash(Hash hash) { hash 335 components/visitedlink/browser/visitedlink_master.h if (hash <= 0) hash 337 components/visitedlink/browser/visitedlink_master.h return hash - 1; hash 213 content/browser/download/base_file.cc bool BaseFile::GetHash(std::string* hash) { hash 215 content/browser/download/base_file.cc hash->assign(reinterpret_cast<const char*>(sha256_hash_), hash 233 content/browser/download/base_file.cc bool BaseFile::IsEmptyHash(const std::string& hash) { hash 234 content/browser/download/base_file.cc return (hash.size() == crypto::kSHA256Length && hash 235 content/browser/download/base_file.cc 0 == memcmp(hash.data(), kEmptySha256Hash, crypto::kSHA256Length)); hash 88 content/browser/download/base_file.h virtual bool GetHash(std::string* hash); hash 96 content/browser/download/base_file.h static bool IsEmptyHash(const std::string& hash); hash 94 content/browser/download/base_file_unittest.cc std::string hash; hash 96 content/browser/download/base_file_unittest.cc hash.assign(reinterpret_cast<const char*>(sha256_hash_), hash 98 content/browser/download/base_file_unittest.cc return hash; hash 269 content/browser/download/base_file_unittest.cc std::string hash; hash 270 content/browser/download/base_file_unittest.cc base_file_->GetHash(&hash); hash 273 content/browser/download/base_file_unittest.cc EXPECT_EQ(expected_hash_hex, base::HexEncode(hash.data(), hash.size())); hash 312 content/browser/download/base_file_unittest.cc std::string hash; hash 313 content/browser/download/base_file_unittest.cc EXPECT_FALSE(base_file_->GetHash(&hash)); hash 334 content/browser/download/base_file_unittest.cc std::string hash; hash 335 content/browser/download/base_file_unittest.cc base_file_->GetHash(&hash); hash 336 content/browser/download/base_file_unittest.cc EXPECT_EQ(expected_hash_hex, base::HexEncode(hash.data(), hash.size())); hash 350 content/browser/download/base_file_unittest.cc std::string hash; hash 357 content/browser/download/base_file_unittest.cc EXPECT_FALSE(base_file_->GetHash(&hash)); hash 360 content/browser/download/base_file_unittest.cc EXPECT_TRUE(base_file_->GetHash(&hash)); hash 363 content/browser/download/base_file_unittest.cc EXPECT_EQ(expected_hash_hex, base::HexEncode(hash.data(), hash.size())); hash 410 content/browser/download/base_file_unittest.cc std::string hash; hash 411 content/browser/download/base_file_unittest.cc EXPECT_TRUE(second_file.GetHash(&hash)); hash 414 content/browser/download/base_file_unittest.cc base::HexEncode(hash.data(), hash.size()).c_str()); hash 71 content/browser/download/download_file.h virtual bool GetHash(std::string* hash) = 0; hash 195 content/browser/download/download_file_impl.cc bool DownloadFileImpl::GetHash(std::string* hash) { hash 196 content/browser/download/download_file_impl.cc return file_.GetHash(hash); hash 290 content/browser/download/download_file_impl.cc std::string hash; hash 291 content/browser/download/download_file_impl.cc if (!GetHash(&hash) || file_.IsEmptyHash(hash)) hash 292 content/browser/download/download_file_impl.cc hash.clear(); hash 298 content/browser/download/download_file_impl.cc observer_, hash)); hash 64 content/browser/download/download_file_impl.h virtual bool GetHash(std::string* hash) OVERRIDE; hash 392 content/browser/download/download_file_unittest.cc std::string hash; hash 393 content/browser/download/download_file_unittest.cc EXPECT_FALSE(download_file_->GetHash(&hash)); hash 409 content/browser/download/download_file_unittest.cc EXPECT_TRUE(download_file_->GetHash(&hash)); hash 410 content/browser/download/download_file_unittest.cc EXPECT_EQ(kDataHash, base::HexEncode(hash.data(), hash.size())); hash 45 content/browser/download/mock_download_file.h MOCK_METHOD1(GetHash, bool(std::string* hash)); hash 79 content/browser/download/save_file.cc bool SaveFile::GetHash(std::string* hash) { hash 80 content/browser/download/save_file.cc return file_.GetHash(hash); hash 38 content/browser/download/save_file.h bool GetHash(std::string* hash); hash 70 content/browser/indexed_db/indexed_db_browsertest.cc const char* hash, hash 73 content/browser/indexed_db/indexed_db_browsertest.cc if (hash) hash 74 content/browser/indexed_db/indexed_db_browsertest.cc url = GURL(url.spec() + hash); hash 190 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc int hash) const { hash 191 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc UMA_HISTOGRAM_SPARSE_SLOWLY("Pepper.InterfaceUsed", hash); hash 101 content/browser/renderer_host/pepper/browser_ppapi_host_impl.h void OnHostMsgLogInterfaceUsage(int hash) const; hash 28 content/child/npapi/np_channel_base.h struct hash<NPObject*> { hash 30 content/child/npapi/np_channel_base.h return hash<size_t>()(reinterpret_cast<size_t>(ptr)); hash 35 content/child/npapi/np_channel_base.h struct hash<struct _NPP*> { hash 37 content/child/npapi/np_channel_base.h return hash<size_t>()(reinterpret_cast<size_t>(ptr)); hash 194 content/child/webcrypto/jwk.cc return ImportAlgorithmsConsistent(alg1.rsaHashedImportParams()->hash(), hash 195 content/child/webcrypto/jwk.cc alg2.rsaHashedImportParams()->hash()); hash 197 content/child/webcrypto/jwk.cc return ImportAlgorithmsConsistent(alg1.hmacImportParams()->hash(), hash 198 content/child/webcrypto/jwk.cc alg2.hmacImportParams()->hash()); hash 384 content/child/webcrypto/jwk.cc switch (algorithm.hmacParams()->hash().id()) { hash 414 content/child/webcrypto/jwk.cc switch (algorithm.rsaHashedParams()->hash().id()) { hash 86 content/child/webcrypto/platform_crypto.h const blink::WebCryptoAlgorithm& hash, hash 105 content/child/webcrypto/platform_crypto.h const blink::WebCryptoAlgorithm& hash, hash 113 content/child/webcrypto/platform_crypto.h const blink::WebCryptoAlgorithm& hash, hash 143 content/child/webcrypto/platform_crypto.h const blink::WebCryptoAlgorithm& hash, hash 371 content/child/webcrypto/platform_crypto_nss.cc return WebCryptoHashToHMACMechanism(algorithm.hmacKeyGenParams()->hash()); hash 461 content/child/webcrypto/platform_crypto_nss.cc const blink::WebCryptoAlgorithm hash = GetInnerHashAlgorithm(algorithm); hash 462 content/child/webcrypto/platform_crypto_nss.cc *mechanism = WebCryptoHashToHMACMechanism(hash); hash 1021 content/child/webcrypto/platform_crypto_nss.cc const blink::WebCryptoAlgorithm& hash, hash 1024 content/child/webcrypto/platform_crypto_nss.cc DCHECK_EQ(PK11_GetMechanism(key->key()), WebCryptoHashToHMACMechanism(hash)); hash 1117 content/child/webcrypto/platform_crypto_nss.cc const blink::WebCryptoAlgorithm& hash, hash 1123 content/child/webcrypto/platform_crypto_nss.cc switch (hash.id()) { hash 1154 content/child/webcrypto/platform_crypto_nss.cc const blink::WebCryptoAlgorithm& hash, hash 1161 content/child/webcrypto/platform_crypto_nss.cc switch (hash.id()) { hash 307 content/child/webcrypto/platform_crypto_openssl.cc const blink::WebCryptoAlgorithm& hash, hash 336 content/child/webcrypto/platform_crypto_openssl.cc const blink::WebCryptoAlgorithm& hash, hash 341 content/child/webcrypto/platform_crypto_openssl.cc const EVP_MD* digest_algorithm = GetDigest(hash.id()); hash 415 content/child/webcrypto/platform_crypto_openssl.cc const blink::WebCryptoAlgorithm& hash, hash 424 content/child/webcrypto/platform_crypto_openssl.cc const blink::WebCryptoAlgorithm& hash, hash 161 content/child/webcrypto/shared_crypto.cc sym_key, key.algorithm().hmacParams()->hash(), data, buffer); hash 193 content/child/webcrypto/shared_crypto.cc private_key, key.algorithm().rsaHashedParams()->hash(), data, buffer); hash 208 content/child/webcrypto/shared_crypto.cc key.algorithm().rsaHashedParams()->hash(), hash 259 content/child/webcrypto/shared_crypto.cc return CreateHmacImportAlgorithm(algorithm.hmacParams()->hash().id()); hash 262 content/child/webcrypto/shared_crypto.cc algorithm.id(), algorithm.rsaHashedParams()->hash().id()); hash 569 content/child/webcrypto/shared_crypto.cc keylen_bytes = ShaBlockSizeBytes(params->hash().id()); hash 603 content/child/webcrypto/shared_crypto.cc hash_or_null = algorithm.rsaHashedKeyGenParams()->hash(); hash 783 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_EQ(test_hash.id(), key.algorithm().hmacParams()->hash().id()); hash 1064 content/child/webcrypto/shared_crypto_unittest.cc key.algorithm().hmacParams()->hash().id()); hash 1088 content/child/webcrypto/shared_crypto_unittest.cc key.algorithm().hmacParams()->hash().id()); hash 1099 content/child/webcrypto/shared_crypto_unittest.cc key.algorithm().hmacParams()->hash().id()); hash 1532 content/child/webcrypto/shared_crypto_unittest.cc key.algorithm().hmacParams()->hash().id()); hash 1650 content/child/webcrypto/shared_crypto_unittest.cc key.algorithm().hmacParams()->hash().id()); hash 1883 content/child/webcrypto/shared_crypto_unittest.cc key.algorithm().rsaHashedParams()->hash().id()); hash 2056 content/child/webcrypto/shared_crypto_unittest.cc public_key.algorithm().rsaHashedParams()->hash().id()); hash 2058 content/child/webcrypto/shared_crypto_unittest.cc private_key.algorithm().rsaHashedParams()->hash().id()); hash 2081 content/child/webcrypto/shared_crypto_unittest.cc public_key.algorithm().rsaHashedParams()->hash().id()); hash 2083 content/child/webcrypto/shared_crypto_unittest.cc private_key.algorithm().rsaHashedParams()->hash().id()); hash 2402 content/child/webcrypto/shared_crypto_unittest.cc private_key.algorithm().rsaHashedParams()->hash().id()); hash 2404 content/child/webcrypto/shared_crypto_unittest.cc public_key_256.algorithm().rsaHashedParams()->hash().id()); hash 2788 content/child/webcrypto/shared_crypto_unittest.cc unwrapped_key.algorithm().hmacParams()->hash().id()); hash 144 content/child/webcrypto/webcrypto_util.cc return algorithm.hmacImportParams()->hash(); hash 146 content/child/webcrypto/webcrypto_util.cc return algorithm.hmacKeyGenParams()->hash(); hash 148 content/child/webcrypto/webcrypto_util.cc return algorithm.rsaHashedImportParams()->hash(); hash 150 content/child/webcrypto/webcrypto_util.cc return algorithm.rsaHashedKeyGenParams()->hash(); hash 183 content/child/webcrypto/webcrypto_util.cc blink::WebCryptoAlgorithm hash = GetInnerHashAlgorithm(algorithm); hash 184 content/child/webcrypto/webcrypto_util.cc if (hash.isNull()) hash 189 content/child/webcrypto/webcrypto_util.cc blink::WebCryptoKeyAlgorithm::createHmac(hash.id(), keylen_bytes * 8); hash 19 content/common/gpu/gpu_memory_manager_unittest.cc struct hash<content::GpuMemoryManagerClient*> { hash 21 content/common/gpu/gpu_memory_manager_unittest.cc return hash<uint64>()(reinterpret_cast<uint64>(ptr)); hash 25 content/common/host_shared_bitmap_manager.h struct hash<cc::SharedBitmapId> { hash 53 content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java int hash = 31; hash 54 content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java hash = 37 * hash + (int) mValue; hash 55 content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java hash = 37 * hash + mLocalizedValue.hashCode(); hash 56 content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java hash = 37 * hash + mLabel.hashCode(); hash 57 content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java return hash; hash 182 content/public/browser/browser_context.h struct hash<content::BrowserContext*> { hash 45 content/renderer/pepper/v8_var_converter.cc size_t hash() const { return handle->GetIdentityHash(); } hash 47 content/renderer/pepper/v8_var_converter.cc bool operator<(const HashedHandle& h) const { return hash() < h.hash(); } hash 56 content/renderer/pepper/v8_var_converter.cc struct hash<HashedHandle> { hash 58 content/renderer/pepper/v8_var_converter.cc return handle.hash(); hash 63 content/renderer/pepper/v8_var_converter.cc return handle.hash(); hash 57 content/renderer/v8_value_converter_impl.cc int hash = avoid_identity_hash_for_testing_ ? 0 : handle->GetIdentityHash(); hash 61 content/renderer/v8_value_converter_impl.cc std::pair<Iterator, Iterator> range = unique_map_.equal_range(hash); hash 67 content/renderer/v8_value_converter_impl.cc unique_map_.insert(std::make_pair(hash, handle)); hash 645 courgette/adjustment_method_2.cc uint32 hash = 0; hash 674 courgette/adjustment_method_2.cc hash = hash_combine(hash, code); hash 675 courgette/adjustment_method_2.cc hash = hash_combine(hash, kind); hash 679 courgette/adjustment_method_2.cc hash_ = hash; hash 26 courgette/difference_estimator.cc size_t hash = ((hash1 * 17 + hash2 * 37) + (hash1 >> 17)) ^ (hash2 >> 23); hash 27 courgette/difference_estimator.cc return hash; hash 46 courgette/difference_estimator.cc size_t hash = HashTuple(p); hash 47 courgette/difference_estimator.cc hashes_.insert(hash); hash 103 courgette/difference_estimator.cc size_t hash = HashTuple(p); hash 104 courgette/difference_estimator.cc if (base->hashes_.find(hash) == base->hashes_.end()) { hash 41 crypto/ec_signature_creator_nss.cc SECItem hash = {siBuffer, &hash_data[0], hash 49 crypto/ec_signature_creator_nss.cc rv = PK11_Sign(key, &sig, &hash); hash 112 crypto/ghash_unittest.cc GaloisHash hash(test.key); hash 114 crypto/ghash_unittest.cc hash.UpdateAdditional(test.additional, test.additional_length); hash 116 crypto/ghash_unittest.cc hash.UpdateCiphertext(test.ciphertext, test.ciphertext_length); hash 117 crypto/ghash_unittest.cc hash.Finish(out, sizeof(out)); hash 129 crypto/ghash_unittest.cc GaloisHash hash(test.key); hash 132 crypto/ghash_unittest.cc hash.UpdateAdditional(test.additional + i, n); hash 137 crypto/ghash_unittest.cc hash.UpdateCiphertext(test.ciphertext + i, n); hash 140 crypto/ghash_unittest.cc hash.Finish(out, sizeof(out)); hash 189 crypto/hmac_win.cc ScopedHCRYPTHASH hash; hash 191 crypto/hmac_win.cc hash.receive())) hash 197 crypto/hmac_win.cc if (!CryptSetHashParam(hash, HP_HMAC_INFO, hash 201 crypto/hmac_win.cc if (!CryptHashData(hash, reinterpret_cast<const BYTE*>(data.data()), hash 206 crypto/hmac_win.cc return !!CryptGetHashParam(hash, HP_HASHVAL, digest, &sha1_size, 0); hash 39 crypto/signature_verifier_nss.cc std::vector<unsigned char> hash(hash_len); hash 40 crypto/signature_verifier_nss.cc HASH_End(hash_context, &hash[0], &hash_len, hash.size()); hash 55 crypto/signature_verifier_nss.cc return emsa_pss_verify(&hash[0], &enc[0], enc.size(), hash 213 crypto/symmetric_key_win.cc ScopedHCRYPTHASH* hash) { hash 228 crypto/symmetric_key_win.cc hash->swap(safe_hash); hash 238 crypto/symmetric_key_win.cc bool ComputePBKDF2Block(HCRYPTHASH hash, hash 255 crypto/symmetric_key_win.cc BOOL ok = CryptDuplicateHash(hash, NULL, 0, safe_hash.receive()); hash 285 crypto/symmetric_key_win.cc ok = CryptDuplicateHash(hash, NULL, 0, safe_hash.receive()); hash 26 crypto/third_party/nss/rsawrapr.c const SECHashObject *hash; hash 30 crypto/third_party/nss/rsawrapr.c hash = HASH_GetHashObject(hashAlg); hash 31 crypto/third_party/nss/rsawrapr.c if (hash == NULL) hash 34 crypto/third_party/nss/rsawrapr.c hashContext = (*hash->create)(); hash 35 crypto/third_party/nss/rsawrapr.c rounds = (maskLen + hash->length - 1) / hash->length; hash 44 crypto/third_party/nss/rsawrapr.c (*hash->begin)(hashContext); hash 45 crypto/third_party/nss/rsawrapr.c (*hash->update)(hashContext, mgfSeed, mgfSeedLen); hash 46 crypto/third_party/nss/rsawrapr.c (*hash->update)(hashContext, C, sizeof C); hash 48 crypto/third_party/nss/rsawrapr.c tempHash = mask + counter * hash->length; hash 50 crypto/third_party/nss/rsawrapr.c (*hash->end)(hashContext, tempHash, &digestLen, hash->length); hash 52 crypto/third_party/nss/rsawrapr.c temp = (unsigned char *)PORT_Alloc(hash->length); hash 53 crypto/third_party/nss/rsawrapr.c (*hash->end)(hashContext, temp, &digestLen, hash->length); hash 54 crypto/third_party/nss/rsawrapr.c PORT_Memcpy(tempHash, temp, maskLen - counter * hash->length); hash 58 crypto/third_party/nss/rsawrapr.c (*hash->destroy)(hashContext, PR_TRUE); hash 78 crypto/third_party/nss/rsawrapr.c const SECHashObject *hash; hash 85 crypto/third_party/nss/rsawrapr.c hash = HASH_GetHashObject(hashAlg); hash 86 crypto/third_party/nss/rsawrapr.c dbMaskLen = emLen - hash->length - 1; hash 89 crypto/third_party/nss/rsawrapr.c if ((emLen < (hash->length + sLen + 2)) || hash 103 crypto/third_party/nss/rsawrapr.c MGF1(maskHashAlg, db, dbMaskLen, &em[dbMaskLen], hash->length); hash 128 crypto/third_party/nss/rsawrapr.c H_ = (unsigned char *)PORT_Alloc(hash->length); hash 134 crypto/third_party/nss/rsawrapr.c hash_context = (*hash->create)(); hash 141 crypto/third_party/nss/rsawrapr.c (*hash->begin)(hash_context); hash 142 crypto/third_party/nss/rsawrapr.c (*hash->update)(hash_context, eightZeros, 8); hash 143 crypto/third_party/nss/rsawrapr.c (*hash->update)(hash_context, mHash, hash->length); hash 144 crypto/third_party/nss/rsawrapr.c (*hash->update)(hash_context, &db[dbMaskLen - sLen], sLen); hash 145 crypto/third_party/nss/rsawrapr.c (*hash->end)(hash_context, H_, &i, hash->length); hash 146 crypto/third_party/nss/rsawrapr.c (*hash->destroy)(hash_context, PR_TRUE); hash 151 crypto/third_party/nss/rsawrapr.c if (PORT_Memcmp(H_, &em[dbMaskLen], hash->length) != 0) { hash 96 crypto/third_party/nss/secsign.cc SECItem hash = {siBuffer, &hash_data[0], hash 104 crypto/third_party/nss/secsign.cc rv = PK11_Sign(key, &sig, &hash); hash 19 device/bluetooth/bluetooth_out_of_band_pairing_data.h uint8 hash[kBluetoothOutOfBandPairingDataSize]; hash 40 extensions/common/id_util.cc uint8 hash[kIdSize]; hash 41 extensions/common/id_util.cc crypto::SHA256HashString(input, hash, sizeof(hash)); hash 42 extensions/common/id_util.cc std::string output = StringToLowerASCII(base::HexEncode(hash, sizeof(hash))); hash 21 gpu/command_buffer/service/async_pixel_transfer_manager.h struct hash<gpu::gles2::TextureRef*> { hash 23 gpu/command_buffer/service/async_pixel_transfer_manager.h return hash<size_t>()(reinterpret_cast<size_t>(ptr)); hash 9 media/base/djb2.cc uint32 hash = seed; hash 11 media/base/djb2.cc hash = hash * 33 + src[i]; hash 13 media/base/djb2.cc return hash; hash 43 media/filters/audio_file_reader_unittest.cc void RunTest(const char* fn, const char* hash, int channels, int sample_rate, hash 52 media/filters/audio_file_reader_unittest.cc ReadAndVerify(hash, trimmed_frames); hash 114 net/base/hash_value.cc bool IsSHA1HashInSortedArray(const SHA1HashValue& hash, hash 119 net/base/hash_value.cc return NULL != bsearch(hash.data, array, arraylen, base::kSHA1Length, hash 119 net/base/hash_value.h bool IsSHA1HashInSortedArray(const SHA1HashValue& hash, hash 55 net/base/registry_controlled_domains/effective_tld_names.cc static inline unsigned int hash (const char *str, unsigned int len); hash 54258 net/base/registry_controlled_domains/effective_tld_names.cc register int key = hash (str, len); hash 56 net/base/registry_controlled_domains/effective_tld_names_unittest1.cc static inline unsigned int hash (const char *str, unsigned int len); hash 200 net/base/registry_controlled_domains/effective_tld_names_unittest1.cc register int key = hash (str, len); hash 51 net/base/registry_controlled_domains/effective_tld_names_unittest2.cc static inline unsigned int hash (const char *str, unsigned int len); hash 143 net/base/registry_controlled_domains/effective_tld_names_unittest2.cc register int key = hash (str, len); hash 338 net/cert/cert_verify_proc_mac.cc SHA1HashValue hash = X509Certificate::CalculateFingerprint(root_ref); hash 340 net/cert/cert_verify_proc_mac.cc hash, &kKnownRootCertSHA1Hashes[0][0], sizeof(kKnownRootCertSHA1Hashes)); hash 589 net/cert/cert_verify_proc_nss.cc HashValue hash(HASH_VALUE_SHA1); hash 591 net/cert/cert_verify_proc_nss.cc CC_SHA1(cert->derPublicKey.data, cert->derPublicKey.len, hash.data()); hash 593 net/cert/cert_verify_proc_nss.cc SECStatus rv = HASH_HashBuf(HASH_AlgSHA1, hash.data(), hash 597 net/cert/cert_verify_proc_nss.cc return hash; hash 601 net/cert/cert_verify_proc_nss.cc HashValue hash(HASH_VALUE_SHA256); hash 603 net/cert/cert_verify_proc_nss.cc CC_SHA256(cert->derPublicKey.data, cert->derPublicKey.len, hash.data()); hash 605 net/cert/cert_verify_proc_nss.cc SECStatus rv = HASH_HashBuf(HASH_AlgSHA256, hash.data(), hash 609 net/cert/cert_verify_proc_nss.cc return hash; hash 540 net/cert/cert_verify_proc_unittest.cc HashValue hash(HASH_VALUE_SHA1); hash 541 net/cert/cert_verify_proc_unittest.cc ASSERT_EQ(hash.size(), spki_sha1.size()); hash 542 net/cert/cert_verify_proc_unittest.cc memcpy(hash.data(), spki_sha1.data(), spki_sha1.size()); hash 543 net/cert/cert_verify_proc_unittest.cc public_keys.push_back(hash); hash 284 net/cert/cert_verify_proc_win.cc SHA1HashValue hash = X509Certificate::CalculateFingerprint(cert); hash 286 net/cert/cert_verify_proc_win.cc hash, &kKnownRootCertSHA1Hashes[0][0], sizeof(kKnownRootCertSHA1Hashes)); hash 431 net/cert/x509_certificate_unittest.cc uint8 hash[base::kSHA1Length]; hash 433 net/cert/x509_certificate_unittest.cc spkiBytes.size(), hash); hash 435 net/cert/x509_certificate_unittest.cc EXPECT_EQ(0, memcmp(hash, kNistSPKIHash, sizeof(hash))); hash 457 net/disk_cache/blockfile/backend_impl.cc uint32 hash = base::Hash(key); hash 459 net/disk_cache/blockfile/backend_impl.cc EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); hash 473 net/disk_cache/blockfile/backend_impl.cc uint32 hash = base::Hash(key); hash 474 net/disk_cache/blockfile/backend_impl.cc Trace("Open hash 0x%x", hash); hash 477 net/disk_cache/blockfile/backend_impl.cc EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); hash 501 net/disk_cache/blockfile/backend_impl.cc Trace("Open hash 0x%x end: 0x%x", hash, hash 517 net/disk_cache/blockfile/backend_impl.cc uint32 hash = base::Hash(key); hash 518 net/disk_cache/blockfile/backend_impl.cc Trace("Create hash 0x%x", hash); hash 521 net/disk_cache/blockfile/backend_impl.cc Addr entry_address(data_->table[hash & mask_]); hash 526 net/disk_cache/blockfile/backend_impl.cc EntryImpl* old_entry = MatchEntry(key, hash, false, Addr(), &error); hash 530 net/disk_cache/blockfile/backend_impl.cc EntryImpl* parent_entry = MatchEntry(key, hash, true, Addr(), &error); hash 534 net/disk_cache/blockfile/backend_impl.cc } else if (data_->table[hash & mask_]) { hash 573 net/disk_cache/blockfile/backend_impl.cc if (!cache_entry->CreateEntry(node_address, key, hash)) { hash 596 net/disk_cache/blockfile/backend_impl.cc data_->table[hash & mask_] = entry_address.value(); hash 724 net/disk_cache/blockfile/backend_impl.cc uint32 hash = cache_entry->GetHash(); hash 728 net/disk_cache/blockfile/backend_impl.cc if (data_->table[hash & mask_]) hash 731 net/disk_cache/blockfile/backend_impl.cc data_->table[hash & mask_] = address.value(); hash 736 net/disk_cache/blockfile/backend_impl.cc uint32 hash = entry->GetHash(); hash 740 net/disk_cache/blockfile/backend_impl.cc EntryImpl* parent_entry = MatchEntry(key, hash, true, entry_addr, &error); hash 759 net/disk_cache/blockfile/backend_impl.cc data_->table[hash & mask_] = child; hash 1512 net/disk_cache/blockfile/backend_impl.cc EntryImpl* BackendImpl::MatchEntry(const std::string& key, uint32 hash, hash 1515 net/disk_cache/blockfile/backend_impl.cc Addr address(data_->table[hash & mask_]); hash 1555 net/disk_cache/blockfile/backend_impl.cc data_->table[hash & mask_] = child.value(); hash 1571 net/disk_cache/blockfile/backend_impl.cc address.set_value(data_->table[hash & mask_]); hash 1576 net/disk_cache/blockfile/backend_impl.cc DCHECK_EQ(hash & mask_, cache_entry->entry()->Data()->hash & mask_); hash 1577 net/disk_cache/blockfile/backend_impl.cc if (cache_entry->IsSameEntry(key, hash)) { hash 2045 net/disk_cache/blockfile/backend_impl.cc DCHECK_EQ(i, cache_entry->entry()->Data()->hash & mask_); hash 306 net/disk_cache/blockfile/backend_impl.h EntryImpl* MatchEntry(const std::string& key, uint32 hash, bool find_parent, hash 136 net/disk_cache/blockfile/backend_impl_v3.cc uint32 hash = entry->GetHash(); hash 140 net/disk_cache/blockfile/backend_impl_v3.cc EntryImpl* parent_entry = MatchEntry(key, hash, true, entry_addr, &error); hash 159 net/disk_cache/blockfile/backend_impl_v3.cc data_->table[hash & mask_] = child; hash 439 net/disk_cache/blockfile/backend_impl_v3.cc uint32 hash = base::Hash(key); hash 440 net/disk_cache/blockfile/backend_impl_v3.cc Trace("Open hash 0x%x", hash); hash 443 net/disk_cache/blockfile/backend_impl_v3.cc EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); hash 467 net/disk_cache/blockfile/backend_impl_v3.cc Trace("Open hash 0x%x end: 0x%x", hash, hash 484 net/disk_cache/blockfile/backend_impl_v3.cc Trace("Create hash 0x%x", hash); hash 487 net/disk_cache/blockfile/backend_impl_v3.cc Addr entry_address(data_->table[hash & mask_]); hash 492 net/disk_cache/blockfile/backend_impl_v3.cc EntryImpl* old_entry = MatchEntry(key, hash, false, Addr(), &error); hash 496 net/disk_cache/blockfile/backend_impl_v3.cc EntryImpl* parent_entry = MatchEntry(key, hash, true, Addr(), &error); hash 500 net/disk_cache/blockfile/backend_impl_v3.cc } else if (data_->table[hash & mask_]) { hash 539 net/disk_cache/blockfile/backend_impl_v3.cc if (!cache_entry->CreateEntry(node_address, key, hash)) { hash 562 net/disk_cache/blockfile/backend_impl_v3.cc data_->table[hash & mask_] = entry_address.value(); hash 716 net/disk_cache/blockfile/backend_impl_v3.cc uint32 hash = base::Hash(key); hash 718 net/disk_cache/blockfile/backend_impl_v3.cc EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); hash 1211 net/disk_cache/blockfile/backend_impl_v3.cc Trace("Create hash 0x%x", hash); hash 1214 net/disk_cache/blockfile/backend_impl_v3.cc Addr entry_address(data_->table[hash & mask_]); hash 1219 net/disk_cache/blockfile/backend_impl_v3.cc EntryImpl* old_entry = MatchEntry(key, hash, false, Addr(), &error); hash 1223 net/disk_cache/blockfile/backend_impl_v3.cc EntryImpl* parent_entry = MatchEntry(key, hash, true, Addr(), &error); hash 1227 net/disk_cache/blockfile/backend_impl_v3.cc } else if (data_->table[hash & mask_]) { hash 1266 net/disk_cache/blockfile/backend_impl_v3.cc if (!cache_entry->CreateEntry(node_address, key, hash)) { hash 1289 net/disk_cache/blockfile/backend_impl_v3.cc data_->table[hash & mask_] = entry_address.value(); hash 1492 net/disk_cache/blockfile/backend_impl_v3.cc DCHECK_EQ(i, cache_entry->entry()->Data()->hash & mask_); hash 102 net/disk_cache/blockfile/disk_format.h uint32 hash; // Full hash of the key. hash 192 net/disk_cache/blockfile/disk_format_v3.h uint32 hash; // The high order byte is reserved (should be zero). hash 212 net/disk_cache/blockfile/disk_format_v3.h uint32 hash; hash 231 net/disk_cache/blockfile/disk_format_v3.h uint32 hash; hash 403 net/disk_cache/blockfile/entry_impl.cc return entry_.Data()->hash; hash 407 net/disk_cache/blockfile/entry_impl.cc uint32 hash) { hash 419 net/disk_cache/blockfile/entry_impl.cc entry_store->hash = hash; hash 453 net/disk_cache/blockfile/entry_impl.cc bool EntryImpl::IsSameEntry(const std::string& key, uint32 hash) { hash 454 net/disk_cache/blockfile/entry_impl.cc if (entry_.Data()->hash != hash || hash 625 net/disk_cache/blockfile/entry_impl.cc if (stored->hash != base::Hash(GetKey())) hash 69 net/disk_cache/blockfile/entry_impl.h bool CreateEntry(Addr node_address, const std::string& key, uint32 hash); hash 72 net/disk_cache/blockfile/entry_impl.h bool IsSameEntry(const std::string& key, uint32 hash); hash 262 net/disk_cache/blockfile/entry_impl_v3.cc uint32 hash) { hash 274 net/disk_cache/blockfile/entry_impl_v3.cc entry_store->hash = hash; hash 309 net/disk_cache/blockfile/entry_impl_v3.cc return entry_.Data()->hash; hash 312 net/disk_cache/blockfile/entry_impl_v3.cc bool EntryImplV3::IsSameEntry(const std::string& key, uint32 hash) { hash 313 net/disk_cache/blockfile/entry_impl_v3.cc if (entry_.Data()->hash != hash || hash 387 net/disk_cache/blockfile/entry_impl_v3.cc if (stored->hash != base::Hash(GetKey())) hash 43 net/disk_cache/blockfile/entry_impl_v3.h bool CreateEntry(Addr node_address, const std::string& key, uint32 hash); hash 55 net/disk_cache/blockfile/entry_impl_v3.h bool IsSameEntry(const std::string& key, uint32 hash); hash 112 net/disk_cache/blockfile/index_table_v3.cc void SetCellId(IndexCell* cell, uint32 hash) { hash 113 net/disk_cache/blockfile/index_table_v3.cc DCHECK_LE(hash, static_cast<uint32>(kCellIdMask)); hash 115 net/disk_cache/blockfile/index_table_v3.cc cell->first_part |= static_cast<int64>(hash) << kCellIdOffset; hash 118 net/disk_cache/blockfile/index_table_v3.cc void SetCellSmallTableId(IndexCell* cell, uint32 hash) { hash 119 net/disk_cache/blockfile/index_table_v3.cc DCHECK_LE(hash, static_cast<uint32>(kCellSmallTableIdMask)); hash 121 net/disk_cache/blockfile/index_table_v3.cc cell->first_part |= static_cast<int64>(hash) << kCellSmallTableIdOffset; hash 248 net/disk_cache/blockfile/index_table_v3.cc CellInfo cell_info = { cell.hash(), cell.GetAddress() }; hash 321 net/disk_cache/blockfile/index_table_v3.cc uint32 hash, hash 326 net/disk_cache/blockfile/index_table_v3.cc EntryCell entry_cell(cell_num, hash, *cell, small_table); hash 330 net/disk_cache/blockfile/index_table_v3.cc return EntryCell(cell_num, hash, address, small_table); hash 343 net/disk_cache/blockfile/index_table_v3.cc uint32 hash, hash 347 net/disk_cache/blockfile/index_table_v3.cc hash_(hash), hash 358 net/disk_cache/blockfile/index_table_v3.cc SetCellSmallTableId(&cell_, hash >> kSmallTableHashShift); hash 362 net/disk_cache/blockfile/index_table_v3.cc SetCellId(&cell_, hash >> kHashShift); hash 367 net/disk_cache/blockfile/index_table_v3.cc uint32 hash, hash 371 net/disk_cache/blockfile/index_table_v3.cc hash_(hash), hash 577 net/disk_cache/blockfile/index_table_v3.cc EntrySet IndexTable::LookupEntries(uint32 hash) { hash 579 net/disk_cache/blockfile/index_table_v3.cc int bucket_num = static_cast<int>(hash & mask_); hash 596 net/disk_cache/blockfile/index_table_v3.cc if (MisplacedHash(*current_cell, hash)) { hash 597 net/disk_cache/blockfile/index_table_v3.cc HandleMisplacedCell(current_cell, cell_num, hash & mask_); hash 598 net/disk_cache/blockfile/index_table_v3.cc } else if (IsHashMatch(*current_cell, hash)) { hash 599 net/disk_cache/blockfile/index_table_v3.cc EntryCell entry_cell(cell_num, hash, *current_cell, small_table_); hash 614 net/disk_cache/blockfile/index_table_v3.cc EntryCell IndexTable::CreateEntryCell(uint32 hash, Addr address) { hash 618 net/disk_cache/blockfile/index_table_v3.cc int bucket_num = static_cast<int>(hash & mask_); hash 643 net/disk_cache/blockfile/index_table_v3.cc bucket->hash = hash & mask_; hash 651 net/disk_cache/blockfile/index_table_v3.cc EntryCell entry_cell(cell_num, hash, address, small_table_); hash 668 net/disk_cache/blockfile/index_table_v3.cc EntryCell IndexTable::FindEntryCell(uint32 hash, Addr address) { hash 669 net/disk_cache/blockfile/index_table_v3.cc return FindEntryCellImpl(hash, address, false); hash 682 net/disk_cache/blockfile/index_table_v3.cc void IndexTable::SetSate(uint32 hash, Addr address, EntryState state) { hash 683 net/disk_cache/blockfile/index_table_v3.cc EntryCell cell = FindEntryCellImpl(hash, address, state == ENTRY_FREE); hash 730 net/disk_cache/blockfile/index_table_v3.cc void IndexTable::UpdateTime(uint32 hash, Addr address, base::Time current) { hash 731 net/disk_cache/blockfile/index_table_v3.cc EntryCell cell = FindEntryCell(hash, address); hash 795 net/disk_cache/blockfile/index_table_v3.cc EntryCell IndexTable::FindEntryCellImpl(uint32 hash, Addr address, hash 797 net/disk_cache/blockfile/index_table_v3.cc int bucket_num = static_cast<int>(hash & mask_); hash 805 net/disk_cache/blockfile/index_table_v3.cc if (IsHashMatch(*current_cell, hash)) { hash 808 net/disk_cache/blockfile/index_table_v3.cc EntryCell entry_cell(cell_num, hash, *current_cell, small_table_); hash 1019 net/disk_cache/blockfile/index_table_v3.cc uint32 hash = GetFullHash(*current_cell, main_table_index); hash 1020 net/disk_cache/blockfile/index_table_v3.cc EntryCell old_cell(cell_num, hash, *current_cell, small_table_); hash 1030 net/disk_cache/blockfile/index_table_v3.cc EntryCell new_cell = CreateEntryCell(hash, old_cell.GetAddress()); hash 1073 net/disk_cache/blockfile/index_table_v3.cc uint32 hash = GetFullHash(*current_cell, main_table_index); hash 1077 net/disk_cache/blockfile/index_table_v3.cc CheckBucketList(hash & mask_); hash 1135 net/disk_cache/blockfile/index_table_v3.cc bool IndexTable::IsHashMatch(const IndexCell& cell, uint32 hash) { hash 1136 net/disk_cache/blockfile/index_table_v3.cc hash = small_table_ ? hash >> kSmallTableHashShift : hash >> kHashShift; hash 1137 net/disk_cache/blockfile/index_table_v3.cc return GetHashValue(cell) == hash; hash 1140 net/disk_cache/blockfile/index_table_v3.cc bool IndexTable::MisplacedHash(const IndexCell& cell, uint32 hash) { hash 1145 net/disk_cache/blockfile/index_table_v3.cc hash = small_table_ ? hash >> kSmallTableHashShift : hash >> kHashShift; hash 1146 net/disk_cache/blockfile/index_table_v3.cc return (GetHashValue(cell) & mask) != (hash & mask); hash 58 net/disk_cache/blockfile/index_table_v3.h uint32 hash() const { return hash_; } hash 72 net/disk_cache/blockfile/index_table_v3.h uint32 hash, hash 83 net/disk_cache/blockfile/index_table_v3.h EntryCell(int32 cell_num, uint32 hash, Addr address, bool small_table); hash 85 net/disk_cache/blockfile/index_table_v3.h uint32 hash, hash 119 net/disk_cache/blockfile/index_table_v3.h struct CellInfo { uint32 hash; Addr address; }; hash 185 net/disk_cache/blockfile/index_table_v3.h EntrySet LookupEntries(uint32 hash); hash 188 net/disk_cache/blockfile/index_table_v3.h EntryCell CreateEntryCell(uint32 hash, Addr address); hash 194 net/disk_cache/blockfile/index_table_v3.h EntryCell FindEntryCell(uint32 hash, Addr address); hash 206 net/disk_cache/blockfile/index_table_v3.h void SetSate(uint32 hash, Addr address, EntryState state); hash 207 net/disk_cache/blockfile/index_table_v3.h void UpdateTime(uint32 hash, Addr address, base::Time current); hash 235 net/disk_cache/blockfile/index_table_v3.h EntryCell FindEntryCellImpl(uint32 hash, Addr address, bool allow_deleted); hash 258 net/disk_cache/blockfile/index_table_v3.h bool IsHashMatch(const IndexCell& cell, uint32 hash); hash 259 net/disk_cache/blockfile/index_table_v3.h bool MisplacedHash(const IndexCell& cell, uint32 hash); hash 149 net/disk_cache/blockfile/index_table_v3_unittest.cc uint32 hash = 0x55aa6699; hash 160 net/disk_cache/blockfile/index_table_v3_unittest.cc EntryCell entry = EntryCell::GetEntryCellForTest(cell_num, hash, addr, NULL, hash 171 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(hash, entry.hash()); hash 184 net/disk_cache/blockfile/index_table_v3_unittest.cc EntryCell entry2 = EntryCell::GetEntryCellForTest(cell_num, hash, addr, hash 196 net/disk_cache/blockfile/index_table_v3_unittest.cc hash = ~hash; hash 278 net/disk_cache/blockfile/index_table_v3_unittest.cc uint32 hash = i * i * 1111 + i * 11; hash 280 net/disk_cache/blockfile/index_table_v3_unittest.cc EntryCell entry = index.CreateEntryCell(hash, addr); hash 283 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellInfo info = { hash, addr }; hash 290 net/disk_cache/blockfile/index_table_v3_unittest.cc uint32 hash = entries[i].hash; hash 293 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::EntrySet found_entries = index.LookupEntries(hash); hash 296 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(hash, found_entries.cells[0].hash()); hash 299 net/disk_cache/blockfile/index_table_v3_unittest.cc EntryCell entry = index.FindEntryCell(hash, addr); hash 301 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(hash, entry.hash()); hash 306 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, addr, disk_cache::ENTRY_DELETED); hash 312 net/disk_cache/blockfile/index_table_v3_unittest.cc uint32 hash = entries[i].hash; hash 315 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::EntrySet found_entries = index.LookupEntries(hash); hash 321 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(hash, found_entries.cells[0].hash()); hash 337 net/disk_cache/blockfile/index_table_v3_unittest.cc uint32 hash = 0x55aa55bb; hash 341 net/disk_cache/blockfile/index_table_v3_unittest.cc EntryCell entry = index.CreateEntryCell(hash, addr); hash 344 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellInfo info = { hash, addr }; hash 348 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::EntrySet found_entries = index.LookupEntries(hash); hash 358 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[0].address, disk_cache::ENTRY_DELETED); hash 359 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[1].address, disk_cache::ENTRY_DELETED); hash 360 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[2].address, disk_cache::ENTRY_USED); hash 361 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[3].address, disk_cache::ENTRY_USED); hash 362 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[4].address, disk_cache::ENTRY_USED); hash 364 net/disk_cache/blockfile/index_table_v3_unittest.cc found_entries = index.LookupEntries(hash); hash 368 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[3].address, disk_cache::ENTRY_OPEN); hash 369 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[4].address, disk_cache::ENTRY_OPEN); hash 371 net/disk_cache/blockfile/index_table_v3_unittest.cc found_entries = index.LookupEntries(hash); hash 375 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[4].address, disk_cache::ENTRY_MODIFIED); hash 377 net/disk_cache/blockfile/index_table_v3_unittest.cc found_entries = index.LookupEntries(hash); hash 381 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[1].address, disk_cache::ENTRY_FREE); hash 383 net/disk_cache/blockfile/index_table_v3_unittest.cc found_entries = index.LookupEntries(hash); hash 388 net/disk_cache/blockfile/index_table_v3_unittest.cc EntryCell entry = index.FindEntryCell(hash, entries[0].address); hash 392 net/disk_cache/blockfile/index_table_v3_unittest.cc entry = index.FindEntryCell(hash, entries[1].address); hash 399 net/disk_cache/blockfile/index_table_v3_unittest.cc entry = index.FindEntryCell(hash, entries[2].address); hash 404 net/disk_cache/blockfile/index_table_v3_unittest.cc found_entries = index.LookupEntries(hash); hash 410 net/disk_cache/blockfile/index_table_v3_unittest.cc entry = index.CreateEntryCell(hash, addr2); hash 414 net/disk_cache/blockfile/index_table_v3_unittest.cc found_entries = index.LookupEntries(hash); hash 477 net/disk_cache/blockfile/index_table_v3_unittest.cc uint32 hash = i; // The entries will be ordered on the table. hash 482 net/disk_cache/blockfile/index_table_v3_unittest.cc EntryCell entry = index.CreateEntryCell(hash, addr); hash 485 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellInfo info = { hash, addr }; hash 503 net/disk_cache/blockfile/index_table_v3_unittest.cc index.UpdateTime(hash, addr, time); hash 513 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[10].hash, high_use.cells[0].hash); hash 514 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[19].hash, high_use.cells[9].hash); hash 515 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[20].hash, low_use.cells[0].hash); hash 516 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[29].hash, low_use.cells[9].hash); hash 517 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[30].hash, no_use.cells[0].hash); hash 518 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[39].hash, no_use.cells[9].hash); hash 527 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[41].hash, iterator.cells[0].hash); hash 528 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[42].hash, iterator.cells[1].hash); hash 529 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[43].hash, iterator.cells[2].hash); hash 533 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[30].hash, iterator.cells[0].hash); hash 534 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[39].hash, iterator.cells[9].hash); hash 538 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[20].hash, iterator.cells[0].hash); hash 539 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[29].hash, iterator.cells[9].hash); hash 543 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[10].hash, iterator.cells[0].hash); hash 544 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[19].hash, iterator.cells[9].hash); hash 554 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[10].hash, iterator.cells[0].hash); hash 555 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[19].hash, iterator.cells[9].hash); hash 559 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[20].hash, iterator.cells[0].hash); hash 560 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[29].hash, iterator.cells[9].hash); hash 564 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[30].hash, iterator.cells[0].hash); hash 565 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[39].hash, iterator.cells[9].hash); hash 569 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[41].hash, iterator.cells[0].hash); hash 570 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[42].hash, iterator.cells[1].hash); hash 571 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(entries[43].hash, iterator.cells[2].hash); hash 595 net/disk_cache/blockfile/index_table_v3_unittest.cc uint32 hash = entry_id * i * 321 + entry_id * 13; hash 597 net/disk_cache/blockfile/index_table_v3_unittest.cc EntryCell entry = index.CreateEntryCell(hash, addr); hash 600 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellInfo info = { hash, addr }; hash 609 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::EntrySet found_entries = index.LookupEntries(entries[i].hash); hash 629 net/disk_cache/blockfile/index_table_v3_unittest.cc uint32 hash = i * 256; hash 631 net/disk_cache/blockfile/index_table_v3_unittest.cc EntryCell entry = index.CreateEntryCell(hash, addr); hash 634 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellInfo info = { hash, addr }; hash 649 net/disk_cache/blockfile/index_table_v3_unittest.cc uint32 hash = i * 256; hash 651 net/disk_cache/blockfile/index_table_v3_unittest.cc EntryCell entry = index.CreateEntryCell(hash, addr); hash 654 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellInfo info = { hash, addr }; hash 661 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::EntrySet found_entries = index.LookupEntries(entries[i].hash); hash 680 net/disk_cache/blockfile/index_table_v3_unittest.cc uint32 hash = 0; hash 682 net/disk_cache/blockfile/index_table_v3_unittest.cc EntryCell entry = index.CreateEntryCell(hash, addr); hash 698 net/disk_cache/blockfile/index_table_v3_unittest.cc uint32 hash = 0; hash 700 net/disk_cache/blockfile/index_table_v3_unittest.cc EntryCell entry = index.CreateEntryCell(hash, addr); hash 106 net/disk_cache/blockfile/storage_block-inl.h uint32 hash = CalculateHash(); hash 107 net/disk_cache/blockfile/storage_block-inl.h return (!data_->self_hash || data_->self_hash == hash); hash 23 net/disk_cache/blockfile/storage_block_unittest.cc entry1.Data()->hash = 0xaa5555aa; hash 27 net/disk_cache/blockfile/storage_block_unittest.cc entry1.Data()->hash = 0x88118811; hash 31 net/disk_cache/blockfile/storage_block_unittest.cc EXPECT_EQ(0xaa5555aa, entry1.Data()->hash); hash 42 net/disk_cache/blockfile/storage_block_unittest.cc entry1.Data()->hash = 0xaa5555aa; hash 47 net/disk_cache/blockfile/storage_block_unittest.cc EXPECT_TRUE(0 == entry2.Data()->hash); hash 51 net/disk_cache/blockfile/storage_block_unittest.cc EXPECT_EQ(0xaa5555aa, entry2.Data()->hash); hash 64 net/disk_cache/blockfile/storage_block_unittest.cc EXPECT_TRUE(0 == entry1->Data()->hash); hash 65 net/disk_cache/blockfile/storage_block_unittest.cc entry1->Data()->hash = 0x45687912; hash 71 net/disk_cache/blockfile/storage_block_unittest.cc EXPECT_TRUE(0x45687912 == entry2.Data()->hash); hash 631 net/disk_cache/simple/simple_backend_impl.cc uint64 hash, hash 642 net/disk_cache/simple/simple_backend_impl.cc active_entries_.insert(std::make_pair(hash, hash 169 net/disk_cache/simple/simple_backend_impl.h void OnEntryOpenedFromHash(uint64 hash, hash 285 net/disk_cache/simple/simple_index.cc bool SimpleIndex::Has(uint64 hash) const { hash 288 net/disk_cache/simple/simple_index.cc return !initialized_ || entries_set_.count(hash) > 0; hash 131 net/disk_cache/simple/simple_index_file_unittest.cc uint64 hash = kHashes[i]; hash 132 net/disk_cache/simple/simple_index_file_unittest.cc metadata_entries[i] = EntryMetadata(Time(), hash); hash 133 net/disk_cache/simple/simple_index_file_unittest.cc SimpleIndex::InsertInEntrySet(hash, metadata_entries[i], &entries); hash 202 net/disk_cache/simple/simple_index_file_unittest.cc uint64 hash = kHashes[i]; hash 203 net/disk_cache/simple/simple_index_file_unittest.cc metadata_entries[i] = EntryMetadata(Time(), hash); hash 204 net/disk_cache/simple/simple_index_file_unittest.cc SimpleIndex::InsertInEntrySet(hash, metadata_entries[i], &entries); hash 28 net/dns/dns_hosts.h struct hash<net::DnsHostsKey> { hash 30 net/dns/dns_hosts.h hash<base::StringPiece> string_piece_hash; hash 92 net/http/des.cc void DESEncrypt(const uint8* key, const uint8* src, uint8* hash) { hash 100 net/http/des.cc reinterpret_cast<DES_cblock*>(hash), &ks, DES_ENCRYPT); hash 105 net/http/des.cc void DESEncrypt(const uint8* key, const uint8* src, uint8* hash) { hash 139 net/http/des.cc rv = PK11_CipherOp(ctxt, hash, reinterpret_cast<int*>(&n), 8, hash 145 net/http/des.cc rv = PK11_DigestFinal(ctxt, hash+8, &n, 0); hash 162 net/http/des.cc void DESEncrypt(const uint8* key, const uint8* src, uint8* hash) { hash 166 net/http/des.cc key, 8, NULL, src, 8, hash, 8, &data_out_moved); hash 173 net/http/des.cc void DESEncrypt(const uint8* key, const uint8* src, uint8* hash) { hash 210 net/http/des.cc CopyMemory(hash, src, 8); hash 214 net/http/des.cc CryptEncrypt(key, 0, FALSE, 0, hash, &hash_len, 8); hash 25 net/http/des.h uint8* hash); hash 254 net/http/http_auth_handler_ntlm_portable.cc static void LM_Hash(const base::string16& password, uint8* hash) { hash 269 net/http/http_auth_handler_ntlm_portable.cc DESEncrypt(k1, LM_MAGIC, hash); hash 270 net/http/http_auth_handler_ntlm_portable.cc DESEncrypt(k2, LM_MAGIC, hash + 8); hash 279 net/http/http_auth_handler_ntlm_portable.cc static void NTLM_Hash(const base::string16& password, uint8* hash) { hash 286 net/http/http_auth_handler_ntlm_portable.cc weak_crypto::MD4Sum(passbuf, len * 2, hash); hash 292 net/http/http_auth_handler_ntlm_portable.cc password.length() * 2, hash); hash 307 net/http/http_auth_handler_ntlm_portable.cc static void LM_Response(const uint8* hash, hash 312 net/http/http_auth_handler_ntlm_portable.cc memcpy(keybytes, hash, 16); hash 130 net/http/http_security_headers.cc HashValue hash(tag); hash 131 net/http/http_security_headers.cc if (decoded.size() != hash.size()) hash 134 net/http/http_security_headers.cc memcpy(hash.data(), decoded.data(), hash.size()); hash 135 net/http/http_security_headers.cc hashes->push_back(hash); hash 491 net/http/http_security_headers_unittest.cc HashValueVector::const_iterator hash = std::find_if( hash 495 net/http/http_security_headers_unittest.cc EXPECT_NE(dynamic_domain_state.dynamic_spki_hashes.end(), hash); hash 497 net/http/http_security_headers_unittest.cc hash = std::find_if( hash 501 net/http/http_security_headers_unittest.cc EXPECT_NE(dynamic_domain_state.dynamic_spki_hashes.end(), hash); hash 507 net/http/http_security_headers_unittest.cc hash = std::find_if(domain_state.dynamic_spki_hashes.begin(), hash 510 net/http/http_security_headers_unittest.cc EXPECT_NE(domain_state.dynamic_spki_hashes.end(), hash); hash 512 net/http/http_security_headers_unittest.cc hash = std::find_if( hash 516 net/http/http_security_headers_unittest.cc EXPECT_NE(domain_state.dynamic_spki_hashes.end(), hash); hash 78 net/http/transport_security_state.cc HashValue hash(HASH_VALUE_SHA1); hash 79 net/http/transport_security_state.cc memcpy(hash.data(), sha1_hash, hash.size()); hash 80 net/http/transport_security_state.cc out->push_back(hash); hash 542 net/http/transport_security_state_unittest.cc HashValue hash; hash 543 net/http/transport_security_state_unittest.cc if (!hash.FromString(type_and_base64)) hash 546 net/http/transport_security_state_unittest.cc out->push_back(hash); hash 169 net/quic/crypto/cert_compressor.cc uint64 hash; hash 196 net/quic/crypto/cert_compressor.cc uint64 hash = QuicUtils::FNV1a_64_Hash(i->data(), i->size()); hash 203 net/quic/crypto/cert_compressor.cc if (hash != cached_hash) { hash 208 net/quic/crypto/cert_compressor.cc entry.hash = hash; hash 268 net/quic/crypto/cert_compressor.cc memcpy(out, &i->hash, sizeof(i->hash)); hash 369 net/quic/crypto/cert_compressor.cc memcpy(&entry.hash, in.data(), sizeof(uint64)); hash 377 net/quic/crypto/cert_compressor.cc if (cached_hashes[i] == entry.hash) { hash 73 net/quic/crypto/cert_compressor_test.cc uint64 hash = QuicUtils::FNV1a_64_Hash(chain[0].data(), chain[0].size()); hash 74 net/quic/crypto/cert_compressor_test.cc StringPiece hash_bytes(reinterpret_cast<char*>(&hash), sizeof(hash)); hash 31 net/quic/crypto/common_cert_set.cc uint64 hash; hash 77 net/quic/crypto/common_cert_set.cc virtual StringPiece GetCert(uint64 hash, uint32 index) const OVERRIDE { hash 79 net/quic/crypto/common_cert_set.cc if (kSets[i].hash == hash) { hash 99 net/quic/crypto/common_cert_set.cc uint64 hash; hash 100 net/quic/crypto/common_cert_set.cc memcpy(&hash, common_set_hashes.data() + i * sizeof(uint64), hash 104 net/quic/crypto/common_cert_set.cc if (kSets[j].hash != hash) { hash 126 net/quic/crypto/common_cert_set.cc *out_hash = hash; hash 33 net/quic/crypto/common_cert_set.h virtual base::StringPiece GetCert(uint64 hash, uint32 index) const = 0; hash 82 net/quic/crypto/common_cert_set_test.cc uint64 hash; hash 87 net/quic/crypto/common_cert_set_test.cc &hash, &index)); hash 88 net/quic/crypto/common_cert_set_test.cc EXPECT_EQ(in_hash, hash); hash 90 net/quic/crypto/common_cert_set_test.cc StringPiece gia_copy = sets->GetCert(hash, index); hash 100 net/quic/crypto/common_cert_set_test.cc uint64 hash; hash 105 net/quic/crypto/common_cert_set_test.cc &hash, &index)); hash 436 net/quic/crypto/crypto_server_test.cc scoped_ptr<crypto::SecureHash> hash( hash 438 net/quic/crypto/crypto_server_test.cc hash->Update(serialized.data(), serialized.length()); hash 440 net/quic/crypto/crypto_server_test.cc hash->Finish(digest, sizeof(digest)); hash 29 net/quic/crypto/null_decrypter.cc uint128 hash; hash 30 net/quic/crypto/null_decrypter.cc if (!ReadHash(&reader, &hash)) { hash 39 net/quic/crypto/null_decrypter.cc if (hash != ComputeHash(buffer)) { hash 54 net/quic/crypto/null_decrypter.cc uint128 hash; hash 55 net/quic/crypto/null_decrypter.cc if (!ReadHash(&reader, &hash)) { hash 65 net/quic/crypto/null_decrypter.cc if (hash != ComputeHash(buffer)) { hash 75 net/quic/crypto/null_decrypter.cc bool NullDecrypter::ReadHash(QuicDataReader* reader, uint128* hash) { hash 82 net/quic/crypto/null_decrypter.cc *hash = hi; hash 83 net/quic/crypto/null_decrypter.cc *hash <<= 64; hash 84 net/quic/crypto/null_decrypter.cc *hash += lo; hash 39 net/quic/crypto/null_decrypter.h bool ReadHash(QuicDataReader* reader, uint128* hash); hash 31 net/quic/crypto/null_encrypter.cc uint128 hash = QuicUtils::FNV1a_128_Hash(buffer.data(), buffer.length()); hash 32 net/quic/crypto/null_encrypter.cc QuicUtils::SerializeUint128Short(hash, output); hash 281 net/quic/crypto/quic_crypto_server_config.cc scoped_ptr<SecureHash> hash(SecureHash::Create(SecureHash::SHA256)); hash 282 net/quic/crypto/quic_crypto_server_config.cc hash->Update(serialized->data(), serialized->length()); hash 285 net/quic/crypto/quic_crypto_server_config.cc hash->Finish(scid_bytes, sizeof(scid_bytes)); hash 16 net/quic/quic_ack_notifier_manager.h struct hash<net::QuicAckNotifier*> { hash 18 net/quic/quic_ack_notifier_manager.h return hash<size_t>()(reinterpret_cast<size_t>(ptr)); hash 139 net/quic/quic_crypto_server_stream.cc scoped_ptr<crypto::SecureHash> hash( hash 141 net/quic/quic_crypto_server_stream.cc hash->Update(channel_id.data(), channel_id.size()); hash 143 net/quic/quic_crypto_server_stream.cc hash->Finish(digest, sizeof(digest)); hash 152 net/quic/quic_received_packet_manager.cc QuicPacketEntropyHash hash = packets_entropy_hash_; hash 154 net/quic/quic_received_packet_manager.cc hash ^= it->second; hash 156 net/quic/quic_received_packet_manager.cc return hash; hash 52 net/quic/quic_received_packet_manager_test.cc QuicPacketEntropyHash hash = 0; hash 56 net/quic/quic_received_packet_manager_test.cc hash ^= entropies[index].second; hash 59 net/quic/quic_received_packet_manager_test.cc EXPECT_EQ(hash, received_manager_.EntropyHash(i)); hash 40 net/quic/quic_sent_entropy_manager_test.cc QuicPacketEntropyHash hash = 0; hash 42 net/quic/quic_sent_entropy_manager_test.cc hash ^= entropies[i].second; hash 43 net/quic/quic_sent_entropy_manager_test.cc EXPECT_EQ(hash, entropy_manager_.EntropyHash(i + 1)); hash 30 net/quic/quic_utils.cc uint64 hash = kOffset; hash 33 net/quic/quic_utils.cc hash = hash ^ octets[i]; hash 34 net/quic/quic_utils.cc hash = hash * kPrime; hash 37 net/quic/quic_utils.cc return hash; hash 52 net/quic/quic_utils.cc uint128 hash = kOffset; hash 55 net/quic/quic_utils.cc hash = hash ^ uint128(0, octets[i]); hash 56 net/quic/quic_utils.cc hash = hash * kPrime; hash 59 net/quic/quic_utils.cc return hash; hash 272 net/quic/test_tools/crypto_test_utils.cc MockCommonCertSets(StringPiece cert, uint64 hash, uint32 index) hash 274 net/quic/test_tools/crypto_test_utils.cc hash_(hash), hash 283 net/quic/test_tools/crypto_test_utils.cc virtual StringPiece GetCert(uint64 hash, uint32 index) const OVERRIDE { hash 284 net/quic/test_tools/crypto_test_utils.cc if (hash == hash_ && index == index_) { hash 303 net/quic/test_tools/crypto_test_utils.cc uint64 hash; hash 304 net/quic/test_tools/crypto_test_utils.cc memcpy(&hash, common_set_hashes.data() + i, sizeof(hash)); hash 305 net/quic/test_tools/crypto_test_utils.cc if (hash == hash_) { hash 327 net/quic/test_tools/crypto_test_utils.cc uint64 hash, hash 329 net/quic/test_tools/crypto_test_utils.cc return new class MockCommonCertSets(cert, hash, index); hash 107 net/quic/test_tools/crypto_test_utils.h uint64 hash, hash 64 net/socket/ssl_session_cache_openssl.cc : id(a_id), id_len(a_id_len), hash(ComputeHash(a_id, a_id_len)) {} hash 67 net/socket/ssl_session_cache_openssl.cc : id(other.id), id_len(other.id_len), hash(other.hash) {} hash 72 net/socket/ssl_session_cache_openssl.cc hash(ComputeHash(session->session_id, session->session_id_length)) {} hash 75 net/socket/ssl_session_cache_openssl.cc return hash == other.hash && id_len == other.id_len && hash 81 net/socket/ssl_session_cache_openssl.cc size_t hash; hash 103 net/socket/ssl_session_cache_openssl.cc struct hash<net::SessionId> { hash 105 net/socket/ssl_session_cache_openssl.cc return entry.hash; hash 30 net/third_party/nss/ssl/preenc.h unsigned char hash[20]; hash 37 net/third_party/nss/ssl/preenc.h unsigned char hash[20]; hash 937 net/third_party/nss/ssl/ssl3con.c ssl3_SignHashes(SSL3Hashes *hash, SECKEYPrivateKey *key, SECItem *buf, hash 949 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.raw; hash 950 net/third_party/nss/ssl/ssl3con.c hashItem.len = hash->len; hash 956 net/third_party/nss/ssl/ssl3con.c if (hash->hashAlg == SEC_OID_UNKNOWN) { hash 957 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.s.sha; hash 958 net/third_party/nss/ssl/ssl3con.c hashItem.len = sizeof(hash->u.s.sha); hash 960 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.raw; hash 961 net/third_party/nss/ssl/ssl3con.c hashItem.len = hash->len; hash 969 net/third_party/nss/ssl/ssl3con.c if (hash->hashAlg == SEC_OID_UNKNOWN) { hash 970 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.s.sha; hash 971 net/third_party/nss/ssl/ssl3con.c hashItem.len = sizeof(hash->u.s.sha); hash 973 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.raw; hash 974 net/third_party/nss/ssl/ssl3con.c hashItem.len = hash->len; hash 984 net/third_party/nss/ssl/ssl3con.c if (hash->hashAlg == SEC_OID_UNKNOWN) { hash 998 net/third_party/nss/ssl/ssl3con.c rv = SGN_Digest(key, hash->hashAlg, buf, &hashItem); hash 1026 net/third_party/nss/ssl/ssl3con.c ssl3_VerifySignedHashes(SSL3Hashes *hash, CERTCertificate *cert, hash 1046 net/third_party/nss/ssl/ssl3con.c hashAlg = hash->hashAlg; hash 1050 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.raw; hash 1051 net/third_party/nss/ssl/ssl3con.c hashItem.len = hash->len; hash 1057 net/third_party/nss/ssl/ssl3con.c if (hash->hashAlg == SEC_OID_UNKNOWN) { hash 1058 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.s.sha; hash 1059 net/third_party/nss/ssl/ssl3con.c hashItem.len = sizeof(hash->u.s.sha); hash 1061 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.raw; hash 1062 net/third_party/nss/ssl/ssl3con.c hashItem.len = hash->len; hash 1084 net/third_party/nss/ssl/ssl3con.c if (hash->hashAlg == SEC_OID_UNKNOWN) { hash 1086 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.s.sha; hash 1087 net/third_party/nss/ssl/ssl3con.c hashItem.len = sizeof(hash->u.s.sha); hash 1089 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.raw; hash 1090 net/third_party/nss/ssl/ssl3con.c hashItem.len = hash->len; hash 11884 net/third_party/nss/ssl/ssl3con.c SSL3Opaque hash[MAX_MAC_LENGTH]; hash 12114 net/third_party/nss/ssl/ssl3con.c hash, &hashBytes); hash 12131 net/third_party/nss/ssl/ssl3con.c plaintext->buf, plaintext->len, hash, &hashBytes); hash 12141 net/third_party/nss/ssl/ssl3con.c NSS_SecureMemcmp(givenHash, hash, crSpec->mac_size) != 0) { hash 2257 net/third_party/nss/ssl/ssl3ext.c SECOidTag hash = ssl3_TLSHashAlgorithmToOID(tls_hash); hash 2259 net/third_party/nss/ssl/ssl3ext.c if (hash == SEC_OID_UNKNOWN) { hash 2265 net/third_party/nss/ssl/ssl3ext.c ss->ssl3.hs.clientSigAndHash[i].hashAlg = hash; hash 438 net/third_party/nss/ssl/sslcon.c sec->hash = HASH_GetHashObject(HASH_AlgMD5); hash 447 net/third_party/nss/ssl/sslcon.c sec->hashcx = (*sec->hash->create)(); hash 801 net/third_party/nss/ssl/sslcon.c if (!sec->hash || !sec->hash->length) hash 807 net/third_party/nss/ssl/sslcon.c (*sec->hash->begin)(sec->hashcx); hash 810 net/third_party/nss/ssl/sslcon.c (*sec->hash->update)(sec->hashcx, secret, secretLen); hash 811 net/third_party/nss/ssl/sslcon.c (*sec->hash->update)(sec->hashcx, data, dataLen); hash 813 net/third_party/nss/ssl/sslcon.c (*sec->hash->update)(sec->hashcx, padding, paddingLen); hash 825 net/third_party/nss/ssl/sslcon.c (*sec->hash->update)(sec->hashcx, seq, 4); hash 828 net/third_party/nss/ssl/sslcon.c (*sec->hash->end)(sec->hashcx, result, &nout, sec->hash->length); hash 940 net/third_party/nss/ssl/sslcon.c macLen = ss->sec.hash->length; hash 1044 net/third_party/nss/ssl/sslcon.c macLen = ss->sec.hash->length; hash 76 net/third_party/nss/ssl/sslgathr.c PORT_Assert(ss->sec.hash != 0); hash 197 net/third_party/nss/ssl/sslgathr.c - ss->sec.hash->length; hash 256 net/third_party/nss/ssl/sslgathr.c macLen = ss->sec.hash->length; hash 266 net/third_party/nss/ssl/sslgathr.c (*ss->sec.hash->begin)(ss->sec.hashcx); hash 267 net/third_party/nss/ssl/sslgathr.c (*ss->sec.hash->update)(ss->sec.hashcx, ss->sec.rcvSecret.data, hash 269 net/third_party/nss/ssl/sslgathr.c (*ss->sec.hash->update)(ss->sec.hashcx, pBuf + macLen, hash 271 net/third_party/nss/ssl/sslgathr.c (*ss->sec.hash->update)(ss->sec.hashcx, seq, 4); hash 272 net/third_party/nss/ssl/sslgathr.c (*ss->sec.hash->end)(ss->sec.hashcx, mac, &macLen, macLen); hash 274 net/third_party/nss/ssl/sslgathr.c PORT_Assert(macLen == ss->sec.hash->length); hash 1191 net/third_party/nss/ssl/sslimpl.h const SECHashObject *hash; /* Spec Lock */ /* ssl2 only */ hash 1816 net/third_party/nss/ssl/sslimpl.h extern SECStatus ssl3_SignHashes(SSL3Hashes *hash, SECKEYPrivateKey *key, hash 1818 net/third_party/nss/ssl/sslimpl.h extern SECStatus ssl3_VerifySignedHashes(SSL3Hashes *hash, hash 1946 net/third_party/nss/ssl/sslimpl.h extern SECStatus ssl3_PlatformSignHashes(SSL3Hashes *hash, hash 204 net/third_party/nss/ssl/sslplatf.c ssl3_CngPlatformSignHashes(SSL3Hashes *hash, PlatformKey key, SECItem *buf, hash 229 net/third_party/nss/ssl/sslplatf.c switch (hash->hashAlg) { hash 250 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.raw; hash 251 net/third_party/nss/ssl/sslplatf.c hashItem.len = hash->len; hash 262 net/third_party/nss/ssl/sslplatf.c if (hash->hashAlg == SEC_OID_UNKNOWN) { hash 263 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.s.sha; hash 264 net/third_party/nss/ssl/sslplatf.c hashItem.len = sizeof(hash->u.s.sha); hash 266 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.raw; hash 267 net/third_party/nss/ssl/sslplatf.c hashItem.len = hash->len; hash 328 net/third_party/nss/ssl/sslplatf.c ssl3_CAPIPlatformSignHashes(SSL3Hashes *hash, PlatformKey key, SECItem *buf, hash 343 net/third_party/nss/ssl/sslplatf.c switch (hash->hashAlg) { hash 369 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.raw; hash 370 net/third_party/nss/ssl/sslplatf.c hashItem.len = hash->len; hash 381 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.s.sha; hash 382 net/third_party/nss/ssl/sslplatf.c hashItem.len = sizeof(hash->u.s.sha); hash 384 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.raw; hash 385 net/third_party/nss/ssl/sslplatf.c hashItem.len = hash->len; hash 460 net/third_party/nss/ssl/sslplatf.c ssl3_PlatformSignHashes(SSL3Hashes *hash, PlatformKey key, SECItem *buf, hash 464 net/third_party/nss/ssl/sslplatf.c return ssl3_CngPlatformSignHashes(hash, key, buf, isTLS, keyType); hash 466 net/third_party/nss/ssl/sslplatf.c return ssl3_CAPIPlatformSignHashes(hash, key, buf, isTLS, keyType); hash 578 net/third_party/nss/ssl/sslplatf.c ssl3_PlatformSignHashes(SSL3Hashes *hash, PlatformKey key, SECItem *buf, hash 620 net/third_party/nss/ssl/sslplatf.c if (ssl3_GetDigestInfoPrefix(hash->hashAlg, &prefix, &prefixLen) != hash 624 net/third_party/nss/ssl/sslplatf.c if (prefixLen + hash->len > sizeof(prefixAndHash)) { hash 629 net/third_party/nss/ssl/sslplatf.c memcpy(prefixAndHash + prefixLen, hash->u.raw, hash->len); hash 631 net/third_party/nss/ssl/sslplatf.c hashData.Length = prefixLen + hash->len; hash 658 net/third_party/nss/ssl/sslplatf.c if (hash->hashAlg == SEC_OID_UNKNOWN) { hash 659 net/third_party/nss/ssl/sslplatf.c hashData.Data = hash->u.s.sha; hash 660 net/third_party/nss/ssl/sslplatf.c hashData.Length = sizeof(hash->u.s.sha); hash 662 net/third_party/nss/ssl/sslplatf.c hashData.Data = hash->u.raw; hash 663 net/third_party/nss/ssl/sslplatf.c hashData.Length = hash->len; hash 758 net/third_party/nss/ssl/sslplatf.c ssl3_PlatformSignHashes(SSL3Hashes *hash, PlatformKey key, SECItem *buf, hash 961 net/third_party/nss/ssl/sslsecur.c if (os->sec.hash && os->sec.hashcx) { hash 962 net/third_party/nss/ssl/sslsecur.c ss->sec.hash = os->sec.hash; hash 963 net/third_party/nss/ssl/sslsecur.c ss->sec.hashcx = os->sec.hash->clone(os->sec.hashcx); hash 967 net/third_party/nss/ssl/sslsecur.c ss->sec.hash = NULL; hash 1004 net/third_party/nss/ssl/sslsecur.c if (sec->hash && sec->hashcx) { hash 1005 net/third_party/nss/ssl/sslsecur.c (*sec->hash->destroy)(sec->hashcx, PR_TRUE); hash 1007 net/third_party/nss/ssl/sslsecur.c sec->hash = NULL; hash 281 net/tools/dump_cache/dump_files.cc printf("hash: 0x%x\n", entry.hash); hash 27 net/tools/quic/quic_dispatcher.h struct hash<net::QuicBlockedWriterInterface*> { hash 30 net/tools/quic/quic_dispatcher.h return hash<size_t>()(reinterpret_cast<size_t>(ptr)); hash 75 net/tools/quic/test_tools/quic_test_utils.cc unsigned char hash[base::kSHA1Length]; hash 77 net/tools/quic/test_tools/quic_test_utils.cc hash); hash 78 net/tools/quic/test_tools/quic_test_utils.cc memcpy(&seed_, hash, sizeof(seed_)); hash 352 net/websockets/websocket_handshake_handler.cc std::string hash = hash 354 net/websockets/websocket_handshake_handler.cc base::Base64Encode(hash, accept); hash 404 net/websockets/websocket_handshake_handler.cc std::string hash = hash 407 net/websockets/websocket_handshake_handler.cc base::Base64Encode(hash, &websocket_accept); hash 33 ppapi/tools/pepper_hash_for_uma.cc int hash = static_cast<int>(data & 0x7fffffff); hash 34 ppapi/tools/pepper_hash_for_uma.cc printf("<int value=\"%d\" label=\"%s\"/>\n", hash, argv[i]); hash 16 remoting/host/pin_hash.cc std::string hash = protocol::AuthenticationMethod::ApplyHashFunction( hash 19 remoting/host/pin_hash.cc base::Base64Encode(hash, &hash_base64); hash 23 remoting/host/pin_hash.cc bool VerifyHostPinHash(const std::string& hash, hash 27 remoting/host/pin_hash.cc if (!hash_parsed.Parse(hash)) { hash 19 remoting/host/pin_hash.h bool VerifyHostPinHash(const std::string& hash, hash 17 remoting/host/pin_hash_unittest.cc std::string hash = MakeHostPinHash("Host ID", "1234"); hash 18 remoting/host/pin_hash_unittest.cc ASSERT_EQ("hmac:bk6RVRFLpLO89mr4QPHSg8CemUUtI90r2F0VfvTmWLI=", hash); hash 61 sync/internal_api/read_node.cc const std::string hash = syncable::GenerateSyncableHash(model_type, tag); hash 64 sync/internal_api/read_node.cc syncable::GET_BY_CLIENT_TAG, hash); hash 860 sync/internal_api/sync_manager_impl_unittest.cc const std::string hash = syncable::GenerateSyncableHash(type, client_tag); hash 862 sync/internal_api/sync_manager_impl_unittest.cc hash); hash 301 sync/internal_api/write_node.cc const std::string hash = syncable::GenerateSyncableHash(model_type, tag); hash 304 sync/internal_api/write_node.cc syncable::GET_BY_CLIENT_TAG, hash); hash 376 sync/internal_api/write_node.cc const std::string hash = syncable::GenerateSyncableHash(model_type, tag); hash 387 sync/internal_api/write_node.cc syncable::GET_BY_CLIENT_TAG, hash)); hash 428 sync/internal_api/write_node.cc entry_->PutUniqueClientTag(hash); hash 145 sync/util/nigori.cc std::vector<unsigned char> hash(kHashSize); hash 146 sync/util/nigori.cc if (!hmac.Sign(ciphertext, &hash[0], hash.size())) hash 151 sync/util/nigori.cc output.append(hash.begin(), hash.end()); hash 181 sync/util/nigori.cc std::vector<unsigned char> hash(kHashSize); hash 182 sync/util/nigori.cc if (!hmac.Sign(ciphertext, &hash[0], hash.size())) hash 188 sync/util/nigori.cc output.append(hash.begin(), hash.end()); hash 209 sync/util/nigori.cc std::string hash(input.substr(input.size() - kHashSize, kHashSize)); hash 223 sync/util/nigori.cc if (hash.compare(0, hash.size(), hash 75 third_party/cld/base/stl_decl_msvc.h struct hash; hash 78 third_party/cld/base/stl_decl_msvc.h class HashFcn = hash<Key> > hash 82 third_party/cld/base/stl_decl_msvc.h class HashFcn = hash<Key> > hash 86 third_party/cld/base/stl_decl_msvc.h class HashFcn = hash<Key> > hash 90 third_party/cld/base/stl_decl_msvc.h class HashFcn = hash<Key> > hash 96 third_party/cld/base/stl_decl_msvc.h using msvchash::hash; hash 805 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int CountPredictedBytes(const char* isrc, int srclen, int* hash, int* tbl) { hash 809 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int local_hash = *hash; hash 841 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc *hash = local_hash; hash 872 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int CheapRepWordsInplace(char* isrc, int srclen, int* hash, int* tbl) { hash 876 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int local_hash = *hash; hash 940 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc *hash = local_hash; hash 977 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int hash = 0; hash 997 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int predb_n = CountPredictedBytes(src, len, &hash, predict_tbl); hash 1067 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int hash = 0; hash 1074 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc (CountPredictedBytes(src, testsize, &hash, predict_tbl) >= hash 2197 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int hash = 0; hash 2261 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc &hash, predict_tbl); hash 125 third_party/expat/files/lib/xmlparse.c #define SECOND_HASH(hash, mask, power) \ hash 126 third_party/expat/files/lib/xmlparse.c ((((hash) & ~(mask)) >> ((power) - 1)) & ((mask) >> 2)) hash 127 third_party/expat/files/lib/xmlparse.c #define PROBE_STEP(hash, mask, power) \ hash 128 third_party/expat/files/lib/xmlparse.c ((unsigned char)((SECOND_HASH(hash, mask, power)) | 1)) hash 249 third_party/expat/files/lib/xmlparse.c unsigned long hash; hash 2942 third_party/expat/files/lib/xmlparse.c if (uriHash == nsAtts[j].hash) { hash 2972 third_party/expat/files/lib/xmlparse.c nsAtts[j].hash = uriHash; hash 5987 third_party/expat/files/lib/xmlparse.c i = hash(parser, name) & ((unsigned long)table->size - 1); hash 5990 third_party/expat/files/lib/xmlparse.c unsigned long h = hash(parser, name); hash 6016 third_party/expat/files/lib/xmlparse.c unsigned long newHash = hash(parser, table->v[i]->name); hash 734 third_party/jsoncpp/overrides/include/json/value.h HashKey hash( const char *key ) const; hash 322 third_party/libpng/pngrtran.c png_dsortpp hash; hash 339 third_party/libpng/pngrtran.c hash = (png_dsortpp)png_calloc(png_ptr, (png_uint_32)(769 * hash 373 third_party/libpng/pngrtran.c t->next = hash[d]; hash 376 third_party/libpng/pngrtran.c hash[d] = t; hash 386 third_party/libpng/pngrtran.c if (hash[i] != NULL) hash 390 third_party/libpng/pngrtran.c for (p = hash[i]; p; p = p->next) hash 450 third_party/libpng/pngrtran.c if (hash[i] != NULL) hash 452 third_party/libpng/pngrtran.c png_dsortp p = hash[i]; hash 460 third_party/libpng/pngrtran.c hash[i] = 0; hash 464 third_party/libpng/pngrtran.c png_free(png_ptr, hash); hash 281 third_party/libxml/src/dict.c uint32_t hash; hash 286 third_party/libxml/src/dict.c hash = 0; hash 289 third_party/libxml/src/dict.c hash += data[i]; hash 290 third_party/libxml/src/dict.c hash += (hash << 10); hash 291 third_party/libxml/src/dict.c hash ^= (hash >> 6); hash 293 third_party/libxml/src/dict.c hash += (hash << 3); hash 294 third_party/libxml/src/dict.c hash ^= (hash >> 11); hash 295 third_party/libxml/src/dict.c hash += (hash << 15); hash 297 third_party/libxml/src/dict.c return hash; hash 315 third_party/libxml/src/dict.c uint32_t hash; hash 318 third_party/libxml/src/dict.c hash = 0; hash 321 third_party/libxml/src/dict.c hash += prefix[i]; hash 322 third_party/libxml/src/dict.c hash += (hash << 10); hash 323 third_party/libxml/src/dict.c hash ^= (hash >> 6); hash 325 third_party/libxml/src/dict.c hash += ':'; hash 326 third_party/libxml/src/dict.c hash += (hash << 10); hash 327 third_party/libxml/src/dict.c hash ^= (hash >> 6); hash 330 third_party/libxml/src/dict.c hash += name[i]; hash 331 third_party/libxml/src/dict.c hash += (hash << 10); hash 332 third_party/libxml/src/dict.c hash ^= (hash >> 6); hash 334 third_party/libxml/src/dict.c hash += (hash << 3); hash 335 third_party/libxml/src/dict.c hash ^= (hash >> 11); hash 336 third_party/libxml/src/dict.c hash += (hash << 15); hash 338 third_party/libxml/src/dict.c return hash; hash 4423 third_party/libxml/src/xpath.c xmlHashTablePtr hash; hash 4435 third_party/libxml/src/xpath.c hash = xmlHashCreate (l); hash 4439 third_party/libxml/src/xpath.c if (xmlHashLookup(hash, strval) == NULL) { hash 4440 third_party/libxml/src/xpath.c xmlHashAddEntry(hash, strval, strval); hash 4446 third_party/libxml/src/xpath.c xmlHashFree(hash, (xmlHashDeallocator) xmlFree); hash 6610 third_party/libxml/src/xpath.c unsigned int hash; hash 6622 third_party/libxml/src/xpath.c hash = xmlXPathStringHash(str); hash 6624 third_party/libxml/src/xpath.c if (xmlXPathNodeValHash(ns->nodeTab[i]) == hash) { hash 215 third_party/libxslt/libexslt/crypto.c unsigned char hash[HASH_DIGEST_LENGTH]; hash 232 third_party/libxslt/libexslt/crypto.c RC4_KEY_LENGTH, hash, hash 266 third_party/libxslt/libexslt/crypto.c unsigned char hash[HASH_DIGEST_LENGTH]; hash 283 third_party/libxslt/libexslt/crypto.c RC4_KEY_LENGTH, hash, hash 497 third_party/libxslt/libexslt/crypto.c unsigned char hash[HASH_DIGEST_LENGTH]; hash 508 third_party/libxslt/libexslt/crypto.c (char *) hash); hash 509 third_party/libxslt/libexslt/crypto.c exsltCryptoBin2Hex (hash, sizeof (hash) - 1, hex, sizeof (hex) - 1); hash 530 third_party/libxslt/libexslt/crypto.c unsigned char hash[HASH_DIGEST_LENGTH]; hash 541 third_party/libxslt/libexslt/crypto.c (char *) hash); hash 542 third_party/libxslt/libexslt/crypto.c exsltCryptoBin2Hex (hash, sizeof (hash) - 1, hex, sizeof (hex) - 1); hash 563 third_party/libxslt/libexslt/crypto.c unsigned char hash[HASH_DIGEST_LENGTH]; hash 574 third_party/libxslt/libexslt/crypto.c (char *) hash); hash 575 third_party/libxslt/libexslt/crypto.c exsltCryptoBin2Hex (hash, sizeof (hash) - 1, hex, sizeof (hex) - 1); hash 53 third_party/libxslt/libexslt/functions.c xmlHashTablePtr hash; hash 108 third_party/libxslt/libexslt/functions.c if (ch->ctxt == NULL || ch->hash == NULL) hash 112 third_party/libxslt/libexslt/functions.c func = (exsltFuncFunctionData*)xmlHashLookup2(ch->hash, URI, name); hash 116 third_party/libxslt/libexslt/functions.c if (xmlHashAddEntry2(ch->hash, URI, name, func) < 0) { hash 148 third_party/libxslt/libexslt/functions.c xmlHashTablePtr hash; hash 161 third_party/libxslt/libexslt/functions.c ch.hash = (xmlHashTablePtr) xsltStyleGetExtData(ctxt->style, URI); hash 162 third_party/libxslt/libexslt/functions.c ret->funcs = ch.hash; hash 163 third_party/libxslt/libexslt/functions.c xmlHashScanFull(ch.hash, (xmlHashScannerFull) exsltFuncRegisterFunc, ctxt); hash 167 third_party/libxslt/libexslt/functions.c hash = xsltGetExtInfo(tmp, URI); hash 168 third_party/libxslt/libexslt/functions.c if (hash != NULL) { hash 169 third_party/libxslt/libexslt/functions.c xmlHashScanFull(hash, hash 81 third_party/libxslt/libexslt/saxon.c xmlHashTablePtr hash; hash 95 third_party/libxslt/libexslt/saxon.c hash = (xmlHashTablePtr) xsltGetExtData(tctxt, hash 98 third_party/libxslt/libexslt/saxon.c ret = xmlHashLookup(hash, arg); hash 109 third_party/libxslt/libexslt/saxon.c xmlHashAddEntry(hash, arg, (void *) ret); hash 138 third_party/lzma_sdk/LzFind.c p->hash = 0; hash 153 third_party/lzma_sdk/LzFind.c alloc->Free(alloc, p->hash); hash 154 third_party/lzma_sdk/LzFind.c p->hash = 0; hash 231 third_party/lzma_sdk/LzFind.c if (p->hash != 0 && prevSize == newSize) hash 234 third_party/lzma_sdk/LzFind.c p->hash = AllocRefs(newSize, alloc); hash 235 third_party/lzma_sdk/LzFind.c if (p->hash != 0) hash 237 third_party/lzma_sdk/LzFind.c p->son = p->hash + p->hashSizeSum; hash 275 third_party/lzma_sdk/LzFind.c p->hash[i] = kEmptyHashValue; hash 307 third_party/lzma_sdk/LzFind.c MatchFinder_Normalize3(subValue, p->hash, p->hashSizeSum + p->numSons); hash 489 third_party/lzma_sdk/LzFind.c curMatch = p->hash[hashValue]; hash 490 third_party/lzma_sdk/LzFind.c p->hash[hashValue] = p->pos; hash 500 third_party/lzma_sdk/LzFind.c curMatch = p->hash[hashValue]; hash 501 third_party/lzma_sdk/LzFind.c p->hash[hashValue] = p->pos; hash 513 third_party/lzma_sdk/LzFind.c delta2 = p->pos - p->hash[hash2Value]; hash 514 third_party/lzma_sdk/LzFind.c curMatch = p->hash[kFix3HashSize + hashValue]; hash 516 third_party/lzma_sdk/LzFind.c p->hash[hash2Value] = hash 517 third_party/lzma_sdk/LzFind.c p->hash[kFix3HashSize + hashValue] = p->pos; hash 546 third_party/lzma_sdk/LzFind.c delta2 = p->pos - p->hash[ hash2Value]; hash 547 third_party/lzma_sdk/LzFind.c delta3 = p->pos - p->hash[kFix3HashSize + hash3Value]; hash 548 third_party/lzma_sdk/LzFind.c curMatch = p->hash[kFix4HashSize + hashValue]; hash 550 third_party/lzma_sdk/LzFind.c p->hash[ hash2Value] = hash 551 third_party/lzma_sdk/LzFind.c p->hash[kFix3HashSize + hash3Value] = hash 552 third_party/lzma_sdk/LzFind.c p->hash[kFix4HashSize + hashValue] = p->pos; hash 593 third_party/lzma_sdk/LzFind.c delta2 = p->pos - p->hash[ hash2Value]; hash 594 third_party/lzma_sdk/LzFind.c delta3 = p->pos - p->hash[kFix3HashSize + hash3Value]; hash 595 third_party/lzma_sdk/LzFind.c curMatch = p->hash[kFix4HashSize + hashValue]; hash 597 third_party/lzma_sdk/LzFind.c p->hash[ hash2Value] = hash 598 third_party/lzma_sdk/LzFind.c p->hash[kFix3HashSize + hash3Value] = hash 599 third_party/lzma_sdk/LzFind.c p->hash[kFix4HashSize + hashValue] = p->pos; hash 640 third_party/lzma_sdk/LzFind.c curMatch = p->hash[hashValue]; hash 641 third_party/lzma_sdk/LzFind.c p->hash[hashValue] = p->pos; hash 653 third_party/lzma_sdk/LzFind.c curMatch = p->hash[hashValue]; hash 654 third_party/lzma_sdk/LzFind.c p->hash[hashValue] = p->pos; hash 666 third_party/lzma_sdk/LzFind.c curMatch = p->hash[hashValue]; hash 667 third_party/lzma_sdk/LzFind.c p->hash[hashValue] = p->pos; hash 680 third_party/lzma_sdk/LzFind.c curMatch = p->hash[kFix3HashSize + hashValue]; hash 681 third_party/lzma_sdk/LzFind.c p->hash[hash2Value] = hash 682 third_party/lzma_sdk/LzFind.c p->hash[kFix3HashSize + hashValue] = p->pos; hash 695 third_party/lzma_sdk/LzFind.c curMatch = p->hash[kFix4HashSize + hashValue]; hash 696 third_party/lzma_sdk/LzFind.c p->hash[ hash2Value] = hash 697 third_party/lzma_sdk/LzFind.c p->hash[kFix3HashSize + hash3Value] = p->pos; hash 698 third_party/lzma_sdk/LzFind.c p->hash[kFix4HashSize + hashValue] = p->pos; hash 711 third_party/lzma_sdk/LzFind.c curMatch = p->hash[kFix4HashSize + hashValue]; hash 712 third_party/lzma_sdk/LzFind.c p->hash[ hash2Value] = hash 713 third_party/lzma_sdk/LzFind.c p->hash[kFix3HashSize + hash3Value] = hash 714 third_party/lzma_sdk/LzFind.c p->hash[kFix4HashSize + hashValue] = p->pos; hash 727 third_party/lzma_sdk/LzFind.c curMatch = p->hash[hashValue]; hash 728 third_party/lzma_sdk/LzFind.c p->hash[hashValue] = p->pos; hash 27 third_party/lzma_sdk/LzFind.h CLzRef *hash; hash 189 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java int hash = 41; hash 190 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java hash = (19 * hash) + getDescriptorForType().hashCode(); hash 191 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java hash = hashFields(hash, getAllFields()); hash 192 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java hash = (29 * hash) + getUnknownFields().hashCode(); hash 193 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return hash; hash 198 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java protected int hashFields(int hash, Map<FieldDescriptor, Object> map) { hash 202 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java hash = (37 * hash) + field.getNumber(); hash 204 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java hash = (53 * hash) + value.hashCode(); hash 207 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java hash = (53 * hash) + hashEnumList(list); hash 209 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java hash = (53 * hash) + hashEnum((EnumLite) value); hash 212 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return hash; hash 253 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java int hash = 1; hash 255 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java hash = 31 * hash + hashEnum(e); hash 257 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return hash; hash 234 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java private int hash = 0; hash 244 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java int h = hash; hash 252 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java hash = h; hash 259 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java return hash; hash 459 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java if (hash != 0) { hash 461 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java if (cachedOtherHash != 0 && hash != cachedOtherHash) { hash 529 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private int hash = 0; hash 533 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java int h = hash; hash 541 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java hash = h; hash 548 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java return hash; hash 317 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java int hash = stringUnderTest.hashCode(); hash 318 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java assertEquals(classUnderTest + " must have expected hashCode", expectedHashCode, hash); hash 332 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java int hash = stringUnderTest.partialHash(stringUnderTest.size(), 0, stringUnderTest.size()); hash 334 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java expectedHashCode, hash); hash 218 third_party/protobuf/src/google/protobuf/descriptor.cc hash<const char*> cstring_hash; hash 249 third_party/protobuf/src/google/protobuf/message.cc hash<const char*>, streq> file_map_; hash 77 third_party/protobuf/src/google/protobuf/stubs/hash.h struct hash<const char*> { hash 90 third_party/protobuf/src/google/protobuf/stubs/hash.h typename HashFcn = hash<Key>, hash 98 third_party/protobuf/src/google/protobuf/stubs/hash.h typename HashFcn = hash<Key>, hash 108 third_party/protobuf/src/google/protobuf/stubs/hash.h struct hash : public HASH_NAMESPACE::hash_compare<Key> { hash 121 third_party/protobuf/src/google/protobuf/stubs/hash.h struct hash<const char*> hash 126 third_party/protobuf/src/google/protobuf/stubs/hash.h typename HashFcn = hash<Key>, hash 135 third_party/protobuf/src/google/protobuf/stubs/hash.h typename HashFcn = hash<Key>, hash 146 third_party/protobuf/src/google/protobuf/stubs/hash.h struct hash : public HASH_NAMESPACE::hash<Key> { hash 150 third_party/protobuf/src/google/protobuf/stubs/hash.h struct hash<const Key*> { hash 159 third_party/protobuf/src/google/protobuf/stubs/hash.h struct hash<const char*> { hash 170 third_party/protobuf/src/google/protobuf/stubs/hash.h typename HashFcn = hash<Key>, hash 179 third_party/protobuf/src/google/protobuf/stubs/hash.h typename HashFcn = hash<Key>, hash 190 third_party/protobuf/src/google/protobuf/stubs/hash.h struct hash<string> { hash 192 third_party/protobuf/src/google/protobuf/stubs/hash.h return hash<const char*>()(key.c_str()); hash 203 third_party/protobuf/src/google/protobuf/stubs/hash.h struct hash<pair<First, Second> > { hash 205 third_party/protobuf/src/google/protobuf/stubs/hash.h size_t first_hash = hash<First>()(key.first); hash 206 third_party/protobuf/src/google/protobuf/stubs/hash.h size_t second_hash = hash<Second>()(key.second); hash 15276 third_party/sqlite/amalgamation/sqlite3.c u32 size, hash; hash 15286 third_party/sqlite/amalgamation/sqlite3.c hash = size % N_HASH; hash 15287 third_party/sqlite/amalgamation/sqlite3.c memsys3UnlinkFromList(i, &mem3.aiHash[hash]); hash 15310 third_party/sqlite/amalgamation/sqlite3.c u32 size, hash; hash 15320 third_party/sqlite/amalgamation/sqlite3.c hash = size % N_HASH; hash 15321 third_party/sqlite/amalgamation/sqlite3.c memsys3LinkIntoList(i, &mem3.aiHash[hash]); hash 15488 third_party/sqlite/amalgamation/sqlite3.c int hash = nBlock % N_HASH; hash 15489 third_party/sqlite/amalgamation/sqlite3.c for(i=mem3.aiHash[hash]; i>0; i=mem3.aPool[i].u.list.next){ hash 15491 third_party/sqlite/amalgamation/sqlite3.c memsys3UnlinkFromList(i, &mem3.aiHash[hash]); hash 37575 third_party/sqlite/amalgamation/sqlite3.c u32 hash = 0; hash 37578 third_party/sqlite/amalgamation/sqlite3.c hash = (hash*1039) + pData[i]; hash 37580 third_party/sqlite/amalgamation/sqlite3.c return hash; hash 168 third_party/sqlite/src/src/mem3.c u32 size, hash; hash 178 third_party/sqlite/src/src/mem3.c hash = size % N_HASH; hash 179 third_party/sqlite/src/src/mem3.c memsys3UnlinkFromList(i, &mem3.aiHash[hash]); hash 202 third_party/sqlite/src/src/mem3.c u32 size, hash; hash 212 third_party/sqlite/src/src/mem3.c hash = size % N_HASH; hash 213 third_party/sqlite/src/src/mem3.c memsys3LinkIntoList(i, &mem3.aiHash[hash]); hash 380 third_party/sqlite/src/src/mem3.c int hash = nBlock % N_HASH; hash 381 third_party/sqlite/src/src/mem3.c for(i=mem3.aiHash[hash]; i>0; i=mem3.aPool[i].u.list.next){ hash 383 third_party/sqlite/src/src/mem3.c memsys3UnlinkFromList(i, &mem3.aiHash[hash]); hash 1145 third_party/sqlite/src/src/pager.c u32 hash = 0; hash 1148 third_party/sqlite/src/src/pager.c hash = (hash*1039) + pData[i]; hash 1150 third_party/sqlite/src/src/pager.c return hash; hash 3431 third_party/sqlite/src/tool/lemon.c int hash; /* For hashing the name of a type */ hash 3483 third_party/sqlite/src/tool/lemon.c hash = 0; hash 3485 third_party/sqlite/src/tool/lemon.c hash = hash*53 + stddt[j]; hash 3487 third_party/sqlite/src/tool/lemon.c hash = (hash & 0x7fffffff)%arraysize; hash 3488 third_party/sqlite/src/tool/lemon.c while( types[hash] ){ hash 3489 third_party/sqlite/src/tool/lemon.c if( strcmp(types[hash],stddt)==0 ){ hash 3490 third_party/sqlite/src/tool/lemon.c sp->dtnum = hash + 1; hash 3493 third_party/sqlite/src/tool/lemon.c hash++; hash 3494 third_party/sqlite/src/tool/lemon.c if( hash>=arraysize ) hash = 0; hash 3496 third_party/sqlite/src/tool/lemon.c if( types[hash]==0 ){ hash 3497 third_party/sqlite/src/tool/lemon.c sp->dtnum = hash + 1; hash 3498 third_party/sqlite/src/tool/lemon.c types[hash] = (char*)malloc( lemonStrlen(stddt)+1 ); hash 3499 third_party/sqlite/src/tool/lemon.c if( types[hash]==0 ){ hash 3503 third_party/sqlite/src/tool/lemon.c strcpy(types[hash],stddt); hash 40 third_party/sqlite/src/tool/mkkeywordhash.c int hash; /* Hash on the keyword */ hash 367 third_party/sqlite/src/tool/mkkeywordhash.c p->hash = (UpperToLower[(int)p->zName[0]]*4) ^ hash 454 third_party/sqlite/src/tool/mkkeywordhash.c h = aKeywordTable[j].hash % i; hash 468 third_party/sqlite/src/tool/mkkeywordhash.c h = aKeywordTable[i].hash % bestSize; hash 46 third_party/tcmalloc/chromium/src/heap-profile-stats.h uintptr_t hash; // Hash value of the stack trace. hash 187 third_party/tcmalloc/chromium/src/heap-profile-table.cc if ((b->hash == h) && hash 200 third_party/tcmalloc/chromium/src/heap-profile-table.cc b->hash = h; hash 380 third_party/tcmalloc/chromium/src/memory_region_map.cc uintptr_t hash = 0; hash 382 third_party/tcmalloc/chromium/src/memory_region_map.cc hash += reinterpret_cast<uintptr_t>(key[i]); hash 383 third_party/tcmalloc/chromium/src/memory_region_map.cc hash += hash << 10; hash 384 third_party/tcmalloc/chromium/src/memory_region_map.cc hash ^= hash >> 6; hash 386 third_party/tcmalloc/chromium/src/memory_region_map.cc hash += hash << 3; hash 387 third_party/tcmalloc/chromium/src/memory_region_map.cc hash ^= hash >> 11; hash 390 third_party/tcmalloc/chromium/src/memory_region_map.cc unsigned int hash_index = (static_cast<unsigned int>(hash)) % kHashTableSize; hash 394 third_party/tcmalloc/chromium/src/memory_region_map.cc if ((bucket->hash == hash) && (bucket->depth == depth) && hash 425 third_party/tcmalloc/chromium/src/memory_region_map.cc bucket->hash = hash; hash 505 third_party/tcmalloc/chromium/src/memory_region_map.cc static_cast<unsigned int>(bucket.hash) % kHashTableSize; hash 510 third_party/tcmalloc/chromium/src/memory_region_map.cc if ((curr->hash == bucket.hash) && (curr->depth == bucket.depth) && hash 529 third_party/tcmalloc/chromium/src/memory_region_map.cc new_bucket->hash = bucket.hash; hash 46 third_party/tcmalloc/chromium/src/stack_trace_table.cc const bool eq = (this->hash == h && this->trace.depth == t.depth); hash 100 third_party/tcmalloc/chromium/src/stack_trace_table.cc b->hash = h; hash 66 third_party/tcmalloc/chromium/src/stack_trace_table.h uintptr_t hash; hash 194 third_party/tcmalloc/vendor/src/heap-profile-table.cc if ((b->hash == h) && hash 207 third_party/tcmalloc/vendor/src/heap-profile-table.cc b->hash = h; hash 207 third_party/tcmalloc/vendor/src/heap-profile-table.h uintptr_t hash; // Hash value of the stack trace hash 46 third_party/tcmalloc/vendor/src/stack_trace_table.cc const bool eq = (this->hash == h && this->trace.depth == t.depth); hash 100 third_party/tcmalloc/vendor/src/stack_trace_table.cc b->hash = h; hash 66 third_party/tcmalloc/vendor/src/stack_trace_table.h uintptr_t hash; hash 1307 third_party/zlib/deflate.c unsigned hash = 5381; hash 1316 third_party/zlib/deflate.c hash = ((hash << 5) + hash) + str[i]; hash 1318 third_party/zlib/deflate.c hash &= Z_COOKIE_HASH_MASK; hash 1319 third_party/zlib/deflate.c cookie_location = s->cookie_locations[hash]; hash 1320 third_party/zlib/deflate.c s->cookie_locations[hash] = start; hash 104 tools/gn/label.h template<> struct hash<Label> { hash 106 tools/gn/label.h hash<std::string> stringhash; hash 103 tools/gn/source_dir.h template<> struct hash<SourceDir> { hash 105 tools/gn/source_dir.h hash<std::string> h; hash 83 tools/gn/source_file.h template<> struct hash<SourceFile> { hash 85 tools/gn/source_file.h hash<std::string> h; hash 36 tools/memory_watcher/call_stack.h int32 hash() { return hash_; } hash 211 tools/memory_watcher/memory_watcher.cc int32 stack_hash = stack->hash();