| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/ |
| 10-1.c | 35 struct timespec ts, ts_2; local 47 if (clock_gettime(CLOCK_REALTIME, &ts) != 0) { 51 ts.tv_sec += SLEEP_SEC; 52 ts.tv_nsec = 0; 54 ts.tv_sec = time(NULL); 55 ts.tv_sec += SLEEP_SEC; 56 ts.tv_nsec = 0; 59 rc = sem_timedwait(&mysemp, &ts); 75 if (ts_2.tv_sec == ts.tv_sec) {
|
| 2-1.c | 33 struct timespec ts; local 45 ts.tv_sec = time(NULL) + 2; 46 ts.tv_nsec = 0; 48 if (sem_timedwait(&mysemp, &ts) == -1) {
|
| 2-2.c | 35 struct timespec ts; local 43 ts.tv_sec = time(NULL) + 1; 44 ts.tv_nsec = 0; 47 sts = sem_timedwait(&mysemp, &ts);
|
| 3-1.c | 36 struct timespec ts; local 46 ts.tv_sec = time(NULL); 47 ts.tv_nsec = 0; 49 while (sem_timedwait(&mysemp, &ts) == -1) { 50 ts.tv_sec += 1; 51 // printf("%s \n", asctime(localtime(&ts.tv_sec)));
|
| 4-1.c | 32 struct timespec ts; local 40 ts.tv_sec = time(NULL) + 1; 41 ts.tv_nsec = 0; 44 sts = sem_timedwait(&mysemp, &ts);
|
| 6-1.c | 33 struct timespec ts; local 40 ts.tv_sec = time(NULL); 41 ts.tv_nsec = -3; 43 sts = sem_timedwait(&mysemp, &ts);
|
| 6-2.c | 35 struct timespec ts; local 42 ts.tv_sec = time(NULL); 43 ts.tv_nsec = NANOSEC; 45 sts = sem_timedwait(&mysemp, &ts);
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/ |
| 4-1.c | 40 struct timespec ts; local 45 ts.tv_sec = 0; 46 ts.tv_nsec = 0; 64 if (sigtimedwait(&selectset, NULL, &ts) != SIGTOTEST) {
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/ |
| 3-1.c | 37 struct timespec ts; local 54 ts.tv_sec = SLEEPTIME; 55 ts.tv_nsec = 0; 56 if (nanosleep(&ts, NULL) == -1) {
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/ |
| 2-2.c | 40 struct timespec ts, tsres; local 89 ts.tv_nsec = VALUENSEC + ((EXPECTEDOVERRUNS) * its.it_interval.tv_nsec); 90 ts.tv_sec = 0; 91 if (nanosleep(&ts, NULL) != 0) {
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/ |
| 1-3.c | 37 struct timespec ts; local 58 ts.tv_sec = 0; 59 ts.tv_nsec = SLEEPNSEC; 60 if (nanosleep(&ts, NULL)) { 82 deltans = (itsset.it_value.tv_nsec - ts.tv_nsec) -
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
| 3-1.c | 46 struct timespec ts, tsleft; local 62 ts.tv_sec = SLEEPDELTA; 63 ts.tv_nsec = 0; 84 if (nanosleep(&ts, &tsleft) == -1) {
|
| 3-2.c | 38 struct timespec ts; local 87 ts.tv_sec = TIMEREXPIRE; 88 ts.tv_nsec = 0; 90 if (nanosleep(&ts, NULL) == -1) {
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/fork/ |
| testfrmw.c | 49 char *ts = "[??:??:??]"; local 57 printf(ts);
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cancel/ |
| testfrmw.c | 49 char *ts = "[??:??:??]"; local 57 printf(ts);
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
| testfrmw.c | 49 char *ts = "[??:??:??]"; local 57 printf(ts);
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/ |
| testfrmw.c | 49 char *ts = "[??:??:??]"; local 57 printf(ts);
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/ |
| testfrmw.c | 49 char *ts = "[??:??:??]"; local 57 printf(ts);
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/ |
| testfrmw.c | 49 char *ts = "[??:??:??]"; local 57 printf(ts);
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_kill/ |
| testfrmw.c | 49 char *ts = "[??:??:??]"; local 57 printf(ts);
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/ |
| testfrmw.c | 49 char *ts = "[??:??:??]"; local 57 printf(ts);
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_once/ |
| testfrmw.c | 49 char *ts = "[??:??:??]"; local 57 printf(ts);
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/ |
| testfrmw.c | 49 char *ts = "[??:??:??]"; local 57 printf(ts);
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/sem_getvalue/ |
| testfrmw.c | 49 char *ts = "[??:??:??]"; local 57 printf(ts);
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/ |
| testfrmw.c | 49 char *ts = "[??:??:??]"; local 57 printf(ts);
|