Home
last modified time | relevance | path

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

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/
D13-1.c22 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()
D11-1.c33 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()
D1-1.c20 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()
D2-1.c26 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()
D3-1.c27 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()
D1-4.c22 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()
D10-1.c33 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()
D2-3.c24 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()
D1-3.c37 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()
D1-5.c39 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()
D2-2.c38 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()
D9-1.c37 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/
D3-2.c36 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/
D8-1.c36 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/
D2-3.c54 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()