/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/ |
A D | tst-rwlock6.c | 41 struct timeval tv; in tf() local 42 (void) gettimeofday (&tv, NULL); in tf() 45 TIMEVAL_TO_TIMESPEC (&tv, &ts); in tf() 74 timersub (&tv2, &tv, &tv); in tf() 76 if (tv.tv_usec < 200000) in tf() 82 (void) gettimeofday (&tv, NULL); in tf() 83 TIMEVAL_TO_TIMESPEC (&tv, &ts); in tf() 139 struct timeval tv; in do_test() local 143 TIMEVAL_TO_TIMESPEC (&tv, &ts); in do_test() 158 TIMEVAL_TO_TIMESPEC (&tv, &ts); in do_test() [all …]
|
A D | tst-rwlock7.c | 41 struct timeval tv; in tf() local 42 (void) gettimeofday (&tv, NULL); in tf() 45 TIMEVAL_TO_TIMESPEC (&tv, &ts); in tf() 70 timersub (&tv2, &tv, &tv); in tf() 72 if (tv.tv_usec < 200000) in tf() 78 (void) gettimeofday (&tv, NULL); in tf() 79 TIMEVAL_TO_TIMESPEC (&tv, &ts); in tf() 133 struct timeval tv; in do_test() local 134 (void) gettimeofday (&tv, NULL); in do_test() 137 TIMEVAL_TO_TIMESPEC (&tv, &ts); in do_test()
|
A D | tst-mutex5.c | 37 struct timeval tv; in do_test() local 78 gettimeofday (&tv, NULL); in do_test() 79 TIMEVAL_TO_TIMESPEC (&tv, &ts); in do_test() 100 tv2.tv_sec -= tv.tv_sec; in do_test() 101 tv2.tv_usec -= tv.tv_usec; in do_test() 124 (void) gettimeofday (&tv, NULL); in do_test() 125 TIMEVAL_TO_TIMESPEC (&tv, &ts); in do_test() 149 (void) gettimeofday (&tv, NULL); in do_test() 150 TIMEVAL_TO_TIMESPEC (&tv, &ts); in do_test() 161 timersub (&tv2, &tv, &tv2); in do_test()
|
A D | tst-cond9.c | 49 struct timeval tv; in tf() local 50 (void) gettimeofday (&tv, NULL); in tf() 53 TIMEVAL_TO_TIMESPEC (&tv, &ts); in tf() 96 struct timeval tv; in do_test() local 97 (void) gettimeofday (&tv, NULL); in do_test() 100 TIMEVAL_TO_TIMESPEC (&tv, &ts); in do_test()
|
A D | tst-join3.c | 62 struct timeval tv; in do_test() local 63 (void) gettimeofday (&tv, NULL); in do_test() 64 TIMEVAL_TO_TIMESPEC (&tv, &ts); in do_test() 91 (void) gettimeofday (&tv, NULL); in do_test() 92 TIMEVAL_TO_TIMESPEC (&tv, &ts); in do_test()
|
A D | tst-rwlock9.c | 59 struct timeval tv; in writer_thread() local 60 (void) gettimeofday (&tv, NULL); in writer_thread() 61 TIMEVAL_TO_TIMESPEC (&tv, &ts); in writer_thread() 113 struct timeval tv; in reader_thread() local 114 (void) gettimeofday (&tv, NULL); in reader_thread() 115 TIMEVAL_TO_TIMESPEC (&tv, &ts); in reader_thread()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/rpc/ |
A D | clnt_generic.c | 59 struct timeval tv; in clnt_create() local 76 tv.tv_sec = 25; in clnt_create() 77 tv.tv_usec = 0; in clnt_create() 78 clnt_control (client, CLSET_TIMEOUT, (char *)&tv); in clnt_create() 137 tv.tv_sec = 5; in clnt_create() 138 tv.tv_usec = 0; in clnt_create() 148 tv.tv_sec = 25; in clnt_create() 149 clnt_control (client, CLSET_TIMEOUT, (char *)&tv); in clnt_create() 162 tv.tv_sec = 25; in clnt_create() 163 tv.tv_usec = 0; in clnt_create() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/arm/ |
A D | lowlevellock.c | 68 struct timeval tv; in __lll_timedlock_wait() local 71 (void) gettimeofday (&tv, NULL); in __lll_timedlock_wait() 74 rt.tv_sec = abstime->tv_sec - tv.tv_sec; in __lll_timedlock_wait() 75 rt.tv_nsec = abstime->tv_nsec - tv.tv_usec * 1000; in __lll_timedlock_wait() 106 struct timeval tv; in __lll_timedwait_tid() local 110 (void) gettimeofday (&tv, NULL); in __lll_timedwait_tid() 113 rt.tv_sec = abstime->tv_sec - tv.tv_sec; in __lll_timedwait_tid() 114 rt.tv_nsec = abstime->tv_nsec - tv.tv_usec * 1000; in __lll_timedwait_tid()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/ |
A D | lowlevellock.c | 62 struct timeval tv; in __lll_timedlock_wait() local 65 (void) gettimeofday (&tv, NULL); in __lll_timedlock_wait() 69 rt.tv_sec = abstime->tv_sec - tv.tv_sec; in __lll_timedlock_wait() 70 rt.tv_nsec = abstime->tv_nsec - tv.tv_usec * 1000; in __lll_timedlock_wait() 99 struct timeval tv; in __lll_timedwait_tid() local 103 (void) __gettimeofday (&tv, NULL); in __lll_timedwait_tid() 106 rt.tv_sec = abstime->tv_sec - tv.tv_sec; in __lll_timedwait_tid() 107 rt.tv_nsec = abstime->tv_nsec - tv.tv_usec * 1000; in __lll_timedwait_tid()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/ |
A D | lowlevellock.c | 64 struct timeval tv; in __lll_timedlock_wait() local 68 (void) gettimeofday (&tv, NULL); in __lll_timedlock_wait() 71 rt.tv_sec = abstime->tv_sec - tv.tv_sec; in __lll_timedlock_wait() 72 rt.tv_nsec = abstime->tv_nsec - tv.tv_usec * 1000; in __lll_timedlock_wait() 105 struct timeval tv; in __lll_timedwait_tid() local 109 (void) gettimeofday (&tv, NULL); in __lll_timedwait_tid() 112 rt.tv_sec = abstime->tv_sec - tv.tv_sec; in __lll_timedwait_tid() 113 rt.tv_nsec = abstime->tv_nsec - tv.tv_usec * 1000; in __lll_timedwait_tid()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/metag/ |
A D | lowlevellock.c | 69 struct timeval tv; in __lll_timedlock_wait() local 72 (void) gettimeofday (&tv, NULL); in __lll_timedlock_wait() 75 rt.tv_sec = abstime->tv_sec - tv.tv_sec; in __lll_timedlock_wait() 76 rt.tv_nsec = abstime->tv_nsec - tv.tv_usec * 1000; in __lll_timedlock_wait() 107 struct timeval tv; in __lll_timedwait_tid() local 111 (void) gettimeofday (&tv, NULL); in __lll_timedwait_tid() 114 rt.tv_sec = abstime->tv_sec - tv.tv_sec; in __lll_timedwait_tid() 115 rt.tv_nsec = abstime->tv_nsec - tv.tv_usec * 1000; in __lll_timedwait_tid()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/ |
A D | settimeofday.c | 15 _syscall2(int, settimeofday, const struct timeval *, tv, 22 int settimeofday(const struct timeval *tv, const struct timezone *tz) 26 if (tv == NULL) { 31 if (tz != NULL || tv->tv_usec % 1000000 != 0) { 36 when = tv->tv_sec + (tv->tv_usec / 1000000);
|
A D | stime.c | 23 struct timeval tv; 29 tv.tv_sec = *when; 30 tv.tv_usec = 0; 31 return settimeofday(&tv, (struct timezone *) 0);
|
A D | dl-osinfo.h | 57 struct timeval tv; in _dl_setup_stack_chk_guard() local 58 if (GETTIMEOFDAY(&tv, NULL) != (-1)) in _dl_setup_stack_chk_guard() 59 ret ^= tv.tv_usec ^ tv.tv_sec; in _dl_setup_stack_chk_guard()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/time/ |
A D | ftime.c | 24 struct timeval tv; in ftime() local 30 gettimeofday (&tv, &tz); in ftime() 32 timebuf->time = tv.tv_sec; in ftime() 33 timebuf->millitm = (tv.tv_usec + 999) / 1000; in ftime()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/ |
A D | pthread_cond_timedwait.c | 112 struct timeval tv; in __pthread_cond_timedwait() local 113 (void) gettimeofday (&tv, NULL); in __pthread_cond_timedwait() 116 rt.tv_sec = abstime->tv_sec - tv.tv_sec; in __pthread_cond_timedwait() 117 rt.tv_nsec = abstime->tv_nsec - tv.tv_usec * 1000; in __pthread_cond_timedwait() 128 struct timeval tv; in __pthread_cond_timedwait() 129 (void) gettimeofday (&tv, NULL); in __pthread_cond_timedwait() 132 rt.tv_sec = abstime->tv_sec - tv.tv_sec; in __pthread_cond_timedwait() 133 rt.tv_nsec = abstime->tv_nsec - tv.tv_usec * 1000; in __pthread_cond_timedwait()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/unistd/ |
A D | usleep.c | 26 struct timeval tv; in usleep() local 28 tv.tv_sec = (long int) (usec / 1000000); in usleep() 29 tv.tv_usec = (long int) (usec % 1000000); in usleep() 30 return select(0, NULL, NULL, NULL, &tv); in usleep()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/include/sys/ |
A D | time.h | 42 # define TIMEVAL_TO_TIMESPEC(tv, ts) { \ argument 43 (ts)->tv_sec = (tv)->tv_sec; \ 44 (ts)->tv_nsec = (tv)->tv_usec * 1000; \ 46 # define TIMESPEC_TO_TIMEVAL(tv, ts) { \ argument 47 (tv)->tv_sec = (ts)->tv_sec; \ 48 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libutil/ |
A D | logout.c | 57 struct timeval tv; in logout() local 58 gettimeofday (&tv, NULL); in logout() 59 ut->ut_tv.tv_sec = tv.tv_sec; in logout() 60 ut->ut_tv.tv_usec = tv.tv_usec; in logout()
|
A D | logwtmp.c | 30 struct timeval tv; in logwtmp() local 31 gettimeofday(&tv, NULL); in logwtmp() 32 lutmp.ut_tv.tv_sec = tv.tv_sec; in logwtmp() 33 lutmp.ut_tv.tv_usec = tv.tv_usec; in logwtmp()
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-5/src/c++11/ |
A D | compatibility-chrono.cc | 74 timeval tv; in now() local 76 gettimeofday(&tv, 0); in now() 77 return time_point(duration(chrono::seconds(tv.tv_sec) in now() 78 + chrono::microseconds(tv.tv_usec))); in now()
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-8/src/c++11/ |
A D | compatibility-chrono.cc | 74 timeval tv; in now() local 76 gettimeofday(&tv, 0); in now() 77 return time_point(duration(chrono::seconds(tv.tv_sec) in now() 78 + chrono::microseconds(tv.tv_usec))); in now()
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-6/src/c++11/ |
A D | compatibility-chrono.cc | 74 timeval tv; in now() local 76 gettimeofday(&tv, 0); in now() 77 return time_point(duration(chrono::seconds(tv.tv_sec) in now() 78 + chrono::microseconds(tv.tv_usec))); in now()
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-9/src/c++11/ |
A D | futex.cc | 61 struct timeval tv; in _M_futex_wait_until() local 62 gettimeofday (&tv, NULL); in _M_futex_wait_until() 65 rt.tv_sec = __s.count() - tv.tv_sec; in _M_futex_wait_until() 66 rt.tv_nsec = __ns.count() - tv.tv_usec * 1000; in _M_futex_wait_until()
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-7/src/c++11/ |
A D | compatibility-chrono.cc | 74 timeval tv; in now() local 76 gettimeofday(&tv, 0); in now() 77 return time_point(duration(chrono::seconds(tv.tv_sec) in now() 78 + chrono::microseconds(tv.tv_usec))); in now()
|