Home
last modified time | relevance | path

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

/xnu-12377.61.12/tests/ipc/
H A Dimm_pinned_control_port_entitled.c55 mach_msg_type_number_t threadCount = 0; in test_task_thread_port_values() local
81 kr = task_threads(mach_task_self(), &threadList, &threadCount); in test_task_thread_port_values()
83 T_QUIET; T_ASSERT_GE(threadCount, 1, "should have at least 1 thread"); in test_task_thread_port_values()
85 for (size_t i = 0; i < threadCount; i++) { in test_task_thread_port_values()
94 for (size_t i = 0; i < threadCount; i++) { in test_task_thread_port_values()
98 if (threadCount > 0) { in test_task_thread_port_values()
101 threadCount * sizeof(mach_port_t)); in test_task_thread_port_values()
H A Dipc_thread_ports_race.c67 mach_msg_type_number_t threadCount = 0; in test_race() local
74 kr = task_threads(task, &threadList, &threadCount); in test_race()
77 for (mach_msg_type_number_t i = 0; i < threadCount; i++) { in test_race()
82 sizeof(threadList[0]) * threadCount); in test_race()
83 ths += threadCount; in test_race()
H A Dipc_read_inspect.c150 mach_msg_type_number_t threadCount = 0; in test_task_threads() local
157 kr = task_threads(tport, &threadList, &threadCount); in test_task_threads()
165 T_QUIET; T_ASSERT_GE(threadCount, 1, "threadCount should be at least 1"); in test_task_threads()
173 for (size_t i = 0; i < threadCount; i++) { in test_task_threads()
198 for (size_t i = 0; i < threadCount; i++) { in test_task_threads()
202 sizeof(threadList[0]) * threadCount); in test_task_threads()