Home
last modified time | relevance | path

Searched refs:tssleepfor (Results 1 – 11 of 11) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/
D10000-1.c49 struct timespec tssleepfor, tsstorage, tsbefore, tsafter; in main() local
55 tssleepfor.tv_sec = sleepvalid[i][0]; in main()
56 tssleepfor.tv_nsec = sleepvalid[i][1]; in main()
58 (int)tssleepfor.tv_sec, (int)tssleepfor.tv_nsec); in main()
64 if (nanosleep(&tssleepfor, &tsstorage) == 0) { in main()
79 if ((slepts - tssleepfor.tv_sec) > OKSECERR) { in main()
82 tssleepfor.tv_sec, tssleepfor.tv_nsec); in main()
87 tssleepfor.tv_sec, tssleepfor.tv_nsec); in main()
96 tssleepfor.tv_sec = sleepinvalid[i][0]; in main()
97 tssleepfor.tv_nsec = sleepinvalid[i][1]; in main()
[all …]
D5-1.c17 struct timespec tssleepfor, tsstorage; in main() local
20 tssleepfor.tv_sec = 0; in main()
21 tssleepfor.tv_nsec = sleepnsec; in main()
22 if (nanosleep(&tssleepfor, &tsstorage) == -1) { in main()
D6-1.c20 struct timespec tssleepfor, tsstorage; in main() local
27 tssleepfor.tv_sec = 0; in main()
30 tssleepfor.tv_nsec = sleepnsec[i]; in main()
32 if (nanosleep(&tssleepfor, &tsstorage) == -1) { in main()
D1-1.c17 struct timespec tssleepfor, tsstorage, tsbefore, tsafter; in main() local
26 tssleepfor.tv_sec = 0; in main()
27 tssleepfor.tv_nsec = sleepnsec; in main()
28 if (nanosleep(&tssleepfor, &tsstorage) != 0) { in main()
D1-2.c20 struct timespec tssleepfor, tsstorage, tsbefore, tsafter; in main() local
31 tssleepfor.tv_sec = sleepsec; in main()
32 tssleepfor.tv_nsec = 0; in main()
33 nanosleep(&tssleepfor, &tsstorage); in main()
D3-1.c33 struct timespec tssleepfor, tsstorage; in main() local
51 tssleepfor.tv_sec = sleepsec; in main()
52 tssleepfor.tv_nsec = 0; in main()
53 nanosleep(&tssleepfor, &tsstorage); in main()
D5-2.c29 struct timespec tssleepfor, tsstorage; in main() local
47 tssleepfor.tv_sec = sleepsec; in main()
48 tssleepfor.tv_nsec = 0; in main()
49 if (nanosleep(&tssleepfor, &tsstorage) == -1) { in main()
D7-1.c30 struct timespec tssleepfor, tsstorage; in main() local
48 tssleepfor.tv_sec = sleepsec; in main()
49 tssleepfor.tv_nsec = 0; in main()
50 if (nanosleep(&tssleepfor, &tsstorage) == -1) { in main()
D2-1.c19 struct timespec tssleepfor, tsstorage, tsbefore, tsafter; in main() local
33 tssleepfor.tv_sec = 0; in main()
35 tssleepfor.tv_nsec = sleepnsec[i]; in main()
36 if (nanosleep(&tssleepfor, &tsstorage) != 0) { in main()
D1-3.c26 struct timespec tssleepfor, tsstorage, tsbefore, tsafter; in main() local
49 tssleepfor.tv_sec = sleepsec; in main()
50 tssleepfor.tv_nsec = 0; in main()
51 nanosleep(&tssleepfor, &tsstorage); in main()
D7-2.c32 struct timespec tssleepfor, tsstorage, tsbefore, tsafter; in main() local
56 tssleepfor.tv_sec = sleepsec; in main()
57 tssleepfor.tv_nsec = 0; in main()
58 if (nanosleep(&tssleepfor, &tsstorage) != -1) { in main()