Home
last modified time | relevance | path

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

/xnu-12377.61.12/tests/
H A Dmach_service_port.c168 mach_port_t service_port_2; variable
182 kr = mach_port_construct(mach_task_self(), &opts, SP_CONTEXT, &service_port_2);
183 …T_MACH_ERROR(kr, KERN_INVALID_ARGUMENT, "mach_port_construct with extra flags %u", service_port_2);
190 kr = mach_port_construct(mach_task_self(), &opts2, SP_CONTEXT, &service_port_2);
191 …r, KERN_INVALID_ARGUMENT, "mach_port_construct with missing service port info %u", service_port_2);
218 mach_port_t service_port_2; variable
232 kr = mach_port_construct(mach_task_self(), &opts, 0, &service_port_2);
233 T_ASSERT_MACH_SUCCESS(kr, "mach_port_construct %u", service_port_2);
235 kr = mach_port_mod_refs(mach_task_self(), service_port_2, MACH_PORT_RIGHT_RECEIVE, -1);
240 .service_port_name = service_port_2,