Home
last modified time | relevance | path

Searched refs:GetBytesAsString (Results 1 – 6 of 6) sorted by relevance

/external/libbrillo/brillo/strings/
Dstring_utils_test.cc139 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()
Dstring_utils.cc80 std::string GetBytesAsString(const std::vector<uint8_t>& buffer) { in GetBytesAsString() function
Dstring_utils.h123 BRILLO_EXPORT std::string GetBytesAsString(const std::vector<uint8_t>& buf);
/external/perfetto/src/protozero/test/
Dfake_scattered_buffer.h41 std::string GetBytesAsString(size_t start, size_t length);
Dfake_scattered_buffer.cc67 std::string FakeScatteredBuffer::GetBytesAsString(size_t start, size_t length) { in GetBytesAsString() function in protozero::FakeScatteredBuffer
/external/perfetto/src/protozero/
Dmessage_unittest.cc105 return buffer_->GetBytesAsString(old_readback_pos, num_bytes); in GetNextSerializedBytes()