/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/ |
H A D | interval.cpp | 59 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/Network/lwip/src/core/ |
H A D | sys.c | 157 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;
|
H A D | dhcp.c | 148 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...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | w95cv.c | 266 DWORD msecs = (timeout == PR_INTERVAL_NO_TIMEOUT) ? local 280 rv = WaitForSingleObject(thred->md.blocked_sema, msecs);
|
H A D | w95io.c | 134 PRUint32 msecs = (ticks == PR_INTERVAL_NO_TIMEOUT) ? local 136 rv = WaitForSingleObject(thread->md.blocked_sema, msecs);
|
H A D | ntio.c | 485 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/VBox/Devices/Network/lwip-new/src/api/ |
H A D | tcpip.c | 129 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/VBox/Devices/Network/lwip-new/src/core/ |
H A D | timers.c | 358 * @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 D | dhcp.c | 229 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/VBox/Devices/Network/lwip-new/src/include/lwip/ |
H A D | tcpip.h | 128 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/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | uxpoll.c | 66 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 D | irix.c | 540 int msecs; local 543 msecs = -1; 545 msecs = PR_IntervalToMilliseconds(timeout); 576 rv = _MD_POLL(&pfd, 1, msecs);
|
H A D | unix.c | 633 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/os2/ |
H A D | os2cv.c | 306 ULONG msecs = (timeout == PR_INTERVAL_NO_TIMEOUT) ? local 324 rv = DosWaitEventSem(thred->md.blocked_sema, msecs);
|
H A D | os2io.c | 85 PRUint32 msecs = (ticks == PR_INTERVAL_NO_TIMEOUT) ? local 87 rv = DosWaitEventSem(thread->md.blocked_sema, msecs);
|
/vbox/src/libs/xpcom18a4/xpcom/ds/ |
H A D | nsTimelineService.cpp | 258 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/libs/xpcom18a4/nsprpub/pr/src/pthreads/ |
H A D | ptio.c | 444 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...] |