Home
last modified time | relevance | path

Searched refs:UserMessageEvent (Results 1 – 22 of 22) sorted by relevance

/external/libchrome/mojo/core/ports/
Devent.cc96 return UserMessageEvent::Deserialize(port_name, header + 1, data_size); in Deserialize()
134 UserMessageEvent::~UserMessageEvent() = default;
136 UserMessageEvent::UserMessageEvent(size_t num_ports) in UserMessageEvent() function in mojo::core::ports::UserMessageEvent
141 void UserMessageEvent::AttachMessage(std::unique_ptr<UserMessage> message) { in AttachMessage()
146 void UserMessageEvent::ReservePorts(size_t num_ports) { in ReservePorts()
151 bool UserMessageEvent::NotifyWillBeRoutedExternally() { in NotifyWillBeRoutedExternally()
157 ScopedEvent UserMessageEvent::Deserialize(const PortName& port_name, in Deserialize()
175 base::WrapUnique(new UserMessageEvent(port_name, data->sequence_num)); in Deserialize()
188 UserMessageEvent::UserMessageEvent(const PortName& port_name, in UserMessageEvent() function in mojo::core::ports::UserMessageEvent
192 size_t UserMessageEvent::GetSizeIfSerialized() const { in GetSizeIfSerialized()
[all …]
Dmessage_queue.cc17 inline bool operator<(const std::unique_ptr<UserMessageEvent>& a, in operator <()
18 const std::unique_ptr<UserMessageEvent>& b) { in operator <()
44 void MessageQueue::GetNextMessage(std::unique_ptr<UserMessageEvent>* message, in GetNextMessage()
59 void MessageQueue::AcceptMessage(std::unique_ptr<UserMessageEvent> message, in AcceptMessage()
75 std::vector<std::unique_ptr<UserMessageEvent>>* messages) { in TakeAllMessages()
Dmessage_queue.h45 void GetNextMessage(std::unique_ptr<UserMessageEvent>* message, in COMPONENT_EXPORT()
57 void AcceptMessage(std::unique_ptr<UserMessageEvent> message, in COMPONENT_EXPORT()
63 std::vector<std::unique_ptr<UserMessageEvent>>* messages); in COMPONENT_EXPORT()
74 std::vector<std::unique_ptr<UserMessageEvent>> heap_; in COMPONENT_EXPORT()
Dnode.h133 std::unique_ptr<UserMessageEvent>* message, in COMPONENT_EXPORT()
140 std::unique_ptr<UserMessageEvent> message); in COMPONENT_EXPORT()
196 int OnUserMessage(std::unique_ptr<UserMessageEvent> message); in COMPONENT_EXPORT()
207 std::unique_ptr<UserMessageEvent>* message); in COMPONENT_EXPORT()
221 UserMessageEvent* message, in COMPONENT_EXPORT()
Dmessage_filter.h12 class UserMessageEvent; variable
22 virtual bool Match(const UserMessageEvent& message) = 0;
Devent.h106 class COMPONENT_EXPORT(MOJO_CORE_PORTS) UserMessageEvent : public Event { in COMPONENT_EXPORT()
108 explicit UserMessageEvent(size_t num_ports); in COMPONENT_EXPORT()
109 ~UserMessageEvent() override; in COMPONENT_EXPORT()
145 UserMessageEvent(const PortName& port_name, uint64_t sequence_num); in COMPONENT_EXPORT()
155 DISALLOW_COPY_AND_ASSIGN(UserMessageEvent); in COMPONENT_EXPORT()
Dnode.cc245 std::vector<std::unique_ptr<UserMessageEvent>> undelivered_messages; in ClosePort()
315 std::unique_ptr<UserMessageEvent>* message, in GetMessage()
361 std::unique_ptr<UserMessageEvent> message) { in SendUserMessage()
382 return OnUserMessage(Event::Cast<UserMessageEvent>(&event)); in AcceptEvent()
449 int Node::OnUserMessage(std::unique_ptr<UserMessageEvent> message) { in OnUserMessage()
810 std::vector<std::unique_ptr<UserMessageEvent>> messages; in ErasePort()
820 std::unique_ptr<UserMessageEvent>* message) { in SendUserMessageInternal()
821 std::unique_ptr<UserMessageEvent>& m = *message; in SendUserMessageInternal()
1036 UserMessageEvent* message, in PrepareToForwardUserMessage()
1213 std::unique_ptr<UserMessageEvent> message; in ForwardUserMessagesFromProxy()
[all …]
Dports_unittest.cc39 using ScopedMessage = std::unique_ptr<UserMessageEvent>;
59 auto event = std::make_unique<UserMessageEvent>(num_ports); in NewUserMessageEvent()
235 UserMessageEvent* message_event = static_cast<UserMessageEvent*>(event); in ClosePortsInEvent()
/external/libchrome/mojo/core/
Duser_message_impl.h52 static std::unique_ptr<ports::UserMessageEvent> CreateEventForNewMessage();
64 std::unique_ptr<ports::UserMessageEvent>* out_event);
71 ports::UserMessageEvent* message_event,
81 std::unique_ptr<ports::UserMessageEvent> event);
157 UserMessageImpl(ports::UserMessageEvent* message_event);
163 UserMessageImpl(ports::UserMessageEvent* message_event,
175 ports::UserMessageEvent* const message_event_;
Duser_message_impl.cc77 ports::UserMessageEvent* event, in CreateOrExtendSerializedEventMessage()
340 std::unique_ptr<ports::UserMessageEvent>
342 auto message_event = std::make_unique<ports::UserMessageEvent>(0); in CreateEventForNewMessage()
353 std::unique_ptr<ports::UserMessageEvent>* out_event) { in CreateEventForNewSerializedMessage()
357 auto event = std::make_unique<ports::UserMessageEvent>(0); in CreateEventForNewSerializedMessage()
373 ports::UserMessageEvent* message_event, in CreateFromChannelMessage()
395 std::unique_ptr<ports::UserMessageEvent> message_event) { in FinalizeEventMessage()
649 UserMessageImpl::UserMessageImpl(ports::UserMessageEvent* message_event) in UserMessageImpl()
655 UserMessageImpl::UserMessageImpl(ports::UserMessageEvent* message_event, in UserMessageImpl()
Ddispatcher.h36 class UserMessageEvent; variable
89 std::unique_ptr<ports::UserMessageEvent> message);
92 std::unique_ptr<ports::UserMessageEvent>* message);
Dmessage_pipe_dispatcher.h52 std::unique_ptr<ports::UserMessageEvent> message) override;
54 std::unique_ptr<ports::UserMessageEvent>* message) override;
Dmessage_pipe_dispatcher.cc69 bool Match(const ports::UserMessageEvent& message_event) override { in Match()
139 std::unique_ptr<ports::UserMessageEvent> message) { in WriteMessage()
165 std::unique_ptr<ports::UserMessageEvent>* message) { in ReadMessage()
408 std::unique_ptr<ports::UserMessageEvent> unused; in OnPortStatusChanged()
Ddispatcher.cc43 std::unique_ptr<ports::UserMessageEvent> message) { in WriteMessage()
48 std::unique_ptr<ports::UserMessageEvent>* message) { in ReadMessage()
Dcore_test_base.cc44 std::unique_ptr<ports::UserMessageEvent> message_event) override { in WriteMessage()
50 std::unique_ptr<ports::UserMessageEvent>* message_event) override { in ReadMessage()
Ddata_pipe_control_message.cc18 std::unique_ptr<ports::UserMessageEvent> event; in SendDataPipeControlMessage()
Dcore.cc395 delete reinterpret_cast<ports::UserMessageEvent*>(message_handle); in DestroyMessage()
406 return reinterpret_cast<ports::UserMessageEvent*>(message_handle) in SerializeMessage()
424 auto* message = reinterpret_cast<ports::UserMessageEvent*>(message_handle) in AppendMessageData()
456 auto* message = reinterpret_cast<ports::UserMessageEvent*>(message_handle) in GetMessageData()
504 auto* message = reinterpret_cast<ports::UserMessageEvent*>(message_handle) in SetMessageContext()
517 auto* message = reinterpret_cast<ports::UserMessageEvent*>(message_handle) in GetMessageContext()
565 reinterpret_cast<ports::UserMessageEvent*>(message_handle)); in WriteMessage()
583 std::unique_ptr<ports::UserMessageEvent> message_event; in ReadMessage()
640 reinterpret_cast<ports::UserMessageEvent*>(message_handle); in NotifyBadMessage()
Dnode_controller.cc70 ports::Event::Cast<ports::UserMessageEvent>(&event)); in SerializeEventMessage()
100 auto message_event = ports::Event::Cast<ports::UserMessageEvent>(&event); in DeserializeEventMessage()
256 std::unique_ptr<ports::UserMessageEvent> message) { in SendUserMessage()
Dnode_controller.h106 std::unique_ptr<ports::UserMessageEvent> message);
Ddata_pipe_producer_dispatcher.cc492 std::unique_ptr<ports::UserMessageEvent> message_event; in UpdateSignalsStateNoLock()
Ddata_pipe_consumer_dispatcher.cc545 std::unique_ptr<ports::UserMessageEvent> message_event; in UpdateSignalsStateNoLock()
/external/libchrome/libchrome_tools/patch/
Dmojom_disable_trace_and_mem_dump.patch124 UserMessageImpl::UserMessageImpl(ports::UserMessageEvent* message_event)
131 @@ -667,7 +667,7 @@ UserMessageImpl::UserMessageImpl(ports::UserMessageEvent* message_event,