Home
last modified time | relevance | path

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

/xnu-11215.1.10/tests/
H A Dproc_info.c749 int num_procs; variable
750num_procs = __proc_info(PROC_INFO_CALL_LISTPIDS, PROC_ALL_PIDS, (uint32_t)getpid(), (uint32_t)0, (…
751 T_ASSERT_GE_INT(num_procs, 1, "verify valid value for nprocs: %d", num_procs);
755num_procs = __proc_info(PROC_INFO_CALL_LISTPIDS, PROC_ALL_PIDS, (uint32_t)getpid(), (uint32_t)0, (…
757 int proc_count = num_procs / (int)sizeof(pid_t);
758 int proc_count_all = num_procs / (int)sizeof(pid_t);
763num_procs = __proc_info(PROC_INFO_CALL_LISTPIDS, PROC_ALL_PIDS, (uint32_t)getpid(), (uint32…
765 num_procs = num_procs / (int)sizeof(pid_t);
766 T_ASSERT_GE_INT(num_procs, proc_count, "Valid number of pids obtained for PROC_ALL_PIDS.");
775num_procs = __proc_info(PROC_INFO_CALL_LISTPIDS, PROC_ALL_PIDS, (uint32_t)getpid(), (uint32_t)0, (…
[all …]