/external/webrtc/webrtc/system_wrappers/source/ |
D | sleep.cc | 24 void SleepMs(int msecs) { in SleepMs() argument 26 Sleep(msecs); in SleepMs() 30 short_wait.tv_sec = msecs / 1000; in SleepMs() 31 short_wait.tv_nsec = (msecs % 1000) * 1000 * 1000; in SleepMs()
|
/external/vboot_reference/tests/ |
D | rsa_verify_benchmark.c | 21 double speed, msecs; in SpeedTestAlgorithm() local 72 msecs = (float) GetDurationMsecs(&ct) / NUM_OPERATIONS; in SpeedTestAlgorithm() 73 speed = 1000.0 / msecs ; in SpeedTestAlgorithm() 76 msecs, speed); in SpeedTestAlgorithm() 78 msecs); in SpeedTestAlgorithm()
|
D | sha_benchmark.c | 33 uint32_t msecs; in main() local 45 msecs = GetDurationMsecs(&ct); in main() 47 / (msecs / 10e3)); /* Mbytes/sec */ in main() 50 hash_functions[i].description, msecs, speed); in main()
|
/external/syslinux/core/lwip/src/include/lwip/ |
D | timers.h | 78 void sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_nam… 79 #define sys_timeout(msecs, handler, arg) sys_timeout_debug(msecs, handler, arg, #handler) argument 81 void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg);
|
D | tcpip.h | 106 err_t tcpip_timeout(u32_t msecs, sys_timeout_handler h, void *arg); 145 u32_t msecs; member
|
/external/syslinux/core/lwip/src/core/ |
D | dhcp.c | 215 u16_t msecs; in dhcp_check() local 226 msecs = 500; in dhcp_check() 227 dhcp->request_timeout = (msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS; in dhcp_check() 228 … | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_check(): set request timeout %"U16_F" msecs\n", msecs)); in dhcp_check() 273 u16_t msecs; in dhcp_select() local 323 msecs = (dhcp->tries < 6 ? 1 << dhcp->tries : 60) * 1000; in dhcp_select() 324 dhcp->request_timeout = (msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS; in dhcp_select() 325 …EBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_select(): set request timeout %"U16_F" msecs\n", msecs)); in dhcp_select() 832 u16_t msecs; in dhcp_decline() local 854 msecs = 10*1000; in dhcp_decline() [all …]
|
D | timers.c | 262 sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_name) in sys_timeout_debug() argument 265 sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg) in sys_timeout_debug() 278 timeout->time = msecs; in sys_timeout_debug() 282 (void *)timeout, msecs, handler_name, (void *)arg)); in sys_timeout_debug() 290 if (next_timeout->time > msecs) { in sys_timeout_debug() 291 next_timeout->time -= msecs; in sys_timeout_debug()
|
/external/ppp/pppd/plugins/radius/ |
D | util.c | 54 void rc_mdelay(int msecs) in rc_mdelay() argument 58 tv.tv_sec = (int) msecs / 1000; in rc_mdelay() 59 tv.tv_usec = (msecs % 1000) * 1000; in rc_mdelay()
|
/external/fio/ |
D | mutex.c | 144 static bool mutex_timed_out(struct timeval *t, unsigned int msecs) in mutex_timed_out() argument 149 return mtime_since(t, &now) >= msecs; in mutex_timed_out() 152 int fio_mutex_down_timeout(struct fio_mutex *mutex, unsigned int msecs) in fio_mutex_down_timeout() argument 164 t.tv_sec += msecs / 1000; in fio_mutex_down_timeout() 165 t.tv_nsec += ((msecs * 1000000ULL) % 1000000000); in fio_mutex_down_timeout() 180 if (ret == ETIMEDOUT && !mutex_timed_out(&tv_s, msecs)) in fio_mutex_down_timeout()
|
/external/syslinux/gpxe/src/util/ |
D | mucurses_test.c | 7 void mdelay( int msecs ); 61 void mdelay ( int msecs ) { in mdelay() argument 62 usleep( msecs * 1000 ); in mdelay()
|
/external/pdfium/testing/ |
D | embedder_test_timer_handling_delegate.h | 40 int SetTimer(int msecs, TimerCallback fn) override { in SetTimer() argument 43 std::pair<int, Timer>(msecs + fake_elapsed_msecs_, {id, msecs, fn})); in SetTimer()
|
D | embedder_test_mock_delegate.h | 17 MOCK_METHOD2(SetTimer, int(int msecs, TimerCallback fn)); 18 MOCK_METHOD1(KillTimer, void(int msecs));
|
D | embedder_test.h | 48 virtual int SetTimer(int msecs, TimerCallback fn) { return 0; } in SetTimer() argument 143 int msecs,
|
/external/syslinux/gpxe/src/core/ |
D | timer.c | 28 void mdelay ( unsigned long msecs ) { in mdelay() argument 29 while ( msecs-- ) in mdelay()
|
/external/ltp/lib/ |
D | tst_checkpoint.c | 104 unsigned int msecs = 0, waked = 0; in tst_checkpoint_wake() local 119 msecs++; in tst_checkpoint_wake() 121 if (msecs >= msec_timeout) { in tst_checkpoint_wake()
|
/external/libnl/src/lib/ |
D | addr.c | 112 uint64_t msecs; in parse_lifetime() local 118 if ((err = nl_str2msec(arg, &msecs)) < 0) in parse_lifetime() 122 return (msecs / 1000); in parse_lifetime()
|
/external/ltp/testcases/open_posix_testsuite/functional/semaphores/ |
D | sem_sleepingbarber.c | 45 void mdelay(unsigned msecs) in mdelay() argument 48 req.tv_sec = msecs / 1000; in mdelay() 49 req.tv_nsec = (msecs % 1000) * 1000000; in mdelay()
|
/external/libnl/python/netlink/route/ |
D | address.py | 272 msecs = capi.rtnl_addr_get_valid_lifetime(self._rtnl_addr) 273 if msecs == 0xFFFFFFFF: 276 return datetime.timedelta(seconds=msecs) 286 msecs = capi.rtnl_addr_get_preferred_lifetime(self._rtnl_addr) 287 if msecs == 0xFFFFFFFF: 290 return datetime.timedelta(seconds=msecs)
|
/external/syslinux/core/lwip/src/api/ |
D | tcpip.c | 129 sys_timeout(msg->msg.tmo.msecs, msg->msg.tmo.h, msg->msg.tmo.arg); in tcpip_thread() 242 tcpip_timeout(u32_t msecs, sys_timeout_handler h, void *arg) in tcpip_timeout() argument 253 msg->msg.tmo.msecs = msecs; in tcpip_timeout()
|
/external/sonivox/jet_tools/JetCreator/ |
D | eas.py | 406 msecs = c_int(0) 408 result = eas_dll.EAS_GetLocation(self.eas.handle, self.handle, byref(msecs)) 411 msecs = float(msecs.value) / 1000 412 eas_logger.debug('EAS_GetLocation: location=%.3f' % msecs) 413 return msecs 806 msecs = c_int(0) 808 result = eas_dll.EAS_GetRenderTime(self.handle, byref(msecs)) 811 msecs = float(msecs.value) / 1000 812 eas_logger.debug('EAS_GetRenderTime: time=%.3f' % msecs) 813 return msecs
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | semaphore.c | 65 DWORD res, full_msecs, msecs, start, ticks; in semlock_acquire() local 106 msecs = full_msecs; in semlock_acquire() 115 res = WaitForMultipleObjects(2, handles, FALSE, msecs); in semlock_acquire() 130 if (msecs != INFINITE) { in semlock_acquire() 134 msecs = full_msecs - (ticks - start); in semlock_acquire()
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_imaadpcm.c | 285 EAS_I32 secs, msecs; in IMADecoderLocate() local 307 msecs = time - (secs * 1000); in IMADecoderLocate() 310 temp = (msecs * pState->sampleRate); in IMADecoderLocate()
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | sleep.h | 20 void SleepMs(int msecs);
|
/external/libnl/include/netlink/ |
D | attr.h | 224 #define NLA_PUT_MSECS(msg, attrtype, msecs) \ argument 225 NLA_PUT_U64(msg, attrtype, msecs)
|
/external/syslinux/gpxe/src/include/ |
D | unistd.h | 37 extern void mdelay ( unsigned long msecs );
|