Home
last modified time | relevance | path

Searched refs:last_msg_ (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/trace_processor/rpc/
Dproto_ring_buffer_unittest.cc70 const uint8_t* initial_ptr = last_msg_.data(); in MakeProtoMessage()
72 last_msg_.clear(); in MakeProtoMessage()
73 size_t initial_size = last_msg_.size(); in MakeProtoMessage()
76 last_msg_.resize(initial_size + len + 20); in MakeProtoMessage()
77 uint8_t* wptr = &last_msg_[initial_size]; in MakeProtoMessage()
87 PERFETTO_CHECK(wptr <= &last_msg_.back()); in MakeProtoMessage()
88 last_msg_.resize(static_cast<size_t>(wptr - &last_msg_[0])); in MakeProtoMessage()
93 PERFETTO_CHECK(last_msg_.data() == initial_ptr); in MakeProtoMessage()
97 std::vector<uint8_t> last_msg_; member in perfetto::trace_processor::__anon2f6d71e70111::ProtoRingBufferTest
107 buf.Append(last_msg_.data(), last_msg_.size()); in TEST_F()
[all …]
/external/libchrome/ipc/
Dipc_fuzzing_tests.cc226 FuzzerClientListener() : last_msg_(NULL) { in FuzzerClientListener()
230 last_msg_ = new IPC::Message(msg); in OnMessageReceived()
240 base::PickleIterator iter(*last_msg_); in ExpectMessage()
250 delete last_msg_; in ExpectMessage()
251 last_msg_ = NULL; in ExpectMessage()
262 if (NULL == last_msg_) in MsgHandlerInternal()
264 if (FUZZER_ROUTING_ID != last_msg_->routing_id()) in MsgHandlerInternal()
266 return (type_id == last_msg_->type()); in MsgHandlerInternal()
269 IPC::Message* last_msg_; member in __anona8bd88350111::FuzzerClientListener