Searched refs:msecs (Results 1 - 24 of 24) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dtimer.c26 * @v msecs Number of milliseconds for which to delay
28 void mdelay ( unsigned long msecs ) {
29 while ( msecs-- )
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dtimers.h80 void sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_name);
81 #define sys_timeout(msecs, handler, arg) sys_timeout_debug(msecs, handler, arg, #handler)
83 void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg);
H A Dtcpip.h128 err_t tcpip_timeout(u32_t msecs, sys_timeout_handler h, void *arg);
172 u32_t msecs; member in struct:tcpip_msg::__anon14920::__anon14923
/vbox/src/VBox/Runtime/r0drv/os2/
H A Dtime-r0drv-os2.cpp43 return g_pGIS->msecs * UINT64_C(1000000);
50 return g_pGIS->msecs;
57 return g_pGIS->msecs * UINT64_C(1000000);
64 return g_pGIS->msecs;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/
H A Dinterval.cpp59 PRIntn msecs, seconds, loops, iterations = DEFAULT_ITERATIONS; local
105 for (msecs = 10; msecs < 100; msecs += 10)
107 timeout = RCInterval::FromMilliseconds(msecs);
126 output, "Waiting %u msecs took %s%u milliseconds average\n",
127 msecs, ((elapsed < timeout)? "**" : ""), elapsed.ToMilliseconds());
/vbox/src/VBox/Devices/PC/ipxe/src/include/
H A Dunistd.h37 extern void mdelay ( unsigned long msecs );
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Dmucurses_test.c7 void mdelay( int msecs );
61 void mdelay ( int msecs ) {
62 usleep( msecs * 1000 );
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Ddhcp.c148 u16_t msecs = 10 * 1000; local
151 dhcp->request_timeout = (msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS;
152 LWIP_DEBUGF(DHCP_DEBUG | DBG_TRACE | DBG_STATE, ("dhcp_handle_nak(): set request timeout %"U16_F" msecs\n", msecs));
167 u16_t msecs; local
177 msecs = 500;
178 dhcp->request_timeout = (msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS;
179 LWIP_DEBUGF(DHCP_DEBUG | DBG_TRACE | DBG_STATE, ("dhcp_check(): set request timeout %"U16_F" msecs\n", msecs));
219 u32_t msecs; local
668 u16_t msecs; local
715 u16_t msecs; local
832 u16_t msecs; local
887 u16_t msecs; local
940 u16_t msecs; local
[all...]
H A Dsys.c157 sys_timeout(u32_t msecs, sys_timeout_handler h, void *arg) argument
169 timeout->time = msecs;
173 LWIP_DEBUGF(SYS_DEBUG, ("sys_timeout: %p msecs=%"U32_F" h=%p arg=%p\n",
174 (void *)timeout, msecs, (void *)(uintptr_t)h, (void *)arg));
183 if (timeouts->next->time > msecs) {
184 timeouts->next->time -= msecs;
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dtimers.c358 * @param msecs time in milliseconds after that the timer should expire
359 * @param handler callback function to call when msecs have elapsed
364 sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_name) argument
367 sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg)
395 timeout->time = msecs + diff;
397 timeout->time = msecs;
401 LWIP_DEBUGF(TIMERS_DEBUG, ("sys_timeout: %p msecs=%"U32_F" handler=%s arg=%p\n",
402 (void *)timeout, msecs, handler_name, (void *)arg));
410 if (next_timeout->time > msecs) {
411 next_timeout->time -= msecs;
[all...]
H A Ddhcp.c229 u16_t msecs; local
240 msecs = 500;
241 dhcp->request_timeout = (msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS;
242 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_check(): set request timeout %"U16_F" msecs\n", msecs));
287 u16_t msecs; local
327 msecs = (dhcp->tries < 6 ? 1 << dhcp->tries : 60) * 1000;
328 dhcp->request_timeout = (msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS;
329 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_select(): set request timeout %"U16_F" msecs\n", msecs));
834 u16_t msecs; local
874 u16_t msecs; local
1024 u16_t msecs; local
1078 u16_t msecs; local
1128 u16_t msecs; local
1170 u16_t msecs; local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/
H A Dos2poll.c73 unsigned long msecs;
252 msecs = 0;
255 msecs = -1;
258 msecs = PR_IntervalToMilliseconds(remaining);
267 ready = os2_select(socks, rd, wt, ex, msecs);
H A Dos2cv.c306 ULONG msecs = (timeout == PR_INTERVAL_NO_TIMEOUT) ? local
324 rv = DosWaitEventSem(thred->md.blocked_sema, msecs);
H A Dos2io.c85 PRUint32 msecs = (ticks == PR_INTERVAL_NO_TIMEOUT) ? local
87 rv = DosWaitEventSem(thread->md.blocked_sema, msecs);
/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsTimelineService.cpp258 PRInt32 secs, msecs; local
272 if (timeStr != NULL && 2 == PR_sscanf(timeStr, "%d.%d", &secs, &msecs)) {
275 LL_MUL(tmp2, (PRInt64)msecs, 1000);
303 static void ParseTime(PRTime tm, PRInt32& secs, PRInt32& msecs) argument
312 LL_L2I(msecs, llmsecs);
335 PRInt32 secs, msecs; local
338 ParseTime(tm, secs, msecs);
345 secs, msecs, PR_GetCurrentThread(), pbuf);
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dsys.h94 void sys_timeout(u32_t msecs, sys_timeout_handler h, void *arg);
/vbox/src/VBox/Devices/Network/lwip-new/src/api/
H A Dtcpip.c129 sys_timeout(msg->msg.tmo.msecs, msg->msg.tmo.h, msg->msg.tmo.arg);
267 tcpip_timeout(u32_t msecs, sys_timeout_handler h, void *arg) argument
278 msg->msg.tmo.msecs = msecs;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/
H A Duxpoll.c66 PRIntn index, msecs; local
188 case PR_INTERVAL_NO_WAIT: msecs = 0; break;
189 case PR_INTERVAL_NO_TIMEOUT: msecs = -1; break;
191 msecs = PR_IntervalToMilliseconds(timeout);
196 ready = _MD_POLL(syspoll, npds, msecs);
212 msecs = PR_IntervalToMilliseconds(remaining);
H A Dirix.c540 int msecs; local
543 msecs = -1;
545 msecs = PR_IntervalToMilliseconds(timeout);
576 rv = _MD_POLL(&pfd, 1, msecs);
H A Dunix.c633 int msecs; local
649 msecs = _PR_INTERRUPT_CHECK_INTERVAL_SECS * 1000;
657 rv = _MD_POLL(&pfd, 1, msecs);
695 msecs = PR_IntervalToMilliseconds(remaining);
696 if (msecs > _PR_INTERRUPT_CHECK_INTERVAL_SECS * 1000) {
698 msecs = _PR_INTERRUPT_CHECK_INTERVAL_SECS * 1000;
700 rv = _MD_POLL(&pfd, 1, msecs);
736 now += PR_MillisecondsToInterval(msecs);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw95cv.c266 DWORD msecs = (timeout == PR_INTERVAL_NO_TIMEOUT) ? local
280 rv = WaitForSingleObject(thred->md.blocked_sema, msecs);
H A Dw95io.c134 PRUint32 msecs = (ticks == PR_INTERVAL_NO_TIMEOUT) ? local
136 rv = WaitForSingleObject(thread->md.blocked_sema, msecs);
H A Dntio.c485 PRUint32 msecs = (ticks == PR_INTERVAL_NO_TIMEOUT) ? local
491 rv = WaitForSingleObject(thread->md.blocked_sema, msecs);
533 PRUint32 msecs = (ticks == PR_INTERVAL_NO_TIMEOUT) ? local
535 rv = WaitForSingleObject(thread->md.blocked_sema, msecs);
637 PRUint32 msecs = (ticks == PR_INTERVAL_NO_TIMEOUT) ? local
645 FALSE, msecs);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/
H A Dptio.c444 PRInt32 msecs; local
529 msecs = (PRInt32)PR_IntervalToMilliseconds(remaining);
530 if (msecs > PT_DEFAULT_POLL_MSEC) {
532 msecs = PT_DEFAULT_POLL_MSEC;
534 tv.tv_sec = msecs/PR_MSEC_PER_SEC;
535 tv.tv_usec = (msecs % PR_MSEC_PER_SEC) * PR_USEC_PER_MSEC;
564 now += PR_MillisecondsToInterval(msecs);
589 PRInt32 msecs; local
607 msecs = PT_DEFAULT_POLL_MSEC;
617 rv = poll(&tmp_pfd, 1, msecs);
3762 PRIntn index, msecs; local
4018 PRIntn index, msecs, maxfd = 0; local
[all...]

Completed in 298 milliseconds