Home
last modified time | relevance | path

Searched refs:PortRef (Results 1 – 17 of 17) sorted by relevance

/external/libmojo/mojo/edk/system/ports/
Dport_ref.cc13 PortRef::~PortRef() { in ~PortRef()
16 PortRef::PortRef() { in PortRef() function in mojo::edk::ports::PortRef
19 PortRef::PortRef(const PortName& name, const scoped_refptr<Port>& port) in PortRef() function in mojo::edk::ports::PortRef
23 PortRef::PortRef(const PortRef& other) in PortRef() function in mojo::edk::ports::PortRef
27 PortRef& PortRef::operator=(const PortRef& other) { in operator =()
Dnode.h67 int GetPort(const PortName& port_name, PortRef* port_ref);
73 int CreateUninitializedPort(PortRef* port_ref);
76 int InitializePort(const PortRef& port_ref,
82 int CreatePortPair(PortRef* port0_ref, PortRef* port1_ref);
85 int SetUserData(const PortRef& port_ref,
87 int GetUserData(const PortRef& port_ref,
93 int ClosePort(const PortRef& port_ref);
96 int GetStatus(const PortRef& port_ref, PortStatus* port_status);
103 int GetMessage(const PortRef& port_ref, ScopedMessage* message);
109 int GetMessageIf(const PortRef& port_ref,
[all …]
Dport_ref.h18 class PortRef {
20 ~PortRef();
21 PortRef();
22 PortRef(const PortName& name, const scoped_refptr<Port>& port);
24 PortRef(const PortRef& other);
25 PortRef& operator=(const PortRef& other);
Dports_unittest.cc41 PortRef port; in ClosePortsInMessage()
144 int SendStringMessage(Node* node, const PortRef& port, const std::string& s) { in SendStringMessage()
152 const PortRef& port, in SendStringMessageWithPort()
163 const PortRef& port, in SendStringMessageWithPort()
165 const PortRef& sent_port) { in SendStringMessageWithPort()
235 void PortStatusChanged(const PortRef& port) override { in PortStatusChanged()
254 PortRef received_port; in PortStatusChanged()
302 PortRef x0, x1; in TEST_F()
309 PortRef a0, a1; in TEST_F()
336 PortRef x0, x1; in TEST_F()
[all …]
Dnode.cc104 int Node::GetPort(const PortName& port_name, PortRef* port_ref) { in GetPort()
109 *port_ref = PortRef(port_name, std::move(port)); in GetPort()
113 int Node::CreateUninitializedPort(PortRef* port_ref) { in CreateUninitializedPort()
123 *port_ref = PortRef(port_name, std::move(port)); in CreateUninitializedPort()
127 int Node::InitializePort(const PortRef& port_ref, in InitializePort()
147 int Node::CreatePortPair(PortRef* port0_ref, PortRef* port1_ref) { in CreatePortPair()
169 int Node::SetUserData(const PortRef& port_ref, in SetUserData()
182 int Node::GetUserData(const PortRef& port_ref, in GetUserData()
195 int Node::ClosePort(const PortRef& port_ref) { in ClosePort()
243 PortRef ref; in ClosePort()
[all …]
Dnode_delegate.h41 virtual void PortStatusChanged(const PortRef& port_ref) = 0;
/external/libmojo/mojo/edk/system/
Dnode_controller.h90 void SetPortObserver(const ports::PortRef& port,
95 void ClosePort(const ports::PortRef& port);
98 int SendMessage(const ports::PortRef& port_ref,
103 void ReservePort(const std::string& token, const ports::PortRef& port,
108 const ports::PortRef& port);
111 int MergeLocalPorts(const ports::PortRef& port0, const ports::PortRef& port1);
138 ports::PortRef port;
170 void PortStatusChanged(const ports::PortRef& port) override;
254 std::vector<std::pair<std::string, ports::PortRef>> pending_port_merges_;
Dnode_controller.cc207 std::vector<ports::PortRef> ports_to_close; in CloseChildPorts()
258 const ports::PortRef& port, in SetPortObserver()
263 void NodeController::ClosePort(const ports::PortRef& port) { in ClosePort()
271 int NodeController::SendMessage(const ports::PortRef& port, in SendMessage()
281 const ports::PortRef& port, in ReservePort()
293 const ports::PortRef& port) { in MergePortIntoParent()
339 int NodeController::MergeLocalPorts(const ports::PortRef& port0, in MergeLocalPorts()
340 const ports::PortRef& port1) { in MergeLocalPorts()
530 std::vector<ports::PortRef> ports_to_close; in DropPeer()
785 void NodeController::PortStatusChanged(const ports::PortRef& port) { in PortStatusChanged()
[all …]
Dmessage_pipe_dispatcher.h40 const ports::PortRef& port,
101 const ports::PortRef port_;
Ddata_pipe_consumer_dispatcher.h38 const ports::PortRef& control_port,
98 const ports::PortRef control_port_;
Ddata_pipe_producer_dispatcher.h37 const ports::PortRef& port,
100 const ports::PortRef control_port_;
Dmessage_pipe_dispatcher.cc63 const ports::PortRef& port, in MessagePipeDispatcher()
82 ports::PortRef port0; in Fuse()
90 ports::PortRef port1; in Fuse()
462 ports::PortRef port; in Deserialize()
Ddata_pipe_control_message.h37 const ports::PortRef& port,
Ddata_pipe_control_message.cc15 const ports::PortRef& port, in SendDataPipeControlMessage()
Ddata_pipe_producer_dispatcher.cc73 const ports::PortRef& control_port, in DataPipeProducerDispatcher()
379 ports::PortRef port; in Deserialize()
Ddata_pipe_consumer_dispatcher.cc74 const ports::PortRef& control_port, in DataPipeConsumerDispatcher()
397 ports::PortRef port; in Deserialize()
Dcore.cc327 ports::PortRef port0, port1; in CreateParentMessagePipe()
338 ports::PortRef port0, port1; in CreateChildMessagePipe()
600 ports::PortRef port0, port1; in CreateMessagePipe()
789 ports::PortRef port0, port1; in CreateDataPipe()