Home
last modified time | relevance | path

Searched refs:MessageForTransit (Results 1 – 9 of 9) sorted by relevance

/external/libmojo/mojo/edk/system/
Dmessage_for_transit.h26 class MOJO_SYSTEM_IMPL_EXPORT MessageForTransit {
55 ~MessageForTransit();
59 std::unique_ptr<MessageForTransit>* message,
65 static std::unique_ptr<MessageForTransit> WrapPortsMessage( in WrapPortsMessage()
67 return base::WrapUnique(new MessageForTransit(std::move(message))); in WrapPortsMessage()
99 explicit MessageForTransit(std::unique_ptr<PortsMessage> message);
101 const MessageForTransit::MessageHeader* header() const { in header()
103 return static_cast<const MessageForTransit::MessageHeader*>( in header()
109 DISALLOW_COPY_AND_ASSIGN(MessageForTransit);
Dmessage_for_transit.cc16 static_assert(sizeof(MessageForTransit::MessageHeader) % 8 == 0,
18 static_assert(sizeof(MessageForTransit::DispatcherHeader) % 8 == 0,
23 MessageForTransit::~MessageForTransit() {} in ~MessageForTransit()
26 MojoResult MessageForTransit::Create( in Create()
27 std::unique_ptr<MessageForTransit>* message, in Create()
127 message->reset(new MessageForTransit(std::move(msg))); in Create()
131 MessageForTransit::MessageForTransit(std::unique_ptr<PortsMessage> message) in MessageForTransit() function in mojo::edk::MessageForTransit
Ddispatcher.h34 class MessageForTransit; variable
80 virtual MojoResult WriteMessage(std::unique_ptr<MessageForTransit> message,
83 virtual MojoResult ReadMessage(std::unique_ptr<MessageForTransit>* message,
Dmessage_pipe_dispatcher.h56 MojoResult WriteMessage(std::unique_ptr<MessageForTransit> message,
58 MojoResult ReadMessage(std::unique_ptr<MessageForTransit>* message,
Dcore.cc446 std::unique_ptr<MessageForTransit> msg; in AllocMessage()
447 MojoResult rv = MessageForTransit::Create(&msg, num_bytes, nullptr, 0); in AllocMessage()
472 std::unique_ptr<MessageForTransit> msg; in AllocMessage()
473 MojoResult rv = MessageForTransit::Create( in AllocMessage()
493 delete reinterpret_cast<MessageForTransit*>(message); in FreeMessage()
502 *buffer = reinterpret_cast<MessageForTransit*>(message)->mutable_bytes(); in GetMessageBuffer()
656 std::unique_ptr<MessageForTransit> message_for_transit( in WriteMessageNew()
657 reinterpret_cast<MessageForTransit*>(message)); in WriteMessageNew()
677 std::unique_ptr<MessageForTransit> message; in ReadMessage()
702 std::unique_ptr<MessageForTransit> msg; in ReadMessageNew()
[all …]
Dmessage_pipe_dispatcher.cc25 using DispatcherHeader = MessageForTransit::DispatcherHeader;
26 using MessageHeader = MessageForTransit::MessageHeader;
136 std::unique_ptr<MessageForTransit> message, in WriteMessage()
167 std::unique_ptr<MessageForTransit>* message, in ReadMessage()
336 *message = MessageForTransit::WrapPortsMessage(std::move(msg)); in ReadMessage()
Ddispatcher.cc35 MojoResult Dispatcher::WriteMessage(std::unique_ptr<MessageForTransit> message, in WriteMessage()
40 MojoResult Dispatcher::ReadMessage(std::unique_ptr<MessageForTransit>* message, in ReadMessage()
Dcore_test_base.cc45 std::unique_ptr<MessageForTransit> message, in WriteMessage()
58 MojoResult ReadMessage(std::unique_ptr<MessageForTransit>* message, in ReadMessage()
Dwait_set_dispatcher_unittest.cc90 std::unique_ptr<MessageForTransit> message( in WriteMessage()
91 reinterpret_cast<MessageForTransit*>(msg)); in WriteMessage()
100 std::unique_ptr<MessageForTransit> message; in ReadMessage()