Lines Matching refs:mach_task_self
27 kr = task_create_identity_token(mach_task_self(), &token);
30 port1 = mach_task_self();
35 mach_port_deallocate(mach_task_self(), port2);
37 kr = task_get_special_port(mach_task_self(), TASK_READ_PORT, &port1);
43 mach_port_deallocate(mach_task_self(), port1);
44 mach_port_deallocate(mach_task_self(), port2);
46 kr = task_get_special_port(mach_task_self(), TASK_INSPECT_PORT, &port1);
52 mach_port_deallocate(mach_task_self(), port1);
53 mach_port_deallocate(mach_task_self(), port2);
55 kr = task_get_special_port(mach_task_self(), TASK_NAME_PORT, &port1);
61 mach_port_deallocate(mach_task_self(), port1);
62 mach_port_deallocate(mach_task_self(), port2);
67 mach_port_deallocate(mach_task_self(), token);