Searched defs:now (Results 1 - 25 of 60) sorted by relevance

123

/vbox/src/VBox/Devices/PC/ipxe/src/interface/linux/
H A Dlinux_time.c48 struct timeval now; local
50 linux_gettimeofday ( &now, NULL );
51 return now.tv_sec;
H A Dlinux_timer.c69 struct timeval now; local
70 linux_gettimeofday(&now, NULL);
72 unsigned long ticks = (now.tv_sec - start.tv_sec) * linux_ticks_per_sec();
73 ticks += (now.tv_usec - start.tv_usec) / (long)(1000000 / linux_ticks_per_sec());
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dformattm.c47 PRTime now; local
50 now = PR_Now();
51 PR_ExplodeTime(now, PR_LocalTimeParameters, &tod);
H A Dtime.c39 * Program to test different ways to get the time; right now it is tuned
79 hrtime_t now = gethrtime(); local
81 return itime + ((now - ihrtime) / 1000000000ll);
H A Dxnotify.c75 PRIntervalTime now = PR_IntervalNow(); local
77 PR_fprintf(err, "%6ld: %s", (now - base), msg);
/vbox/src/VBox/Devices/PC/ipxe/src/usr/
H A Dimgtrust.c49 time_t now; local
73 now = time ( NULL );
75 name, now, NULL ) ) != 0 )
H A Dpxemenu.c282 unsigned long now; local
318 now = currticks();
319 elapsed = ( now - start );
325 start = now;
/vbox/src/VBox/Devices/PC/ipxe/src/include/
H A Dtime.h41 time_t now; local
43 now = time_now();
45 *t = now;
46 return now;
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dretry.c103 unsigned long now = currticks(); local
111 runtime = ( now - timer->start );
114 timer, now, runtime );
185 unsigned long now = currticks(); local
194 used = ( now - timer->start );
H A Dvalidator.c374 time_t now; local
381 now = time ( NULL );
382 if ( ( rc = x509_validate_chain ( validator->chain, now,
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/
H A Dinterval.cpp57 RCInterval now, timeout, epoch, elapsed; local
74 now = RCInterval(RCInterval::now);
75 elapsed = now - epoch;
94 now = RCInterval(RCInterval::now);
95 elapsed = now - epoch;
120 now = RCInterval(RCInterval::now);
121 elapsed = now
[all...]
/vbox/src/libs/xpcom18a4/xpcom/tools/windows/
H A Drebasedlls.cpp44 static time_t now; variable
53 now);
76 now = time(0);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c64 hrtime_t now, last = 0, end; local
76 if ((now = gethrtime()) - last > NANOSEC) {
96 last = now;
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dres_init.c172 * now that we're doing dynamic initialization here, that we preserve
197 * has set it to something in particular, we can randomize it now.
229 * important now that the rfc1535 stuff restricts searches)
510 struct timeval now; local
512 gettimeofday(&now, NULL);
513 return (0xffff & (now.tv_sec ^ now.tv_usec /* ^ getpid() */));
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_work.c64 hrtime_t now; local
89 now = gethrtime();
91 if (earliest < now) {
99 tv.tv_sec = (earliest - now) / NANOSEC;
100 tv.tv_nsec = (earliest - now) % NANOSEC;
112 RTSemEventWait(dph->dph_event, (earliest - now) / RT_NS_1MS);
114 RTThreadSleep((earliest - now) / RT_NS_1MS);
141 hrtime_t now = gethrtime(); local
150 if (now - dtp->dt_laststatus < VBDTCAST(hrtime_t)interval)
155 dtp->dt_laststatus = now;
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/
H A Drctime.h64 typedef enum {now} Current; enumerator in enum:__anon17217
H A Drcinrval.h56 typedef enum {now, no_timeout, no_wait} RCReservedInterval; enumerator in enum:__anon17207
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/combined/
H A Dprucv.c336 ** Expire condition variable waits that are ready to expire. "now" is the current
343 PRIntervalTime elapsed, now; local
347 now = PR_IntervalNow();
348 elapsed = now - cpu->last_clock;
349 cpu->last_clock = now;
383 ** lock, so it is none of our business now.
/vbox/src/VBox/Devices/Audio/
H A Dnoaudio.c46 int64_t now; local
55 now = audio_get_clock ();
56 ticks = now - no->old_ticks;
69 no->old_ticks = now;
119 int64_t now = audio_get_clock (); local
120 int64_t ticks = now - no->old_ticks;
124 no->old_ticks = now;
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dtimers.c372 u32_t now, diff; local
382 now = sys_now();
385 timeouts_last_time = now;
387 diff = now - timeouts_last_time;
485 u32_t now; local
487 now = sys_now();
489 diff = now - timeouts_last_time;
561 could be fetched. We should now call the timeout handler and
/vbox/src/VBox/Additions/haiku/VBoxMouse/
H A DVBoxMouse.cpp293 bigtime_t now = system_time(); local
295 event->AddInt64("when", now);
/vbox/src/libs/xpcom18a4/xpcom/base/
H A DnsLeakDetector.cpp70 tm* now = localtime(&timer); local
74 now->tm_hour, now->tm_min, now->tm_sec);
85 tm* now = localtime(&timer); local
89 now->tm_hour, now->tm_min, now->tm_sec);
242 // do shutdown leaks now
/vbox/src/libs/xpcom18a4/xpcom/threads/
H A DTimerThread.cpp252 PRIntervalTime now = PR_IntervalNow(); local
258 if (!TIMER_LESS_THAN(now, timer->mTimeout + mTimeoutAdjustment)) {
276 (now >= timer->mTimeout)
277 ? PR_IntervalToMilliseconds(now - timer->mTimeout)
278 : -(PRInt32)PR_IntervalToMilliseconds(timer->mTimeout-now))
293 // Update now, as PostTimerEvent plus the locking may have taken a
295 now = PR_IntervalNow();
305 // is due now or overdue.
306 if (!TIMER_LESS_THAN(now, timeout))
308 waitFor = timeout - now;
390 PRIntervalTime now = PR_IntervalNow(); local
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/os/
H A Ddtrace_subr.c133 hrtime_t now; local
163 now = ((hrtime_t)snap.dthr_hrestime.tv_sec * (hrtime_t)NANOSEC) +
176 now += adj;
179 return (now);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/
H A Dos2sock.c138 PRIntervalTime epoch, now, elapsed, remaining; local
190 now = epoch = PR_IntervalNow();
257 now += remaining;
260 now += PR_SecondsToInterval(tv.tv_sec)
263 now += PR_MillisecondsToInterval(lTimeout);
267 now = PR_IntervalNow();
269 elapsed = (PRIntervalTime) (now - epoch);

Completed in 1525 milliseconds

123