Searched defs:seconds (Results 1 - 20 of 20) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dtime.c27 * POSIX:2008 section 4.15 defines "seconds since the Epoch" as an
28 * abstract measure approximating the number of seconds that have
29 * elapsed since the Epoch, excluding leap seconds. The formula given
104 * Calculate seconds since the Epoch
112 time_t seconds; local
123 /* Calculate seconds since the Epoch */
128 seconds = ( ( ( ( time_t ) days_since_epoch ) * ( ( time_t ) 86400 ) ) +
133 tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, seconds,
136 return seconds;
H A Dexec.c543 COMMAND_DESC ( struct sleep_options, sleep_opts, 1, 1, "<seconds>" );
554 unsigned int seconds; local
563 /* Parse number of seconds */
564 if ( ( rc = parse_integer ( argv[optind], &seconds ) ) != 0 )
567 /* Delay for specified number of seconds */
569 delay = ( seconds * TICKS_PER_SEC );
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/java_api/src/
H A DTestDrop.java43 static int seconds; field in class:TestDrop
48 if (seconds <= 0) {
58 }, seconds * 1000L);
108 System.err.println("usage: java TestDrop [ seconds ]");
117 seconds = Integer.parseInt(args[0]);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/
H A Dinterval.cpp59 PRIntn msecs, seconds, loops, iterations = DEFAULT_ITERATIONS; local
62 for (seconds = 0; seconds < 10; ++seconds)
64 timeout = RCInterval::FromSeconds(seconds);
79 output, "Waiting %u seconds took %s%u milliseconds\n",
80 seconds, ((elapsed < timeout)? "**" : ""),
85 for (seconds = 0; seconds < 10; ++seconds)
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c62 int i = 0, seconds; local
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/
H A Dprinrval.h156 NSPR_API(PRIntervalTime) PR_SecondsToInterval(PRUint32 seconds); variable
/vbox/src/VBox/Frontends/VirtualBox/src/widgets/
H A DUIProgressDialog.cpp248 long seconds; local
253 seconds = newTime < 0 ? 0 : newTime;
254 minutes = seconds / 60;
255 seconds -= minutes * 60;
264 QString strSeconds = VBoxGlobal::secondsToString(seconds);
287 else if (minutes > 0 && seconds > 5)
291 else if (seconds > 5)
293 else if (seconds > 0)
294 m_pEtaLbl->setText(tr("A few seconds remaining"));
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/
H A Drcinrval.h93 static PRIntervalTime FromSeconds(PRUint32 seconds);
160 inline PRIntervalTime RCInterval::FromSeconds(PRUint32 seconds) argument
161 { return PR_SecondsToInterval(seconds); }
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dinrval.c145 PRInt32 seconds; local
150 for (seconds = 0; seconds < 10; ++seconds)
152 PRIntervalTime ticks = PR_SecondsToInterval(seconds);
163 "TestIntervals: %swaiting %ld seconds took %ld msecs\n",
164 ((rv == PR_SUCCESS) ? "" : "FAILED "), seconds, delta);
/vbox/src/VBox/RDP/client-1.8.3/
H A Ddisk.c180 /* Convert seconds since 1970 to a filetime */
182 seconds_since_1970_to_filetime(time_t seconds, uint32 * high, uint32 * low) argument
186 ticks = (seconds + 11644473600LL) * 10000000;
191 /* Convert seconds since 1970 back to filetime */
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dntio.c281 * temporary hack to poll the runq every 5 seconds because of bug in
286 * right cpu. This is a hack to poll the runq every 5 seconds.
1506 INT seconds; local
1507 INT bytes = sizeof(seconds);
1514 (char *)&seconds,
1517 PRIntervalTime elapsed = PR_SecondsToInterval(seconds);
1519 if (seconds == 0xffffffff)
2019 INT seconds; local
2020 INT bytes = sizeof(seconds);
2029 (char *) &seconds,
[all...]
/vbox/src/libs/xpcom18a4/xpcom/io/
H A DnsLocalFileOSX.cpp303 // 2082844800 is the difference in seconds between those dates
2256 // Start with seconds since Jan. 1, 1904 GMT
2271 PRInt64 seconds = (nsprTime / kMillisecsPerSec) + kJanuaryFirst1970Seconds; local
2272 utcTime.highSeconds = (UInt16)((PRUint64)seconds >> 32);
2273 utcTime.lowSeconds = (UInt32)seconds;
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/include/
H A Dpxe_api.h339 * Number of seconds since the client began the DHCP
342 UINT16_t seconds; member in struct:bootph
/vbox/src/VBox/Main/cbinding/
H A DVBoxCAPI_v3_0.h308 NSPR_API(PRIntervalTime) PR_SecondsToInterval(PRUint32 seconds); variable
H A DVBoxCAPI_v3_1.h308 NSPR_API(PRIntervalTime) PR_SecondsToInterval(PRUint32 seconds); variable
H A DVBoxCAPI_v3_2.h308 NSPR_API(PRIntervalTime) PR_SecondsToInterval(PRUint32 seconds); variable
H A DVBoxCAPI_v4_0.h308 NSPR_API(PRIntervalTime) PR_SecondsToInterval(PRUint32 seconds); variable
H A DVBoxCAPI_v4_1.h308 NSPR_API(PRIntervalTime) PR_SecondsToInterval(PRUint32 seconds); variable
H A DVBoxCAPI_v4_2.h308 NSPR_API(PRIntervalTime) PR_SecondsToInterval(PRUint32 seconds); variable
H A DVBoxCAPI_v4_3.h372 NSPR_API(PRIntervalTime) PR_SecondsToInterval(PRUint32 seconds); variable

Completed in 366 milliseconds