HexStringToBytes 123 base/strings/string_number_conversions.h BASE_EXPORT bool HexStringToBytes(const std::string& input, HexStringToBytes 640 base/strings/string_number_conversions_unittest.cc TEST(StringNumberConversionsTest, HexStringToBytes) { HexStringToBytes 670 base/strings/string_number_conversions_unittest.cc EXPECT_EQ(cases[i].success, HexStringToBytes(cases[i].input, &output)) << HexStringToBytes 393 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::HexStringToBytes(hex_hash, &hash)) { HexStringToBytes 158 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc if (!base::HexStringToBytes(hash_string, &hash) || HexStringToBytes 101 chrome/browser/chromeos/settings/token_encryptor.cc if (!base::HexStringToBytes(encrypted_token_hex, &encrypted_token_bytes)) { HexStringToBytes 208 chrome/browser/component_updater/component_patcher_operation.cc if (!base::HexStringToBytes(output_sha256_, &expected_hash) || HexStringToBytes 39 chrome/browser/prefs/pref_hash_calculator.cc return base::HexStringToBytes(digest_string, &digest) && HexStringToBytes 319 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc ASSERT_TRUE(base::HexStringToBytes(digest_hex, &digest_raw)); HexStringToBytes 155 chrome/browser/renderer_host/pepper/device_id_fetcher.cc if (!base::HexStringToBytes(salt, &salt_bytes)) HexStringToBytes 80 chromeos/network/shill_property_util.cc if (base::HexStringToBytes(hex_ssid, &raw_ssid_bytes)) { HexStringToBytes 288 components/autofill/content/browser/wallet/full_wallet.cc if (!base::HexStringToBytes(encrypted_rest_, &operating_data)) { HexStringToBytes 460 components/autofill/content/browser/wallet/full_wallet_unittest.cc EXPECT_TRUE(base::HexStringToBytes("5F04A8704183", &one_time_pad)); HexStringToBytes 479 components/autofill/content/browser/wallet/full_wallet_unittest.cc EXPECT_TRUE(base::HexStringToBytes("063AD35324BF", &one_time_pad)); HexStringToBytes 511 components/autofill/content/browser/wallet/full_wallet_unittest.cc EXPECT_TRUE(base::HexStringToBytes("075DA779F98B", &one_time_pad)); HexStringToBytes 118 components/autofill/content/browser/wallet/wallet_test_util.cc base::HexStringToBytes("5F04A8704183", &one_time_pad); HexStringToBytes 132 components/autofill/content/browser/wallet/wallet_test_util.cc base::HexStringToBytes("5F04A8704183", &one_time_pad); HexStringToBytes 23 components/rappor/byte_vector_utils_unittest.cc base::HexStringToBytes(hex, &bv); HexStringToBytes 275 content/browser/geolocation/wifi_data_provider_linux.cc if (!base::HexStringToBytes(mac, &mac_bytes) || mac_bytes.size() != 6) { HexStringToBytes 156 content/child/webcrypto/shared_crypto_unittest.cc base::HexStringToBytes(hex, &bytes); HexStringToBytes 267 content/child/webcrypto/shared_crypto_unittest.cc return HexStringToBytes(hex_string); HexStringToBytes 840 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(key_hex), HexStringToBytes 1428 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(kPublicKeySpkiDerHex)), HexStringToBytes 1652 content/child/webcrypto/shared_crypto_unittest.cc const std::vector<uint8> message_raw = HexStringToBytes( HexStringToBytes 1771 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(test.key_hex), test.algorithm, test.usage); HexStringToBytes 1799 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(kPublicKeySpkiDerHex)), HexStringToBytes 1827 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes("618333c4cb")), HexStringToBytes 1836 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(kPublicKeySpkiDerHex)), HexStringToBytes 1856 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(kPublicKeySpkiDerHex)), HexStringToBytes 1872 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(kPrivateKeyPkcs8DerHex)), HexStringToBytes 1910 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes("618333c4cb")), HexStringToBytes 1919 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(kPrivateKeyPkcs8DerHex)), HexStringToBytes 1931 content/child/webcrypto/shared_crypto_unittest.cc const std::vector<uint8> public_exponent = HexStringToBytes("010001"); HexStringToBytes 2112 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(kPublicKeySpkiDerHex), HexStringToBytes 2113 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(kPrivateKeyPkcs8DerHex), HexStringToBytes 2140 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(kTestDataHex[i])), HexStringToBytes 2214 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(kPublicKeySpkiDerHex), HexStringToBytes 2215 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(kPrivateKeyPkcs8DerHex), HexStringToBytes 2225 content/child/webcrypto/shared_crypto_unittest.cc const std::vector<uint8> message_hex(HexStringToBytes(message_hex_str)); HexStringToBytes 2288 content/child/webcrypto/shared_crypto_unittest.cc ImportRsaKeyPair(HexStringToBytes(kPublicKeySpkiDerHex), HexStringToBytes 2289 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(kPrivateKeyPkcs8DerHex), HexStringToBytes 2303 content/child/webcrypto/shared_crypto_unittest.cc const std::vector<uint8> data = HexStringToBytes("010203040506070809"); HexStringToBytes 2389 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(kPublicKeySpkiDerHex)), HexStringToBytes 2427 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(kPublicKeySpkiDerHex), HexStringToBytes 2428 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(kPrivateKeyPkcs8DerHex), HexStringToBytes 2474 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(key_raw_hex_in)), HexStringToBytes 2487 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(key_raw_hex_in)), HexStringToBytes 2500 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(key_raw_hex_in)), HexStringToBytes 2512 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes("")), HexStringToBytes 2522 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(key_raw_hex_in)), HexStringToBytes 2532 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(key_raw_hex_in)), HexStringToBytes 2543 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(key_raw_hex_in)), HexStringToBytes 2754 content/child/webcrypto/shared_crypto_unittest.cc const std::vector<uint8> key_data = HexStringToBytes( HexStringToBytes 2756 content/child/webcrypto/shared_crypto_unittest.cc const std::vector<uint8> wrapped_key_data = HexStringToBytes( HexStringToBytes 2762 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes("000102030405060708090A0B0C0D0E0F"); HexStringToBytes 3011 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(kPublicKeySpkiDerHex), HexStringToBytes 3012 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(kPrivateKeyPkcs8DerHex), HexStringToBytes 3101 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes("8f56a26e7e8b77dca15ed54339724bf5"); HexStringToBytes 3102 content/child/webcrypto/shared_crypto_unittest.cc const std::vector<uint8> wrapped_key_data = HexStringToBytes( HexStringToBytes 3114 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(kPrivateKeyPkcs8DerHex)), HexStringToBytes 3159 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(kPublicKeySpkiDerHex), HexStringToBytes 3160 content/child/webcrypto/shared_crypto_unittest.cc HexStringToBytes(kPrivateKeyPkcs8DerHex), HexStringToBytes 3211 content/child/webcrypto/shared_crypto_unittest.cc const std::vector<uint8> ciphertext = HexStringToBytes( HexStringToBytes 3224 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(kPrivateKeyPkcs8DerHex)), HexStringToBytes 3247 content/child/webcrypto/shared_crypto_unittest.cc CryptoData(HexStringToBytes(kPrivateKeyPkcs8DerHex)), HexStringToBytes 60 crypto/hkdf_unittest.cc ASSERT_TRUE(base::HexStringToBytes(test.key_hex, &data)); HexStringToBytes 67 crypto/hkdf_unittest.cc ASSERT_TRUE(base::HexStringToBytes(salt, &data)); HexStringToBytes 75 crypto/hkdf_unittest.cc ASSERT_TRUE(base::HexStringToBytes(info, &data)); HexStringToBytes 80 crypto/hkdf_unittest.cc ASSERT_TRUE(base::HexStringToBytes(test.output_hex, &data)); HexStringToBytes 53 device/bluetooth/bluetooth_device_win_unittest.cc base::HexStringToBytes(kTestAudioSdpBytes, &audio_state->sdp_bytes); HexStringToBytes 60 device/bluetooth/bluetooth_device_win_unittest.cc base::HexStringToBytes(kTestVideoSdpBytes, &video_state->sdp_bytes); HexStringToBytes 108 device/bluetooth/bluetooth_service_record_win.cc base::HexStringToBytes(numbers_only, &address_bytes); HexStringToBytes 36 device/bluetooth/bluetooth_service_record_win_unittest.cc base::HexStringToBytes(sdp_hex_char, &sdp_bytes_vector); HexStringToBytes 37 extensions/browser/image_util.cc if (!base::HexStringToBytes(formatted_color, &color_bytes)) HexStringToBytes 90 media/cast/test/end2end_unittest.cc if (!base::HexStringToBytes(base_16, &v)) { HexStringToBytes 1120 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(base::HexStringToBytes(addr_ascii, &bytes)) HexStringToBytes 544 net/quic/test_tools/quic_test_utils.cc if (!base::HexStringToBytes(hex.as_string(), &v)) HexStringToBytes 26 net/test/ct_test_util.cc if (base::HexStringToBytes(hex_data, &output)) HexStringToBytes 297 third_party/liblouis/nacl_wrapper/liblouis_instance.cc if (!HexStringToBytes(cells.asString(), &cells_vector)) { HexStringToBytes 49 ui/views/color_chooser/color_chooser_view.cc if (!base::HexStringToBytes(input, &hex))