Searched refs:msg_ (Results 1 – 3 of 3) sorted by relevance
/system/core/adb/tls/tests/ |
D | tls_connection_test.cpp | 256 const std::vector<uint8_t> msg_{0xff, 0xab, 0x32, 0xf6, 0x12, 0x56}; member in adb::tls::AdbWifiTlsConnectionTest 303 std::string_view(reinterpret_cast<const char*>(msg_.data()), msg_.size()))); in TEST_F() 305 std::vector<uint8_t> buf(msg_.size()); in TEST_F() 306 ASSERT_TRUE(client_->ReadFully(buf.data(), msg_.size())); in TEST_F() 307 EXPECT_EQ(buf, msg_); in TEST_F() 310 auto data = server_->ReadFully(msg_.size()); in TEST_F() 311 EXPECT_EQ(data, msg_); in TEST_F() 313 std::string_view(reinterpret_cast<const char*>(msg_.data()), msg_.size()))); in TEST_F() 329 std::string_view(reinterpret_cast<const char*>(msg_.data()), msg_.size()))); in TEST_F() 330 auto data = client_->ReadFully(msg_.size()); in TEST_F() [all …]
|
/system/core/logd/ |
D | LogBufferElement.cpp | 43 msg_ = new char[len]; in LogBufferElement() 44 memcpy(msg_, msg, len); in LogBufferElement() 59 msg_ = new char[msg_len_]; in LogBufferElement() 60 memcpy(msg_, elem.msg_, msg_len_); in LogBufferElement() 76 msg_ = elem.msg_; in LogBufferElement() 77 elem.msg_ = nullptr; in LogBufferElement() 83 delete[] msg_; in ~LogBufferElement() 129 delete[] msg_; in SetDropped() 130 msg_ = nullptr; in SetDropped() 288 msg = msg_; in FlushTo()
|
D | LogBufferElement.h | 55 const char* msg() const { return dropped_ ? nullptr : msg_; } in msg() 71 char* msg_; // mDropped == false member
|