Home
last modified time | relevance | path

Searched refs:nanosleep (Results 1 – 25 of 228) sorted by relevance

12345678910

/third_party/rust/crates/rustix/tests/thread/
Dclocks.rs16 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/
Dmonotonic.rs2 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/
D8-1.c109 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/
D16-1.c126 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/
Dproc.h55 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/
Dclock.rs84 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/
D3-1.c33 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/
D8-1.c60 nanosleep(&aio_wait_ts, NULL); in main()
79 nanosleep(&aio_wait_ts, NULL); in main()
D8-3.c60 nanosleep(&aio_wait_ts, NULL); in main()
79 nanosleep(&aio_wait_ts, NULL); in main()
D8-4.c60 nanosleep(&aio_wait_ts, NULL); in main()
79 nanosleep(&aio_wait_ts, NULL); in main()
D9-1.c60 nanosleep(&aio_wait_ts, NULL); in main()
78 nanosleep(&aio_wait_ts, NULL); in main()
D8-2.c60 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/
D10000-1.c64 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/
D3-1.c79 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/
D4-1.c98 nanosleep(&completion_wait_ts, NULL); in main()
118 nanosleep(&completion_wait_ts, NULL); in main()
D2-1.c129 nanosleep(&completion_wait_ts, NULL); in main()
147 nanosleep(&completion_wait_ts, NULL); in main()
D1-1.c102 nanosleep(&completion_wait_ts, NULL); in main()
151 nanosleep(&completion_wait_ts, NULL); in main()
/third_party/musl/porting/liteos_m/user/hook/
Dlos_usr_libc.c301 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/
Dtime.h101 int nanosleep (const struct timespec *, struct timespec *);
148 __REDIR(nanosleep, __nanosleep_time64);
/third_party/musl/porting/liteos_m/user/include/
Dtime.h100 int nanosleep (const struct timespec *, struct timespec *);
147 __REDIR(nanosleep, __nanosleep_time64);
/third_party/musl/porting/uniproton/kernel/include/
Dtime.h101 int nanosleep (const struct timespec *, struct timespec *);
148 __REDIR(nanosleep, __nanosleep_time64);
/third_party/musl/ndk_musl_include/
Dtime.h100 int nanosleep (const struct timespec *, struct timespec *);
145 __REDIR(nanosleep, __nanosleep_time64);
/third_party/musl/include/
Dtime.h102 int nanosleep (const struct timespec *, struct timespec *);
149 __REDIR(nanosleep, __nanosleep_time64);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
D9-1.c165 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/
D8-1.c186 nanosleep(&sync_wait_ts, NULL); in main()
207 nanosleep(&sync_wait_ts, NULL); in main()

12345678910