/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/ |
1-1.c | 41 struct timeval currsec1, currsec2; /* Variables for saving time before variable in typeref:struct:timeval 83 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; 84 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec; 95 (long)currsec1.tv_sec, (long)currsec1.tv_usec, 115 gettimeofday(&currsec1, NULL); 118 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; 119 timeout.tv_nsec = currsec1.tv_usec * 1000; 123 TIMEOUT, (long)currsec1.tv_sec, (long)currsec1.tv_usec) [all...] |
2-1.c | 44 struct timeval currsec1, currsec2; /* Variables for saving time before variable in typeref:struct:timeval 86 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; 87 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec; 98 (long)currsec1.tv_sec, (long)currsec1.tv_usec, 125 currsec1.tv_sec = ts.tv_sec; 126 currsec1.tv_usec = ts.tv_nsec / 1000; 128 gettimeofday(&currsec1, NULL); 131 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; 132 timeout.tv_nsec = currsec1.tv_usec * 1000 [all...] |
4-1.c | 36 time_t currsec1, currsec2; /* Variables for saving time before variable
|
5-1.c | 44 time_t currsec1, currsec2; /* Variables for saving time before variable
|
5-2.c | 44 time_t currsec1, currsec2; /* Variables for saving time before variable
|
5-3.c | 40 time_t currsec1, currsec2; /* Variables for saving time before variable
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
1-1.c | 49 static struct timeval currsec1, currsec2; variable in typeref:struct:timeval 58 gettimeofday(&currsec1, NULL); 61 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; 62 timeout.tv_nsec = currsec1.tv_usec * 1000; 166 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; 167 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec; 175 (long)currsec1.tv_sec, (long)currsec1.tv_usec,
|
3-1.c | 52 static struct timeval currsec1, currsec2; variable in typeref:struct:timeval 63 currsec1.tv_sec = ts.tv_sec; 64 currsec1.tv_usec = ts.tv_nsec / 1000; 66 gettimeofday(&currsec1, NULL); 69 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; 70 timeout.tv_nsec = currsec1.tv_usec * 1000; 180 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; 181 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec; 191 (long)currsec1.tv_sec, (long)currsec1.tv_usec [all...] |
2-1.c | 46 static int currsec1, currsec2; variable 55 currsec1 = time(NULL); 58 abs_timeout.tv_sec = currsec1 - TIMEOUT;
|
5-1.c | 38 static int currsec1; variable 53 currsec1 = time(NULL); 56 abs_timeout.tv_sec = currsec1 + TIMEOUT; 97 currsec1 = time(NULL); 101 abs_timeout.tv_sec = currsec1 - TIMEOUT;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
3-1.c | 44 static struct timeval currsec1, currsec2; variable in typeref:struct:timeval 68 currsec1.tv_sec = ts.tv_sec; 69 currsec1.tv_usec = ts.tv_nsec / 1000; 71 gettimeofday(&currsec1, NULL); 74 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; 75 timeout.tv_nsec = currsec1.tv_usec * 1000; 185 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; 186 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec; 243 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; 244 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec [all...] |
1-1.c | 42 static struct timeval currsec1, currsec2; variable in typeref:struct:timeval 61 gettimeofday(&currsec1, NULL); 64 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; 65 timeout.tv_nsec = currsec1.tv_usec * 1000; 165 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; 166 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec; 222 time_diff.tv_sec = currsec2.tv_sec - currsec1.tv_sec; 223 time_diff.tv_usec = currsec2.tv_usec - currsec1.tv_usec;
|
5-1.c | 35 static int currsec1; variable 60 currsec1 = time(NULL); 63 abs_timeout.tv_sec = currsec1 + TIMEOUT; 104 currsec1 = time(NULL); 107 abs_timeout.tv_sec = currsec1 - TIMEOUT;
|