Searched refs:ScopedEvent (Results 1 – 9 of 9) sorted by relevance
/external/libchrome/mojo/core/ports/ |
D | event.h | 24 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 …]
|
D | event.cc | 87 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 …]
|
D | node_delegate.h | 23 virtual void ForwardEvent(const NodeName& node, ScopedEvent event) = 0; 26 virtual void BroadcastEvent(ScopedEvent event) = 0;
|
D | port.h | 134 std::unique_ptr<std::pair<NodeName, ScopedEvent>> send_on_proxy_removal;
|
D | node.cc | 379 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()
|
D | ports_unittest.cc | 76 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()
|
D | node.h | 143 int AcceptEvent(ScopedEvent event); in COMPONENT_EXPORT()
|
/external/libchrome/mojo/core/ |
D | node_controller.h | 179 void SendPeerEvent(const ports::NodeName& name, ports::ScopedEvent event); 184 ports::ScopedEvent event) override; 185 void BroadcastEvent(ports::ScopedEvent event) override;
|
D | node_controller.cc | 66 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()
|