/vbox/src/VBox/Devices/EFI/Firmware/StdLib/PosixLib/Gen/ |
H A D | utime.c | 60 struct timeval tv[2], *tvp; local 67 tv[0].tv_sec = times->actime; 68 tv[1].tv_sec = times->modtime; 69 tv[0].tv_usec = tv[1].tv_usec = 0; 70 tvp = tv;
|
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | RTTimeNow-posix.cpp | 47 struct timeval tv; local 48 gettimeofday(&tv, NULL); 49 return RTTimeSpecSetTimeval(pTime, &tv);
|
H A D | RTTimeSet-posix.cpp | 45 struct timeval tv; local 46 if (settimeofday(RTTimeSpecGetTimeval(pTime, &tv), NULL) == 0)
|
H A D | time-posix.cpp | 56 struct timeval tv; local 57 gettimeofday(&tv, NULL); 58 return (uint64_t)tv.tv_sec * RT_NS_1SEC_64 59 + (uint64_t)(tv.tv_usec * RT_NS_1US);
|
H A D | semmutex-posix.cpp | 75 struct timeval tv; local 82 gettimeofday(&tv, NULL); 84 ts.tv_sec = pTsAbsTimeout->tv_sec - tv.tv_sec; 85 ts.tv_nsec = pTsAbsTimeout->tv_nsec - tv.tv_sec; 284 struct timeval tv = {0,0}; local 285 gettimeofday(&tv, NULL); 286 ts.tv_sec = tv.tv_sec; 287 ts.tv_nsec = tv.tv_usec * 1000;
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/ |
H A D | brng.c | 51 struct timeval tv; local 55 GETTIMEOFDAY(&tv); 58 s = _pr_CopyLowBits((char*)buf+n, size, &tv.tv_usec, sizeof(tv.tv_usec)); 63 s = _pr_CopyLowBits((char*)buf+n, size, &tv.tv_sec, sizeof(tv.tv_usec));
|
H A D | beos.c | 111 struct timeval tv; local 114 GETTIMEOFDAY(&tv); 116 LL_I2L(s, tv.tv_sec); 117 LL_I2L(us, tv.tv_usec);
|
/vbox/src/VBox/Additions/linux/testcase/ |
H A D | TimesyncBackdoor.c | 82 struct timeval tv; local 83 tv.tv_sec = time / (unsigned long long)1000; 84 tv.tv_usec = (time % (unsigned long long)1000) * 1000; 85 settimeofday(&tv, NULL);
|
/vbox/src/VBox/Runtime/r3/haiku/ |
H A D | time-haiku.cpp | 80 struct timeval tv; local 81 RTTimeSpecGetTimeval(pTime, &tv); 82 set_real_time_clock(tv.tv_sec);
|
/vbox/src/VBox/Runtime/r3/darwin/ |
H A D | time-darwin.cpp | 89 struct timeval tv; local 90 gettimeofday(&tv, NULL); 91 return (uint64_t)tv.tv_sec * RT_NS_1SEC_64 92 + (uint64_t)(tv.tv_usec * RT_NS_1US); 111 struct timeval tv; local 112 gettimeofday(&tv, NULL); 113 return RTTimeSpecSetTimeval(pTime, &tv);
|
/vbox/src/VBox/Runtime/r3/linux/ |
H A D | time-linux.cpp | 127 struct timeval tv; local 128 gettimeofday(&tv, NULL); 129 return (uint64_t)tv.tv_sec * RT_NS_1SEC_64 130 + (uint64_t)(tv.tv_usec * RT_NS_1US);
|
/vbox/src/VBox/Runtime/r0drv/freebsd/ |
H A D | sleepqueue-r0drv-freebsd.h | 75 struct timeval tv; local 77 tv.tv_sec = uTimeout / UINT64_C(1000000000); 78 tv.tv_usec = (uTimeout % UINT64_C(1000000000)) / UINT64_C(1000); 80 pWait->iTimeout = tvtohz(&tv);
|
H A D | timer-r0drv-freebsd.c | 162 struct timeval tv; local 182 tv.tv_sec = u64First / 1000000000; 183 tv.tv_usec = (u64First % 1000000000) / 1000; 184 callout_reset(&pTimer->Callout, tvtohz(&tv), rtTimerFreeBSDCallback, pTimer); 244 struct timeval tv; local 250 tv.tv_sec = pTimer->u64NextTS / 1000000000; 251 tv.tv_usec = (pTimer->u64NextTS % 1000000000) / 1000; 252 callout_reset(&pTimer->Callout, tvtohz(&tv), rtTimerFreeBSDCallback, pTimer);
|
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/ |
H A D | dt_work.c | 62 struct timespec tv; local 99 tv.tv_sec = (earliest - now) / NANOSEC; 100 tv.tv_nsec = (earliest - now) % NANOSEC; 104 * Wait for either 'tv' nanoseconds to pass or to receive notification 109 (void) pthread_cond_reltimedwait_np(&dph->dph_cv, &dph->dph_lock, &tv);
|
/vbox/src/VBox/RDP/client-1.8.3/ |
H A D | rdpsnd_libao.c | 51 libao_add_fds(int *n, fd_set * rfds, fd_set * wfds, struct timeval *tv) argument 156 struct timeval tv; local 162 gettimeofday(&tv, NULL); 163 prev_s = tv.tv_sec; 164 prev_us = tv.tv_usec; 180 gettimeofday(&tv, NULL); 182 duration = ((tv.tv_sec - prev_s) * 1000000 + (tv.tv_usec - prev_us)) / 1000; 191 prev_s = tv.tv_sec; 192 prev_us = tv [all...] |
H A D | rdpsnd_alsa.c | 69 alsa_add_fds(int *n, fd_set * rfds, fd_set * wfds, struct timeval *tv) argument 354 struct timeval tv; local 360 gettimeofday(&tv, NULL); 361 prev_s = tv.tv_sec; 362 prev_us = tv.tv_usec; 383 gettimeofday(&tv, NULL); 385 duration = ((tv.tv_sec - prev_s) * 1000000 + (tv.tv_usec - prev_us)) / 1000; 395 prev_s = tv.tv_sec; 396 prev_us = tv [all...] |
H A D | rdpsnd_oss.c | 79 oss_add_fds(int *n, fd_set * rfds, fd_set * wfds, struct timeval *tv) argument
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/x86/core/linux/ |
H A D | linux_api.c | 88 int linux_gettimeofday ( struct timeval *tv, struct timezone *tz ) { argument 89 return linux_syscall ( __NR_gettimeofday, tv, tz );
|
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/tnl_dd/ |
H A D | t_dd_vertex.h | 73 } tv; member in union:__anon3745
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/ |
H A D | os2poll.c | 82 struct timeval tv, *tvp = NULL; local 242 tv.tv_sec = remaining / ticksPerSecond; 243 tv.tv_usec = PR_IntervalToMicroseconds( remaining % ticksPerSecond ); 244 tvp = &tv;
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | uxpoll.c | 295 struct timeval tv, *tvp = NULL; local 407 tv.tv_sec = remaining / ticksPerSecond; 408 tv.tv_usec = PR_IntervalToMicroseconds( remaining % ticksPerSecond ); 409 tvp = &tv;
|
H A D | uxrng.c | 331 struct timeval tv; 338 GETTIMEOFDAY(&tv); 341 s = _pr_CopyLowBits((char*)buf+n, size, &tv.tv_usec, sizeof(tv.tv_usec)); 346 s = _pr_CopyLowBits((char*)buf+n, size, &tv.tv_sec, sizeof(tv.tv_usec)); 319 struct timeval tv; local
|
H A D | uxwrap.c | 104 int select(size_t width, int *rl, int *wl, int *el, const struct timeval *tv) argument 107 const struct timeval *tv) 110 struct timeval *tv) 113 const struct timeval *tv) 115 int select(int width, fd_set *rd, fd_set *wr, fd_set *ex, struct timeval *tv) 134 if (tv != NULL && tv->tv_sec == 0 && tv->tv_usec == 0) { 136 return _MD_SELECT(width, rl, wl, el, tv); 138 return _MD_SELECT(width, rd, wr, ex, tv); [all...] |
/vbox/src/VBox/Devices/Network/slirp/dnsproxy/ |
H A D | dnsproxy.c | 215 struct timeval tv; local 283 tv.tv_sec=recursive_timeout; tv.tv_usec=0; 284 event_add(&req->timeout, &tv); 301 tv.tv_sec=authoritative_timeout; tv.tv_usec=0; 302 event_add(&req->timeout, &tv);
|
/vbox/src/VBox/Main/glue/ |
H A D | NativeEventQueue.cpp | 337 struct timeval tv = {0,0}; local 343 tv.tv_sec = cMsTimeout / 1000; 344 tv.tv_usec = (cMsTimeout % 1000) * 1000; 345 ptv = &tv;
|