Lines Matching refs:Port
84 class Port {
89 Port() { mPort = MACH_PORT_NULL; }
90 Port(mach_port_t port) { mPort = port; }
137 // A simple Port that deallocates itself on destruction.
138 // If you need a subclass of Port, just assign it to a separate AutoPort.
140 class AutoPort : public Port {
143 AutoPort(mach_port_t port) : Port(port) { }
151 class PortSet : public Port {
156 void operator += (const Port &port)
159 void operator -= (const Port &port)
162 set<Port> members() const;
163 bool contains(Port member) const; // relatively slow
170 class Bootstrap : public Port {
173 Bootstrap(mach_port_t bootp) : Port(bootp) { }
184 Bootstrap subset(Port requestor);
201 class TaskPort : public Port {
204 TaskPort(mach_port_t p) : Port(p) { }
205 TaskPort(const Port &p) : Port(p) { }
220 class ReceivePort : public Port {
288 Port localPort() const { return mBuffer->Head.msgh_local_port; }
289 Port remotePort() const { return mBuffer->Head.msgh_remote_port; }