Home
last modified time | relevance | path

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

/xnu-8792.41.9/tests/
H A Dmach_service_port.c152 mach_port_t service_port_2; variable
166 kr = mach_port_construct(mach_task_self(), &opts, SP_CONTEXT, &service_port_2);
167 …T_MACH_ERROR(kr, KERN_INVALID_ARGUMENT, "mach_port_construct with extra flags %u", service_port_2);
174 kr = mach_port_construct(mach_task_self(), &opts2, SP_CONTEXT, &service_port_2);
175 …r, KERN_INVALID_ARGUMENT, "mach_port_construct with missing service port info %u", service_port_2);
202 mach_port_t service_port_2; variable
216 kr = mach_port_construct(mach_task_self(), &opts, 0, &service_port_2);
217 T_ASSERT_MACH_SUCCESS(kr, "mach_port_construct %u", service_port_2);
219 kr = mach_port_mod_refs(mach_task_self(), service_port_2, MACH_PORT_RIGHT_RECEIVE, -1);
224 .service_port_name = service_port_2,