Home
last modified time | relevance | path

Searched refs:port_ref (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/mojo/core/ports/
Dnode.cc131 PortRef port_ref(entry.first, entry.second); in CanShutdownCleanly() local
132 SinglePortLocker locker(&port_ref); in CanShutdownCleanly()
150 int Node::GetPort(const PortName& port_name, PortRef* port_ref) { in GetPort() argument
162 *port_ref = PortRef(port_name, iter->second); in GetPort()
166 int Node::CreateUninitializedPort(PortRef* port_ref) { in CreateUninitializedPort() argument
175 *port_ref = PortRef(port_name, std::move(port)); in CreateUninitializedPort()
179 int Node::InitializePort(const PortRef& port_ref, in InitializePort() argument
183 SinglePortLocker locker(&port_ref); in InitializePort()
193 delegate_->PortStatusChanged(port_ref); in InitializePort()
220 int Node::SetUserData(const PortRef& port_ref, in SetUserData() argument
[all …]
Dnode.h92 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()
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()
156 int MergePorts(const PortRef& port_ref, in COMPONENT_EXPORT()
[all …]
Dport_locker.h39 Port* GetPort(const PortRef& port_ref) const { in GetPort() argument
45 if (port_refs_[i]->port() == port_ref.port()) in GetPort()
49 return port_ref.port(); in GetPort()
70 explicit SinglePortLocker(const PortRef* port_ref);
Dport_locker.cc67 SinglePortLocker::SinglePortLocker(const PortRef* port_ref) in SinglePortLocker() argument
68 : port_ref_(port_ref), locker_(&port_ref_, 1) {} in SinglePortLocker()
DBUILD.gn25 "port_ref.cc",
26 "port_ref.h",
Dnode_delegate.h31 virtual void PortStatusChanged(const PortRef& port_ref) = 0;
/external/libchrome/mojo/core/
Dnode_controller.h105 int SendUserMessage(const ports::PortRef& port_ref,