/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/ |
D | 13-1.c | 22 struct timespec tssleep; in main() local 24 tssleep.tv_sec = SLEEPSEC; in main() 25 tssleep.tv_nsec = 0; in main() 27 if (clock_nanosleep(BOGUSCLOCKID, 0, &tssleep, NULL) == EINVAL) { in main()
|
D | 11-1.c | 33 struct timespec tssleep; in main() local 37 tssleep.tv_sec = 0; in main() 40 tssleep.tv_nsec = invalid_tests[i]; in main() 42 if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) != in main()
|
D | 1-1.c | 20 struct timespec tssleep, tsbefore, tsafter; in main() local 28 tssleep.tv_sec = 0; in main() 29 tssleep.tv_nsec = SLEEPNSEC; in main() 30 if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) != 0) { in main()
|
D | 2-1.c | 26 struct timespec tssleep, tsbefore, tsafter; in main() local 36 tssleep.tv_sec = sleepuntilsec; in main() 37 tssleep.tv_nsec = tsbefore.tv_nsec; in main() 40 if (clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL) != 0) { in main()
|
D | 3-1.c | 27 struct timespec tssleep, tsbefore, tsafter; in main() local 37 tssleep.tv_sec = sleepuntilsec; in main() 38 tssleep.tv_nsec = tsbefore.tv_nsec; in main() 41 if (clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL) != 0) { in main()
|
D | 1-4.c | 22 struct timespec tssleep, tsbefore, tsafter; in main() local 32 tssleep.tv_sec = SLEEPSEC; in main() 33 tssleep.tv_nsec = 0; in main() 34 clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL); in main()
|
D | 10-1.c | 33 struct timespec tssleep; in main() local 50 tssleep.tv_sec = SLEEPSEC; in main() 51 tssleep.tv_nsec = 0; in main() 52 if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) == EINTR) { in main()
|
D | 2-3.c | 24 struct timespec tssleep, tsbefore, tsafter; in main() local 39 tssleep.tv_sec = sleepuntilsec; in main() 40 tssleep.tv_nsec = tsbefore.tv_nsec; in main() 43 clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL); in main()
|
D | 1-3.c | 37 struct timespec tssleep, tsbefore, tsafter; in main() local 59 tssleep.tv_sec = SLEEPSEC; in main() 60 tssleep.tv_nsec = 0; in main() 61 clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL); in main()
|
D | 1-5.c | 39 struct timespec tssleep; in main() local 41 tssleep.tv_sec = SLEEPSEC; in main() 42 tssleep.tv_nsec = 0; in main() 43 if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) == 0) { in main()
|
D | 2-2.c | 38 struct timespec tssleep, tsbefore, tsafter; in main() local 65 tssleep.tv_sec = sleepuntilsec; in main() 66 tssleep.tv_nsec = tsbefore.tv_nsec; in main() 69 clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL); in main()
|
D | 9-1.c | 37 struct timespec tssleep, tsbefore, tsafter, tsremain; in main() local 60 tssleep.tv_sec = SLEEPSEC; in main() 61 tssleep.tv_nsec = 0; in main() 63 &tssleep, &tsremain) == EINTR) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/ |
D | 3-2.c | 36 struct timespec tssleep; in main() local 38 tssleep.tv_sec = SLEEPSEC; in main() 39 tssleep.tv_nsec = 0; in main() 40 if (nanosleep(&tssleep, NULL) == 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/ |
D | 8-1.c | 36 struct timespec tsT0, tssleep; in main() local 55 tssleep.tv_sec = SLEEPSEC; in main() 56 tssleep.tv_nsec = 0; in main() 58 if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/ |
D | 2-3.c | 54 struct timespec tssleep, tsres; in main() local 121 tssleep.tv_nsec = 0; in main() 122 tssleep.tv_sec = 2; in main() 123 if (nanosleep(&tssleep, NULL) != 0) { in main()
|