Lines Matching defs:m_port
51 : m_port(MACH_PORT_NULL)
57 if (m_port != MACH_PORT_NULL)
58 mach_port_deallocate(mach_task_self(), m_port);
63 encoder->encode(CoreIPC::MachPort(m_port, MACH_MSG_TYPE_MOVE_SEND));
64 m_port = MACH_PORT_NULL;
69 ASSERT_ARG(handle, handle.m_port == MACH_PORT_NULL);
75 handle.m_port = machPort.port();
129 ASSERT_ARG(handle, handle.m_port != MACH_PORT_NULL);
131 RetainPtr<IOSurfaceRef> ioSurface(AdoptCF, IOSurfaceLookupFromMachPort(handle.m_port));
164 ASSERT_ARG(handle, handle.m_port == MACH_PORT_NULL);
170 handle.m_port = port;