/xnu-2422.115.4/tools/tests/xnu_quick_test/helpers/ |
H A D | sleep.c | 5 sleep(120);
|
H A D | launch.c | 43 argvs[0] = "sleep-i386"; 44 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 0)) goto test_failed_exit; 47 argvs[0] = "sleep-x86_64-4G"; 48 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 0)) goto test_failed_exit; 51 argvs[0] = "sleep-x86_64-4K"; 52 if (do_execve_test("helpers/sleep-x86_64-4K", argvs, NULL, 0)) goto test_failed_exit; 62 argvs[0] = "sleep-x86_64-4G"; 63 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 1)) goto test_failed_exit; 66 argvs[0] = "sleep-x86_64-4K"; 67 if (do_execve_test("helpers/sleep [all...] |
/xnu-2422.115.4/tools/tests/unit_tests/ptrace_tests_10767133_src/ |
H A D | ptrace_tests_10767133.c | 96 log_message("child: running the sleep loop"); 98 log_message("child: sleep loop"); 100 sleep(1); 104 log_message("child: finished sleep loop"); 109 log_message("child: sleep loop 2"); 111 sleep(1); 124 sleep(2); 128 sleep(2); 132 sleep(2); 161 log_message("child: running the sleep loo [all...] |
/xnu-2422.115.4/tools/lockstat/ |
H A D | lockstat.c | 169 sleep(arg2); 182 sleep(arg2); 191 sleep(arg2); 200 sleep(arg2); 213 sleep(arg2); 242 sleep(arg2); 248 sleep(arg2); 255 sleep(arg2); 262 sleep(arg2); 278 sleep(arg [all...] |
/xnu-2422.115.4/tools/tests/xnu_quick_test/ |
H A D | makefile | 105 helpers : $(SRCSUBPATH)/helpers/sleep.c $(SRCSUBPATH)/helpers/launch.c $(SRCSUBPATH)/helpers/arch.c $(SRCSUBPATH)/helpers/data_exec.c helperdir $(OBJSUBPATH)/misc.o 108 $(CC) -g $(ARCH_32_FLAGS) $(SRCSUBPATH)/helpers/sleep.c -o $(SYMROOT)/sleep-i386 109 /usr/bin/ditto $(SYMROOT)/sleep-i386 $(DSTROOT)/helpers/ 119 $(CC) -g $(ARCH_64_FLAGS) -pagezero_size 0x100000000 $(SRCSUBPATH)/helpers/sleep.c -o $(SYMROOT)/sleep-x86_64-4G 120 $(CC) -g $(ARCH_64_FLAGS) -pagezero_size 0x1000 $(SRCSUBPATH)/helpers/sleep.c -o $(SYMROOT)/sleep-x86_64-4K 122 /usr/bin/ditto $(SYMROOT)/sleep-x86_64-4G $(SYMROOT)/sleep [all...] |
H A D | commpage_tests.c | 334 sleep(1); 346 sleep(1);
|
H A D | sched_tests.c | 80 sleep(1); 197 sleep(1);
|
H A D | misc.c | 182 /* vfork then execve sleep system command (which we will kill from the parent process) */ 191 * binaries, which just sleep for 120 seconds. Let our parent kill us. 209 sleep(killwait);
|
H A D | socket_tests.c | 143 sleep(2);
|
/xnu-2422.115.4/tools/tests/libMicro/ |
H A D | od_account_create.sh | 100 sleep 2 103 sleep 2 109 sleep 2
|
/xnu-2422.115.4/iokit/Tests/ |
H A D | TestDevice.cpp | 48 TestDevice::enqueueCommand(bool sleep, argument 51 return commQ->enqueueCommand(sleep, (void *) act, (void *) tag, dataP);
|
H A D | Tests.h | 94 kern_return_t enqueueCommand(bool sleep,
|
/xnu-2422.115.4/tools/tests/unit_tests/ |
H A D | test_waitqlocktry_12053360.c | 38 printf("Usage: %s <max sleep in usecs> <nthreads>\n", argv[0]); 65 printf("Creating %u threads with a max sleep time of %uusec.\n", nthreads, test_usleep_max); 76 sleep(MAX_TEST_RUN_TIME);
|
/xnu-2422.115.4/tools/tests/memorystatus/ |
H A D | memorystatus.c | 351 sleep(1); 360 sleep(1); 370 sleep(1); 484 sleep(10); 763 sleep(1); 859 sleep(1); 871 sleep(1); 882 sleep(interval); 906 sleep(3); 1300 sleep( [all...] |
/xnu-2422.115.4/tools/tests/unit_tests/ptrace_test_12507045_src/ |
H A D | ptrace_test.c | 493 sleep(60); 513 sleep(1); 558 sleep(1); 597 sleep(1);
|
/xnu-2422.115.4/tools/tests/unit_tests/thread_get_state_11918811_src/ |
H A D | thread_get_state.c | 47 sleep(1);
|
/xnu-2422.115.4/iokit/Kernel/ |
H A D | IOMapper.cpp | 68 void sleep(void *event) { IOLockSleep(fWaitLock, event, THREAD_UNINT); }; function in class:IOMapperLock 138 sMapperLock.sleep(&IOMapper::gSystem);
|
/xnu-2422.115.4/bsd/kern/ |
H A D | kern_synch.c | 136 * pri<=PZERO a signal cannot disturb the sleep; 138 * If pri&PCATCH is set, signals will cause sleep 308 sleep( function
|
H A D | tty.c | 1114 * have been "interrupted" from a "sleep" to act on 1994 * have been "interrupted" from a "sleep" to act on 2035 * For the other two cases, we compute the target sleep time 2040 goto sleep; 2052 goto sleep; 2112 goto sleep; 2115 sleep: 2345 * have been "interrupted" from a "sleep" to act on 2354 * output translation. Keep track of high water mark, sleep on 2890 * 3) The sleeper with the shortest sleep tim [all...] |
/xnu-2422.115.4/tools/tests/unit_tests/cpu_monitor_tests_11646922_src/ |
H A D | cpumon_test_framework.c | 152 sleep(timeout);
|
/xnu-2422.115.4/tools/tests/kqueue_tests/ |
H A D | kqueue_file_tests.c | 121 * Initialize an action struct. Whether to sleep, what action to take, 125 init_action(action_t *act, int sleep, action_id_t call, int nargs, ...) argument 130 act->act_dosleep = sleep; 220 /* Let other thread get into kevent() sleep */ 222 sleep(SLEEP_TIME); 447 sleep(5); 1459 sleep(2); 1468 sleep(2);
|
/xnu-2422.115.4/tools/tests/jitter/ |
H A D | timer_jitter.c | 80 printf("Usage: jitter [-w] [-s <random seed>] [-n <min sleep, ns>] [-m <max sleep, ns>] <realtime | timeshare | fixed> <num iterations> <traceworthy jitter, ns>\n"); 152 /* Now use the random number to sleep amount within the window */ 347 sleep(1); /* Time for other thread to start up */ 359 * try to sleep exactly that long 443 * try to sleep exactly that long
|
/xnu-2422.115.4/tools/tests/zero-to-n/ |
H A D | zero-to-n.c | 237 * When the last thread finishes, everyone gets to go back to sleep. 501 sleep(1); 557 /* Let worker threads get back to sleep... */
|
/xnu-2422.115.4/bsd/sys/ |
H A D | proc_internal.h | 522 uint32_t __p_forw; /* Doubly-linked run/sleep queue. */ 544 uint32_t p_wmesg; /* Reason for sleep. */ 574 user_addr_t __p_forw; /* Doubly-linked run/sleep queue. */ 596 user_addr_t p_wmesg; /* Reason for sleep. */ 717 extern int sleep(void *chan, int pri);
|
/xnu-2422.115.4/bsd/netinet/ |
H A D | ip_compat.h | 288 # define SLEEP(id, n) sleep((id), PZERO+1)
|