Home
last modified time | relevance | path

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

/xnu-10002.1.13/tests/
H A Dmach_service_port.c191 mach_port_t service_port_2; variable
205 kr = mach_port_construct(mach_task_self(), &opts, SP_CONTEXT, &service_port_2);
206 …T_MACH_ERROR(kr, KERN_INVALID_ARGUMENT, "mach_port_construct with extra flags %u", service_port_2);
213 kr = mach_port_construct(mach_task_self(), &opts2, SP_CONTEXT, &service_port_2);
214 …r, KERN_INVALID_ARGUMENT, "mach_port_construct with missing service port info %u", service_port_2);
241 mach_port_t service_port_2; variable
255 kr = mach_port_construct(mach_task_self(), &opts, 0, &service_port_2);
256 T_ASSERT_MACH_SUCCESS(kr, "mach_port_construct %u", service_port_2);
258 kr = mach_port_mod_refs(mach_task_self(), service_port_2, MACH_PORT_RIGHT_RECEIVE, -1);
263 .service_port_name = service_port_2,