HexEncode 95 base/strings/string_number_conversions.h BASE_EXPORT std::string HexEncode(const void* bytes, size_t size); HexEncode 765 base/strings/string_number_conversions_unittest.cc TEST(StringNumberConversionsTest, HexEncode) { HexEncode 766 base/strings/string_number_conversions_unittest.cc std::string hex(HexEncode(NULL, 0)); HexEncode 769 base/strings/string_number_conversions_unittest.cc hex = HexEncode(bytes, sizeof(bytes)); HexEncode 42 chrome/app/signature_validator_win.cc *public_key_hash = StringToLowerASCII(base::HexEncode(hash, arraysize(hash))); HexEncode 88 chrome/app/signature_validator_win_unittest.cc StringToLowerASCII(base::HexEncode(hash, arraysize(hash))); HexEncode 288 chrome/browser/background/background_application_list_model.cc std::string hexencoded_id_hash = base::HexEncode(id_hash.c_str(), HexEncode 36 chrome/browser/bookmarks/enhanced_bookmarks_features.cc std::string hash = base::HexEncode(id_hash.c_str(), id_hash.length()); HexEncode 941 chrome/browser/chromeos/login/kiosk_browsertest.cc base::HexEncode(sha256.c_str(), sha256.size()); HexEncode 46 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc return StringToLowerASCII(base::HexEncode( HexEncode 231 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::HexEncode(reinterpret_cast<const void*>(master_key_bytes), HexEncode 695 chrome/browser/chromeos/login/parallel_authenticator.cc return StringToLowerASCII(base::HexEncode( HexEncode 36 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc metadata->SetStringWithoutPathExpansion("hash", base::HexEncode(hash.c_str(), HexEncode 203 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc metadata->SetStringWithoutPathExpansion("hash", base::HexEncode(hash.c_str(), HexEncode 57 chrome/browser/chromeos/policy/device_local_account.cc base::HexEncode(account_id.c_str(), account_id.size()) + "@" + HexEncode 438 chrome/browser/chromeos/policy/device_local_account_browsertest.cc .Append(base::HexEncode(account_id.c_str(), account_id.size())); HexEncode 77 chrome/browser/chromeos/policy/device_local_account_policy_service.cc return base::HexEncode(account_id.c_str(), account_id.size()); HexEncode 512 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc return cache_root_dir_.path().Append(base::HexEncode(account_id.c_str(), HexEncode 91 chrome/browser/chromeos/settings/token_encryptor.cc return StringToLowerASCII(base::HexEncode( HexEncode 172 chrome/browser/component_updater/component_updater_utils.cc return HexStringToID(StringToLowerASCII(base::HexEncode(&component.pk_hash[0], HexEncode 324 chrome/browser/enumerate_modules_model_win.cc *output = StringToLowerASCII(base::HexEncode(hash, sizeof(hash))); HexEncode 27 chrome/browser/extensions/api/music_manager_private/device_id.cc *signature_return = StringToLowerASCII(base::HexEncode(digest.data(), HexEncode 127 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc StringToLowerASCII(base::HexEncode(mac_address, MAC_LENGTH)); HexEncode 137 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc StringToLowerASCII(base::HexEncode(mac_address, mac_address_size)); HexEncode 79 chrome/browser/extensions/api/music_manager_private/device_id_win.cc found_mac_address_ = StringToLowerASCII(base::HexEncode(bytes, size)); HexEncode 218 chrome/browser/managed_mode/managed_mode_url_filter.cc return base::HexEncode(hash.data(), hash.length()); HexEncode 114 chrome/browser/media/media_capture_devices_dispatcher.cc base::HexEncode(origin_hash.data(), origin_hash.length()); HexEncode 138 chrome/browser/media/media_capture_devices_dispatcher.cc base::HexEncode(origin_hash.data(), origin_hash.length()); HexEncode 213 chrome/browser/metrics/metrics_log.cc return base::HexEncode(sha1.data(), sha1.size()); HexEncode 1695 chrome/browser/metrics/metrics_service.cc base::HexEncode(log_manager_.staged_log_hash().data(), HexEncode 66 chrome/browser/metrics/variations/variations_seed_store_unittest.cc *hash = base::HexEncode(sha1.data(), sha1.size()); HexEncode 29 chrome/browser/prefs/pref_hash_calculator.cc return base::HexEncode(&digest[0], digest.size()); HexEncode 190 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc found_mac_address_ = StringToLowerASCII(base::HexEncode(bytes, size)); HexEncode 70 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win_unittest.cc return StringToLowerASCII(base::HexEncode(digest.data(), digest.size())); HexEncode 30 chrome/browser/profile_resetter/jtl_foundation.cc cached_hashes_[input] = base::HexEncode(digest, kHashSizeInBytes / 2); HexEncode 123 chrome/browser/renderer_host/pepper/device_id_fetcher.cc salt = base::HexEncode(salt_bytes, arraysize(salt_bytes)); HexEncode 169 chrome/browser/renderer_host/pepper/device_id_fetcher.cc base::HexEncode(reinterpret_cast<const void*>(id_buf), sizeof(id_buf))); HexEncode 174 chrome/browser/renderer_host/pepper/device_id_fetcher.cc id = StringToLowerASCII(base::HexEncode( HexEncode 196 chrome/browser/safe_browsing/download_protection_service.cc post_data += base::HexEncode(sha256_hash_.data(), HexEncode 1027 chrome/browser/safe_browsing/download_protection_service.cc std::string issuer_fp = base::HexEncode(issuer.fingerprint().data, HexEncode 1437 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string cert_base = "cert/" + base::HexEncode( HexEncode 819 chrome/browser/safe_browsing/safe_browsing_database.cc << " mask:" << base::HexEncode(mask.data(), mask.size()) HexEncode 820 chrome/browser/safe_browsing/safe_browsing_database.cc << " subnet:" << base::HexEncode(subnet.data(), subnet.size()) HexEncode 821 chrome/browser/safe_browsing/safe_browsing_database.cc << " hash:" << base::HexEncode(hash.data(), hash.size()); HexEncode 1675 chrome/browser/safe_browsing/safe_browsing_database.cc << " raw:" << base::HexEncode(full_hash, crypto::kSHA256Length) HexEncode 1676 chrome/browser/safe_browsing/safe_browsing_database.cc << " mask:" << base::HexEncode(mask.data(), mask.size()) HexEncode 1678 chrome/browser/safe_browsing/safe_browsing_database.cc << " hashed_ip:" << base::HexEncode(hashed_ip_prefix.data(), HexEncode 49 chrome/browser/ui/metro_pin_tab_helper_win.cc std::string hash_str = base::HexEncode(hash, sizeof(hash)); HexEncode 276 chrome/common/net/x509_certificate_model_nss.cc pkcs11_id = base::HexEncode(sec_item->data, sec_item->len); HexEncode 28 chrome/common/pepper_permission_util.cc return base::HexEncode(id_hash.c_str(), id_hash.length()); HexEncode 113 chrome/common/service_process_util.cc std::string hex_hash = base::HexEncode(hash.c_str(), hash.length()); HexEncode 563 chrome/installer/mini_installer/mini_installer.cc if (!HexEncode(&id, sizeof(id), work_dir->get() + end, HexEncode 63 chrome/installer/util/auto_launch_util.cc std::string hash_string = base::HexEncode(hash, sizeof(hash)); HexEncode 31 chrome/installer/util/self_cleaning_temp_dir_unittest.cc std::string result(base::HexEncode(&data[0], arraysize(data))); HexEncode 1233 chrome/renderer/extensions/dispatcher.cc std::string hexencoded_id_hash = base::HexEncode(id_hash.c_str(), HexEncode 39 chrome/renderer/pepper/pepper_uma_host.cc return base::HexEncode(id_hash.c_str(), id_hash.length()); HexEncode 460 chrome/test/chromedriver/chrome_launcher.cc std::string output = StringToLowerASCII(base::HexEncode(hash, sizeof(hash))); HexEncode 139 chromeos/cert_loader.cc pkcs11_id = base::HexEncode(sec_item->data, sec_item->len); HexEncode 97 chromeos/cryptohome/system_salt_getter.cc return StringToLowerASCII(base::HexEncode( HexEncode 127 chromeos/network/network_state_unittest.cc base::HexEncode(wifi_latin1.c_str(), wifi_latin1.length()); HexEncode 140 chromeos/network/network_state_unittest.cc base::HexEncode(wifi_hex_result.c_str(), wifi_hex_result.length()); HexEncode 62 chromeos/network/shill_property_util.cc std::string hex_ssid = base::HexEncode(ssid.c_str(), ssid.size()); HexEncode 30 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::HexEncode(sha1_val.data(), sha1_val.size()).c_str()); HexEncode 304 components/autofill/content/browser/wallet/full_wallet.cc std::string hex_decrypted = base::HexEncode(&(results[0]), results.size()); HexEncode 347 components/autofill/content/browser/wallet/wallet_client.cc base::HexEncode(&num_bits, 1).c_str(), HexEncode 348 components/autofill/content/browser/wallet/wallet_client.cc base::HexEncode(&(one_time_pad_[0]), one_time_pad_.size()).c_str()); HexEncode 74 components/nacl/loader/nonsfi/elf_loader.cc << base::HexEncode(&ehdr.e_machine, sizeof(ehdr.e_machine)); HexEncode 80 components/nacl/loader/nonsfi/elf_loader.cc << base::HexEncode(&ehdr.e_version, sizeof(ehdr.e_version)); HexEncode 71 components/signin/core/browser/signin_internals_util.cc return StringToLowerASCII(base::HexEncode(&hash_val[0], kTruncateSize)); HexEncode 262 content/browser/download/base_file_unittest.cc base::HexEncode(expected_hash.data(), expected_hash.size()); HexEncode 273 content/browser/download/base_file_unittest.cc EXPECT_EQ(expected_hash_hex, base::HexEncode(hash.data(), hash.size())); HexEncode 324 content/browser/download/base_file_unittest.cc base::HexEncode(expected_hash.data(), expected_hash.size()); HexEncode 336 content/browser/download/base_file_unittest.cc EXPECT_EQ(expected_hash_hex, base::HexEncode(hash.data(), hash.size())); HexEncode 348 content/browser/download/base_file_unittest.cc base::HexEncode(expected_hash.data(), expected_hash.size()); HexEncode 363 content/browser/download/base_file_unittest.cc EXPECT_EQ(expected_hash_hex, base::HexEncode(hash.data(), hash.size())); HexEncode 376 content/browser/download/base_file_unittest.cc base::HexEncode(expected_hash.data(), expected_hash.size()); HexEncode 414 content/browser/download/base_file_unittest.cc base::HexEncode(hash.data(), hash.size()).c_str()); HexEncode 410 content/browser/download/download_file_unittest.cc EXPECT_EQ(kDataHash, base::HexEncode(hash.data(), hash.size())); HexEncode 96 content/browser/download/download_net_log_parameters.cc base::HexEncode(hash_state->data(), hash_state->size())); HexEncode 112 content/browser/download/download_net_log_parameters.cc base::HexEncode(hash_state->data(), hash_state->size())); HexEncode 124 content/browser/download/download_net_log_parameters.cc base::HexEncode(final_hash->data(), final_hash->size())); HexEncode 145 content/browser/download/download_net_log_parameters.cc base::HexEncode(hash_state->data(), hash_state->size())); HexEncode 573 content/browser/speech/google_streaming_remote_engine.cc return base::HexEncode(reinterpret_cast<void*>(&key), sizeof(key)); HexEncode 335 content/browser/storage_partition_impl_map.cc return path.AppendASCII(base::HexEncode(buffer, sizeof(buffer))); HexEncode 163 content/child/webcrypto/shared_crypto_unittest.cc if (base::HexEncode(webcrypto::Uint8VectorStart(expected), expected.size()) == HexEncode 164 content/child/webcrypto/shared_crypto_unittest.cc base::HexEncode(actual.data(), actual.byteLength())) HexEncode 173 content/child/webcrypto/shared_crypto_unittest.cc base::HexEncode(actual.bytes(), actual.byte_length()).c_str()); HexEncode 184 content/child/webcrypto/shared_crypto_unittest.cc base::HexEncode(webcrypto::Uint8VectorStart(expected), expected.size()), HexEncode 185 content/child/webcrypto/shared_crypto_unittest.cc base::HexEncode(webcrypto::Uint8VectorStart(actual), actual.size())); HexEncode 624 content/child/webcrypto/shared_crypto_unittest.cc if (!LowerCaseEqualsASCII(base::HexEncode(k_value.data(), k_value.size()), HexEncode 653 content/child/webcrypto/shared_crypto_unittest.cc if (base::HexEncode(n_value.data(), n_value.size()) != n_expected_hex) { HexEncode 665 content/child/webcrypto/shared_crypto_unittest.cc if (!LowerCaseEqualsASCII(base::HexEncode(e_value.data(), e_value.size()), HexEncode 25 content/public/browser/media_device_id.cc return StringToLowerASCII(base::HexEncode(&digest[0], digest.size())); HexEncode 451 crypto/encryptor_unittest.cc EXPECT_EQ(expected_ciphertext_hex, base::HexEncode(ciphertext.data(), HexEncode 477 crypto/encryptor_unittest.cc EXPECT_EQ(expected_ciphertext_hex, base::HexEncode(ciphertext.data(), HexEncode 530 crypto/encryptor_unittest.cc EXPECT_EQ(expected_ciphertext_hex, base::HexEncode(ciphertext.data(), HexEncode 103 crypto/symmetric_key_unittest.cc StringToLowerASCII(base::HexEncode(raw_key.data(), HexEncode 212 extensions/common/features/simple_feature.cc return base::HexEncode(id_hash.c_str(), id_hash.length()); HexEncode 42 extensions/common/id_util.cc std::string output = StringToLowerASCII(base::HexEncode(hash, sizeof(hash))); HexEncode 22 gpu/command_buffer/service/logger.cc base::HexEncode(&this_temp, sizeof(this_temp)); HexEncode 140 media/formats/mp2t/es_parser_adts.cc << base::HexEncode(&raw_es[es_position], kADTSHeaderMinSize); HexEncode 435 net/android/keystore_unittest.cc << base::HexEncode(signature.data(), signature.size()); HexEncode 437 net/android/keystore_unittest.cc << base::HexEncode(openssl_signature.data(), HexEncode 29 net/base/net_log.cc dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count)); HexEncode 2838 net/base/net_util_unittest.cc original_url.append(base::HexEncode(&test_char, 1)); HexEncode 2881 net/base/net_util_unittest.cc original_url.append(base::HexEncode(&test_char, 1)); HexEncode 36 net/cert/cert_verify_proc_unittest.cc using base::HexEncode; HexEncode 691 net/cert/cert_verify_proc_unittest.cc EXPECT_EQ(HexEncode(kSatvedaSPKIs[i], base::kSHA1Length), HexEncode 692 net/cert/cert_verify_proc_unittest.cc HexEncode(sha1_hashes[i].data(), base::kSHA1Length)); HexEncode 704 net/cert/cert_verify_proc_unittest.cc EXPECT_EQ(HexEncode(kSatvedaSPKIsSHA256[i], crypto::kSHA256Length), HexEncode 705 net/cert/cert_verify_proc_unittest.cc HexEncode(sha256_hashes[i].data(), crypto::kSHA256Length)); HexEncode 30 net/cert/x509_certificate_unittest.cc using base::HexEncode; HexEncode 23 net/quic/crypto/cert_compressor_test.cc EXPECT_EQ("00", base::HexEncode(compressed.data(), compressed.size())); HexEncode 37 net/quic/crypto/cert_compressor_test.cc EXPECT_EQ("0100", base::HexEncode(compressed.substr(0, 2).data(), 2)); HexEncode 61 net/quic/crypto/cert_compressor_test.cc base::HexEncode(compressed.data(), compressed.size())); HexEncode 79 net/quic/crypto/cert_compressor_test.cc base::HexEncode(hash_bytes.data(), hash_bytes.size()) + HexEncode 81 net/quic/crypto/cert_compressor_test.cc base::HexEncode(compressed.data(), compressed.size())); HexEncode 97 net/quic/crypto/cert_compressor_test.cc base::HexEncode(bad_entry.data(), bad_entry.size()), HexEncode 103 net/quic/crypto/cert_compressor_test.cc base::HexEncode(no_terminator.data(), no_terminator.size()), HexEncode 109 net/quic/crypto/cert_compressor_test.cc base::HexEncode(hash_truncated.data(), hash_truncated.size()), HexEncode 115 net/quic/crypto/cert_compressor_test.cc base::HexEncode(hash_and_index_truncated.data(), HexEncode 123 net/quic/crypto/cert_compressor_test.cc base::HexEncode(without_a_common_cert_set.data(), HexEncode 134 net/quic/crypto/cert_compressor_test.cc base::HexEncode(incorrect_hash_and_index.data(), HexEncode 306 net/quic/crypto/crypto_handshake_message.cc ret += "0x" + base::HexEncode(it->second.data(), it->second.size()); HexEncode 65 net/quic/crypto/crypto_server_test.cc nonce_hex_ = "#" + base::HexEncode(nonce_str.data(), nonce_str.size()); HexEncode 66 net/quic/crypto/crypto_server_test.cc pub_hex_ = "#" + base::HexEncode(public_value, sizeof(public_value)); HexEncode 84 net/quic/crypto/crypto_server_test.cc srct_hex_ = "#" + base::HexEncode(srct.data(), srct.size()); HexEncode 92 net/quic/crypto/crypto_server_test.cc scid_hex_ = "#" + base::HexEncode(scid.data(), scid.size()); HexEncode 333 net/quic/crypto/quic_crypto_server_config.cc << base::HexEncode(config->id.data(), config->id.size()); HexEncode 392 net/quic/crypto/quic_crypto_server_config.cc << "Keeping scid: " << base::HexEncode( HexEncode 394 net/quic/crypto/quic_crypto_server_config.cc << " orbit: " << base::HexEncode( HexEncode 405 net/quic/crypto/quic_crypto_server_config.cc VLOG(1) << "Adding scid: " << base::HexEncode( HexEncode 407 net/quic/crypto/quic_crypto_server_config.cc << " orbit: " << base::HexEncode( HexEncode 805 net/quic/crypto/quic_crypto_server_config.cc << base::HexEncode( HexEncode 824 net/quic/crypto/quic_crypto_server_config.cc << base::HexEncode( HexEncode 74 net/tools/crl_set_dump/crl_set_dump.cc printf("%s\n", base::HexEncode(i->first.data(), i->first.size()).c_str()); HexEncode 77 net/tools/crl_set_dump/crl_set_dump.cc printf(" %s\n", base::HexEncode(j->data(), j->size()).c_str()); HexEncode 23 net/udp/udp_net_log_parameters.cc dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count)); HexEncode 58 printing/image.cc return base::HexEncode(&digest, sizeof(digest)); HexEncode 53 remoting/host/setup/daemon_controller_delegate_linux.cc return StringToLowerASCII(base::HexEncode(digest.a, sizeof(digest.a))); HexEncode 41 sql/recovery_unittest.cc ret += base::HexEncode(s.ColumnBlob(i), s.ColumnByteLength(i)); HexEncode 23 sync/internal_api/public/base/ack_handle.cc return AckHandle(base::HexEncode(random_bytes, sizeof(random_bytes)), HexEncode 197 sync/internal_api/public/base/unique_position.cc std::string debug_string = base::HexEncode(bytes.data(), bytes.length()); HexEncode 203 sync/internal_api/public/base/unique_position.cc base::HexEncode(compressed_.data(), compressed_.length()); HexEncode 387 sync/notifier/gcm_network_channel.cc base::HexEncode(reg_id_hash.c_str(), reg_id_hash.size())); HexEncode 2883 sync/syncable/directory_backing_store_unittest.cc EXPECT_EQ("C2881000", base::HexEncode(model_id.data(), model_id.size())) HexEncode 463 webkit/browser/fileapi/isolated_context.cc id = base::HexEncode(random_data, sizeof(random_data));