Lines Matching refs:mach_task_self
28 kr = task_create_identity_token(mach_task_self(), &token);
31 port1 = mach_task_self();
36 mach_port_deallocate(mach_task_self(), port2);
38 kr = task_get_special_port(mach_task_self(), TASK_READ_PORT, &port1);
44 mach_port_deallocate(mach_task_self(), port1);
45 mach_port_deallocate(mach_task_self(), port2);
47 kr = task_get_special_port(mach_task_self(), TASK_INSPECT_PORT, &port1);
53 mach_port_deallocate(mach_task_self(), port1);
54 mach_port_deallocate(mach_task_self(), port2);
56 kr = task_get_special_port(mach_task_self(), TASK_NAME_PORT, &port1);
62 mach_port_deallocate(mach_task_self(), port1);
63 mach_port_deallocate(mach_task_self(), port2);
68 mach_port_deallocate(mach_task_self(), token);