Home
last modified time | relevance | path

Searched refs:HexEncode (Results 1 – 18 of 18) sorted by relevance

/external/openscreen/util/
Dstringprintf_unittest.cc21 TEST(HexEncode, ProducesEmptyStringFromEmptyByteArray) { in TEST() argument
23 EXPECT_EQ("", HexEncode(absl::Span<const uint8_t>(&kSomeMemoryLocation, 0))); in TEST()
26 TEST(HexEncode, ProducesHexStringsFromBytes) { in TEST() argument
29 EXPECT_EQ(kMessageInHex, HexEncode(kMessage)); in TEST()
Dstringprintf.cc35 std::string HexEncode(absl::Span<const uint8_t> bytes) { in HexEncode() function
Dstringprintf.h63 std::string HexEncode(absl::Span<const uint8_t> bytes);
/external/libchrome/base/strings/
Dstring_number_conversions_fuzzer.cc52 base::HexEncode(data, size); in LLVMFuzzerTestOneInput()
Dstring_number_conversions.h133 BASE_EXPORT std::string HexEncode(const void* bytes, size_t size);
Dstring_number_conversions_unittest.cc836 TEST(StringNumberConversionsTest, HexEncode) { in TEST() argument
837 std::string hex(HexEncode(nullptr, 0)); in TEST()
840 hex = HexEncode(bytes, sizeof(bytes)); in TEST()
Dstring_number_conversions.cc461 std::string HexEncode(const void* bytes, size_t size) { in HexEncode() function
/external/libchrome/base/
Dvalue_conversions.cc72 HexEncode(representation.buffer, sizeof(representation.buffer))); in CreateUnguessableTokenValue()
/external/openscreen/cast/streaming/
Dreceiver_packet_router.cc78 << HexEncode(absl::Span<const uint8_t>(packet).subspan( in OnReceivedPacket()
Doffer_messages.cc307 root["aesKey"] = HexEncode(aes_key); in ToJson()
308 root["aesIvMask"] = HexEncode(aes_iv_mask); in ToJson()
Dsender_packet_router.cc107 << HexEncode(absl::Span<const uint8_t>(packet).subspan( in OnReceivedPacket()
/external/openscreen/cast/standalone_receiver/
Dcast_service.cc83 info.unique_id = HexEncode(interface.hardware_address); in CastService()
/external/libchrome/crypto/
Dsymmetric_key_unittest.cc78 base::ToLowerASCII(base::HexEncode(raw_key.data(), in TEST_P()
Dp224_spake_unittest.cc21 return base::HexEncode(binary_data.c_str(), binary_data.size()); in HexEncodeString()
/external/libbrillo/brillo/
Dcryptohome.cc85 std::string final = base::HexEncode(binmd, sizeof(binmd)); in SanitizeUserName()
Dfile_utils_test.cc34 return base::HexEncode(buffer, base::size(buffer)); in GetRandomSuffix()
/external/libchrome/libchrome_tools/patch/
Ddmg_fp.patch160 TEST(StringNumberConversionsTest, HexEncode) {
/external/libbrillo/brillo/files/
Dfile_util_test.cc47 return base::HexEncode(buffer, base::size(buffer)); in GetRandomSuffix()