/third_party/rust/crates/rustix/tests/thread/ |
D | clocks.rs | 16 rustix::thread::{nanosleep, NanosleepRelativeResult, Timespec}, 22 match nanosleep(&Timespec { in test_invalid_nanosleep() 29 match nanosleep(&Timespec { in test_invalid_nanosleep() 36 match nanosleep(&Timespec { in test_invalid_nanosleep() 43 match nanosleep(&Timespec { in test_invalid_nanosleep() 165 match nanosleep(&Timespec { in test_zero_nanosleep()
|
/third_party/rust/crates/rustix/tests/time/ |
D | monotonic.rs | 2 use rustix::thread::nanosleep; 24 let _rem = nanosleep(&Timespec { in test_monotonic_clock_with_sleep_1s() 38 let _rem = nanosleep(&Timespec { in test_monotonic_clock_with_sleep_1ms()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/ |
D | 8-1.c | 109 if (nanosleep(&ts, &tsleft) == -1) { in main() 126 if (nanosleep(&tsp, &rem) == -1) { in main() 128 if (nanosleep(&tsp, &rem) == -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
D | 16-1.c | 126 nanosleep(&ts, NULL); in main() 133 if (nanosleep(&ts, NULL) in main() 154 if (nanosleep(&ts, NULL) == 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/include/ |
D | proc.h | 55 nanosleep(&wait_step_ts, NULL); in tst_process_state_wait3() 69 nanosleep(&maxwait_ts, NULL); in tst_process_state_wait3()
|
/third_party/rust/crates/rustix/src/thread/ |
D | clock.rs | 84 pub fn nanosleep(request: &Timespec) -> NanosleepRelativeResult { in nanosleep() function 85 backend::thread::syscalls::nanosleep(request) in nanosleep()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
D | 3-1.c | 33 nanosleep(&cleanup_ts, NULL); in cleanup_func() 44 nanosleep(&cancel_wait_ts, NULL); in sleep_loop()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/ |
D | 8-1.c | 60 nanosleep(&aio_wait_ts, NULL); in main() 79 nanosleep(&aio_wait_ts, NULL); in main()
|
D | 8-3.c | 60 nanosleep(&aio_wait_ts, NULL); in main() 79 nanosleep(&aio_wait_ts, NULL); in main()
|
D | 8-4.c | 60 nanosleep(&aio_wait_ts, NULL); in main() 79 nanosleep(&aio_wait_ts, NULL); in main()
|
D | 9-1.c | 60 nanosleep(&aio_wait_ts, NULL); in main() 78 nanosleep(&aio_wait_ts, NULL); in main()
|
D | 8-2.c | 60 nanosleep(&aio_wait_ts, NULL); in main() 79 nanosleep(&aio_wait_ts, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/ |
D | 10000-1.c | 64 if (nanosleep(&tssleepfor, &tsstorage) == 0) { in main() 100 if (nanosleep(&tssleepfor, &tsstorage) == -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/ |
D | 3-1.c | 79 nanosleep(&completion_wait_ts, NULL); in main() 105 nanosleep(&completion_wait_ts, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
D | 4-1.c | 98 nanosleep(&completion_wait_ts, NULL); in main() 118 nanosleep(&completion_wait_ts, NULL); in main()
|
D | 2-1.c | 129 nanosleep(&completion_wait_ts, NULL); in main() 147 nanosleep(&completion_wait_ts, NULL); in main()
|
D | 1-1.c | 102 nanosleep(&completion_wait_ts, NULL); in main() 151 nanosleep(&completion_wait_ts, NULL); in main()
|
/third_party/musl/porting/liteos_m/user/hook/ |
D | los_usr_libc.c | 301 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in nanosleep() function 303 return g_usrLibc->nanosleep(rqtp, rmtp); in nanosleep() 405 return nanosleep(&specTime, NULL); in usleep() 415 return nanosleep(&specTime, NULL); in sleep()
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | time.h | 101 int nanosleep (const struct timespec *, struct timespec *); 148 __REDIR(nanosleep, __nanosleep_time64);
|
/third_party/musl/porting/liteos_m/user/include/ |
D | time.h | 100 int nanosleep (const struct timespec *, struct timespec *); 147 __REDIR(nanosleep, __nanosleep_time64);
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | time.h | 101 int nanosleep (const struct timespec *, struct timespec *); 148 __REDIR(nanosleep, __nanosleep_time64);
|
/third_party/musl/ndk_musl_include/ |
D | time.h | 100 int nanosleep (const struct timespec *, struct timespec *); 145 __REDIR(nanosleep, __nanosleep_time64);
|
/third_party/musl/include/ |
D | time.h | 102 int nanosleep (const struct timespec *, struct timespec *); 149 __REDIR(nanosleep, __nanosleep_time64);
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/ |
D | 9-1.c | 165 nanosleep(&processing_completion_ts, NULL); in do_test() 183 nanosleep(&processing_completion_ts, NULL); in do_test()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/ |
D | 8-1.c | 186 nanosleep(&sync_wait_ts, NULL); in main() 207 nanosleep(&sync_wait_ts, NULL); in main()
|