Searched refs:tssleepfor (Results 1 – 11 of 11) sorted by relevance
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/ |
D | 10000-1.c | 49 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 …]
|
D | 5-1.c | 17 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()
|
D | 6-1.c | 20 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()
|
D | 1-1.c | 17 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()
|
D | 1-2.c | 20 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()
|
D | 5-2.c | 29 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()
|
D | 3-1.c | 33 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()
|
D | 7-1.c | 30 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()
|
D | 2-1.c | 19 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()
|
D | 1-3.c | 26 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()
|
D | 7-2.c | 32 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()
|