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