/external/libchrome/mojo/core/ports/ |
D | port_ref.cc | 13 PortRef::~PortRef() {} in ~PortRef() 15 PortRef::PortRef() {} in PortRef() function in mojo::core::ports::PortRef 17 PortRef::PortRef(const PortName& name, scoped_refptr<Port> port) in PortRef() function in mojo::core::ports::PortRef 20 PortRef::PortRef(const PortRef& other) = default; 22 PortRef::PortRef(PortRef&& other) = default; 24 PortRef& PortRef::operator=(const PortRef& other) = default; 26 PortRef& PortRef::operator=(PortRef&& other) = default;
|
D | node.h | 92 int GetPort(const PortName& port_name, PortRef* port_ref); in COMPONENT_EXPORT() 98 int CreateUninitializedPort(PortRef* port_ref); in COMPONENT_EXPORT() 101 int InitializePort(const PortRef& port_ref, in COMPONENT_EXPORT() 107 int CreatePortPair(PortRef* port0_ref, PortRef* port1_ref); in COMPONENT_EXPORT() 110 int SetUserData(const PortRef& port_ref, scoped_refptr<UserData> user_data); in COMPONENT_EXPORT() 111 int GetUserData(const PortRef& port_ref, scoped_refptr<UserData>* user_data); in COMPONENT_EXPORT() 116 int ClosePort(const PortRef& port_ref); in COMPONENT_EXPORT() 119 int GetStatus(const PortRef& port_ref, PortStatus* port_status); in COMPONENT_EXPORT() 132 int GetMessage(const PortRef& port_ref, in COMPONENT_EXPORT() 139 int SendUserMessage(const PortRef& port_ref, in COMPONENT_EXPORT() [all …]
|
D | port_ref.h | 20 class COMPONENT_EXPORT(MOJO_CORE_PORTS) PortRef { in COMPONENT_EXPORT() 22 ~PortRef(); in COMPONENT_EXPORT() 23 PortRef(); in COMPONENT_EXPORT() 24 PortRef(const PortName& name, scoped_refptr<Port> port); in COMPONENT_EXPORT() 26 PortRef(const PortRef& other); in COMPONENT_EXPORT() 27 PortRef(PortRef&& other); in COMPONENT_EXPORT() 29 PortRef& operator=(const PortRef& other); in COMPONENT_EXPORT() 30 PortRef& operator=(PortRef&& other); in COMPONENT_EXPORT()
|
D | node.cc | 131 PortRef port_ref(entry.first, entry.second); in CanShutdownCleanly() 150 int Node::GetPort(const PortName& port_name, PortRef* port_ref) { in GetPort() 162 *port_ref = PortRef(port_name, iter->second); in GetPort() 166 int Node::CreateUninitializedPort(PortRef* port_ref) { in CreateUninitializedPort() 175 *port_ref = PortRef(port_name, std::move(port)); in CreateUninitializedPort() 179 int Node::InitializePort(const PortRef& port_ref, in InitializePort() 198 int Node::CreatePortPair(PortRef* port0_ref, PortRef* port1_ref) { in CreatePortPair() 220 int Node::SetUserData(const PortRef& port_ref, in SetUserData() 232 int Node::GetUserData(const PortRef& port_ref, in GetUserData() 244 int Node::ClosePort(const PortRef& port_ref) { in ClosePort() [all …]
|
D | ports_unittest.cc | 138 int SendStringMessage(const PortRef& port, const std::string& s) { in SendStringMessage() 142 int SendStringMessageWithPort(const PortRef& port, in SendStringMessageWithPort() 150 int SendStringMessageWithPort(const PortRef& port, in SendStringMessageWithPort() 152 const PortRef& sent_port) { in SendStringMessageWithPort() 166 bool ReadMessage(const PortRef& port, ScopedMessage* message) { in ReadMessage() 213 void PortStatusChanged(const PortRef& port) override { in PortStatusChanged() 237 PortRef port; in ClosePortsInEvent() 346 PortRef* port0, in CreatePortPair() 348 PortRef* port1) { in CreatePortPair() 419 PortRef x0, x1; in TEST_F() [all …]
|
D | port_locker.h | 18 class PortRef; variable 31 PortLocker(const PortRef** port_refs, size_t num_ports); 39 Port* GetPort(const PortRef& port_ref) const { in GetPort() 61 const PortRef** const port_refs_; 70 explicit SinglePortLocker(const PortRef* port_ref); 76 const PortRef* port_ref_;
|
D | port_locker.cc | 33 PortLocker::PortLocker(const PortRef** port_refs, size_t num_ports) in PortLocker() 42 [](const PortRef* a, const PortRef* b) { return a->port() < b->port(); }); in PortLocker() 67 SinglePortLocker::SinglePortLocker(const PortRef* port_ref) in SinglePortLocker()
|
D | node_delegate.h | 31 virtual void PortStatusChanged(const PortRef& port_ref) = 0;
|
/external/libchrome/mojo/core/ |
D | node_controller.h | 83 const std::vector<std::pair<std::string, ports::PortRef>>& attached_ports, 92 const ports::PortRef& port, 97 void SetPortObserver(const ports::PortRef& port, 102 void ClosePort(const ports::PortRef& port); 105 int SendUserMessage(const ports::PortRef& port_ref, 111 const ports::PortRef& port); 114 int MergeLocalPorts(const ports::PortRef& port0, const ports::PortRef& port1); 139 using PortMap = std::map<std::string, ports::PortRef>; 146 const ports::PortRef& local_port, 155 ports::PortRef local_port; [all …]
|
D | data_pipe_producer_dispatcher.h | 36 const ports::PortRef& control_port, 77 const ports::PortRef& port, 92 const ports::PortRef control_port_;
|
D | data_pipe_consumer_dispatcher.h | 36 const ports::PortRef& control_port, 78 const ports::PortRef& control_port, 93 const ports::PortRef control_port_;
|
D | node_controller.cc | 178 const std::vector<std::pair<std::string, ports::PortRef>>& attached_ports, in SendBrokerClientInvitation() 234 const ports::PortRef& port, in ConnectIsolated() 243 void NodeController::SetPortObserver(const ports::PortRef& port, in SetPortObserver() 248 void NodeController::ClosePort(const ports::PortRef& port) { in ClosePort() 255 const ports::PortRef& port, in SendUserMessage() 261 const ports::PortRef& port) { in MergePortIntoInviter() 288 int NodeController::MergeLocalPorts(const ports::PortRef& port0, in MergeLocalPorts() 289 const ports::PortRef& port1) { in MergeLocalPorts() 400 ports::PortRef port, in ConnectIsolatedOnIOThread() 528 std::vector<ports::PortRef> ports_to_close; in DropPeer() [all …]
|
D | invitation_dispatcher.h | 29 ports::PortRef remote_peer_port) override; 33 using PortMapping = base::flat_map<std::string, ports::PortRef>;
|
D | invitation_dispatcher.cc | 34 ports::PortRef remote_peer_port) { in AttachMessagePipe() 47 ports::PortRef remote_peer_port; in ExtractMessagePipe()
|
D | core.h | 70 MojoHandle CreatePartialMessagePipe(ports::PortRef* peer); 74 MojoHandle CreatePartialMessagePipe(const ports::PortRef& port); 88 const std::vector<std::pair<std::string, ports::PortRef>>& attached_ports, 112 const ports::PortRef& port,
|
D | message_pipe_dispatcher.h | 39 const ports::PortRef& port, 93 const ports::PortRef port_;
|
D | message_pipe_dispatcher.cc | 87 const ports::PortRef& port, in MessagePipeDispatcher() 106 ports::PortRef port0; in Fuse() 114 ports::PortRef port1; in Fuse() 326 ports::PortRef port; in Deserialize()
|
D | core.cc | 177 MojoHandle Core::CreatePartialMessagePipe(ports::PortRef* peer) { in CreatePartialMessagePipe() 179 ports::PortRef local_port; in CreatePartialMessagePipe() 185 MojoHandle Core::CreatePartialMessagePipe(const ports::PortRef& port) { in CreatePartialMessagePipe() 194 const std::vector<std::pair<std::string, ports::PortRef>>& attached_ports, in SendBrokerClientInvitation() 209 const ports::PortRef& port, in ConnectIsolated() 279 ports::PortRef port0, port1; in ExtractMessagePipeFromInvitation() 530 ports::PortRef port0, port1; in CreateMessagePipe() 700 ports::PortRef port0, port1; in CreateDataPipe() 1226 ports::PortRef remote_peer_port; in AttachMessagePipeToInvitation() 1370 std::vector<std::pair<std::string, ports::PortRef>> attached_ports; in SendInvitation() [all …]
|
D | data_pipe_control_message.h | 35 const ports::PortRef& port,
|
D | data_pipe_control_message.cc | 15 const ports::PortRef& port, in SendDataPipeControlMessage()
|
D | data_pipe_producer_dispatcher.cc | 74 const ports::PortRef& control_port, in Create() 340 ports::PortRef port; in Deserialize() 379 const ports::PortRef& control_port, in DataPipeProducerDispatcher()
|
D | data_pipe_consumer_dispatcher.cc | 75 const ports::PortRef& control_port, in Create() 379 ports::PortRef port; in Deserialize() 419 const ports::PortRef& control_port, in DataPipeConsumerDispatcher()
|
D | dispatcher.h | 133 ports::PortRef remote_peer_port);
|
D | dispatcher.cc | 100 ports::PortRef remote_peer_port) { in AttachMessagePipe()
|