Home
last modified time | relevance | path

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

/external/libchrome/mojo/core/ports/
Devent.h24 using ScopedEvent = std::unique_ptr<Event>; variable
78 static ScopedEvent Deserialize(const void* buffer, size_t num_bytes); in COMPONENT_EXPORT()
81 static std::unique_ptr<T> Cast(ScopedEvent* event) { in COMPONENT_EXPORT()
91 virtual ScopedEvent Clone() const; in COMPONENT_EXPORT()
138 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
163 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
192 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
199 ScopedEvent Clone() const override; in COMPONENT_EXPORT()
216 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
223 ScopedEvent Clone() const override; in COMPONENT_EXPORT()
[all …]
Devent.cc87 ScopedEvent Event::Deserialize(const void* buffer, size_t num_bytes) { in Deserialize()
130 ScopedEvent Event::Clone() const { in Clone()
157 ScopedEvent UserMessageEvent::Deserialize(const PortName& port_name, in Deserialize()
229 ScopedEvent PortAcceptedEvent::Deserialize(const PortName& port_name, in Deserialize()
255 ScopedEvent ObserveProxyEvent::Deserialize(const PortName& port_name, in Deserialize()
279 ScopedEvent ObserveProxyEvent::Clone() const { in Clone()
293 ScopedEvent ObserveProxyAckEvent::Deserialize(const PortName& port_name, in Deserialize()
313 ScopedEvent ObserveProxyAckEvent::Clone() const { in Clone()
326 ScopedEvent ObserveClosureEvent::Deserialize(const PortName& port_name, in Deserialize()
346 ScopedEvent ObserveClosureEvent::Clone() const { in Clone()
[all …]
Dnode_delegate.h23 virtual void ForwardEvent(const NodeName& node, ScopedEvent event) = 0;
26 virtual void BroadcastEvent(ScopedEvent event) = 0;
Dport.h134 std::unique_ptr<std::pair<NodeName, ScopedEvent>> send_on_proxy_removal;
Dnode.cc379 int Node::AcceptEvent(ScopedEvent event) { in AcceptEvent()
588 ScopedEvent event_to_forward; in OnObserveProxy()
620 port->send_on_proxy_removal.reset(new std::pair<NodeName, ScopedEvent>( in OnObserveProxy()
912 ScopedEvent closure_event; in MergePortsInternal()
1180 ScopedEvent closure_event; in BeginProxying()
1256 ScopedEvent removal_event; in TryRemoveProxy()
Dports_unittest.cc76 ScopedEvent event) = 0;
77 virtual void BroadcastEvent(TestNode* from_node, ScopedEvent event) = 0;
181 void EnqueueEvent(ScopedEvent event) { in EnqueueEvent()
191 void ForwardEvent(const NodeName& node_name, ScopedEvent event) override { in ForwardEvent()
209 void BroadcastEvent(ScopedEvent event) override { in BroadcastEvent()
262 ScopedEvent event = std::move(incoming_events_.front()); in ProcessEvents()
295 base::queue<ScopedEvent> incoming_events_;
365 ScopedEvent event) override { in ForwardEvent()
383 void BroadcastEvent(TestNode* from_node, ScopedEvent event) override { in BroadcastEvent()
Dnode.h143 int AcceptEvent(ScopedEvent event); in COMPONENT_EXPORT()
/external/libchrome/mojo/core/
Dnode_controller.h179 void SendPeerEvent(const ports::NodeName& name, ports::ScopedEvent event);
184 ports::ScopedEvent event) override;
185 void BroadcastEvent(ports::ScopedEvent event) override;
Dnode_controller.cc66 Channel::MessagePtr SerializeEventMessage(ports::ScopedEvent event) { in SerializeEventMessage()
80 ports::ScopedEvent DeserializeEventMessage( in DeserializeEventMessage()
570 ports::ScopedEvent event) { in SendPeerEvent()
689 ports::ScopedEvent event) { in ForwardEvent()
699 void NodeController::BroadcastEvent(ports::ScopedEvent event) { in BroadcastEvent()
1086 ports::ScopedEvent clone = event->Clone(); in OnBroadcast()