Searched refs:GetBytesAsString (Results 1 – 6 of 6) sorted by relevance
/external/libbrillo/brillo/strings/ |
D | string_utils_test.cc | 139 TEST(StringUtils, GetBytesAsString) { in TEST() argument 140 EXPECT_EQ("abc", string_utils::GetBytesAsString({'a', 'b', 'c'})); in TEST() 141 EXPECT_TRUE(string_utils::GetBytesAsString({}).empty()); in TEST() 142 auto str = string_utils::GetBytesAsString({0xFF, 0x00, 0x01, 0x7F, 0x80}); in TEST()
|
D | string_utils.cc | 80 std::string GetBytesAsString(const std::vector<uint8_t>& buffer) { in GetBytesAsString() function
|
D | string_utils.h | 123 BRILLO_EXPORT std::string GetBytesAsString(const std::vector<uint8_t>& buf);
|
/external/perfetto/src/protozero/test/ |
D | fake_scattered_buffer.h | 41 std::string GetBytesAsString(size_t start, size_t length);
|
D | fake_scattered_buffer.cc | 67 std::string FakeScatteredBuffer::GetBytesAsString(size_t start, size_t length) { in GetBytesAsString() function in protozero::FakeScatteredBuffer
|
/external/perfetto/src/protozero/ |
D | message_unittest.cc | 105 return buffer_->GetBytesAsString(old_readback_pos, num_bytes); in GetNextSerializedBytes()
|