/third_party/node/lib/internal/ |
D | timers.js | 239 function TimersList(expiry, msecs) { argument 244 this.msecs = msecs; 324 const msecs = item._idleTimeout; 325 if (msecs < 0 || msecs === undefined) 328 insert(item, msecs, start); 348 function insert(item, msecs, start = getLibuvNow()) { argument 350 msecs = MathTrunc(msecs); 354 let list = timerListMap[msecs]; 356 debug('no %d list was found in insert, creating a new one', msecs); 357 const expiry = start + msecs; [all …]
|
D | stream_base_commons.js | 243 function setStreamTimeout(msecs, callback) { argument 247 this.timeout = msecs; 250 msecs = getTimerDuration(msecs, 'msecs'); 256 if (msecs === 0) { 263 this[kTimeout] = setUnrefTimeout(this._onTimeout.bind(this), msecs);
|
/third_party/node/deps/npm/node_modules/uuid/ |
D | v1.js | 47 var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime(); 54 var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000; 63 if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { 72 _lastMSecs = msecs; 77 msecs += 12219292800000; 80 var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; 87 var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
D | delay.h | 46 linux_msleep(unsigned int msecs) in linux_msleep() argument 48 LOS_Msleep(msecs); in linux_msleep() 63 unsigned long msecs = (x + 1000 - 1) / 1000; /* 1000ns = 1us */ in ndelay() local 64 LOS_Udelay(msecs); in ndelay()
|
/third_party/node/test/parallel/ |
D | test-http-outgoing-settimeout.js | 12 setTimeout: common.mustCall((msecs) => { 13 assert.strictEqual(msecs, expectedMsecs); 26 setTimeout: common.mustCall((msecs) => { 27 assert.strictEqual(msecs, expectedMsecs);
|
D | test-http2-compat-serverresponse-settimeout.js | 8 const msecs = common.platformTimeout(1); constant 12 res.setTimeout(msecs, common.mustCall(() => { 17 res.setTimeout(msecs, common.mustNotCall()); 19 res.setTimeout(msecs, common.mustNotCall());
|
D | test-http2-compat-serverrequest-settimeout.js | 9 const msecs = common.platformTimeout(1); constant 13 const request = req.setTimeout(msecs, common.mustCall(() => { 19 req.setTimeout(msecs, common.mustNotCall()); 21 req.setTimeout(msecs, common.mustNotCall());
|
/third_party/lwip/src/include/lwip/ |
D | timeouts.h | 106 void sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_nam… 107 #define sys_timeout(msecs, handler, arg) sys_timeout_debug(msecs, handler, arg, #handler) argument 109 void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg);
|
/third_party/uboot/u-boot-2020.01/drivers/sound/ |
D | sound-uclass.c | 54 int sound_beep(struct udevice *dev, int msecs, int frequency_hz) in sound_beep() argument 71 mdelay(msecs); in sound_beep() 90 while (msecs >= 1000) { in sound_beep() 92 msecs -= 1000; in sound_beep() 94 if (msecs) { in sound_beep() 96 (data_size * msecs) / (sizeof(int) * 1000); in sound_beep()
|
/third_party/node/lib/ |
D | timers.js | 100 const msecs = MathTrunc(item._idleTimeout); 101 const list = timerListMap[msecs]; 105 delete timerListMap[list.msecs]; 118 function enroll(item, msecs) { argument 119 msecs = getTimerDuration(msecs, 'msecs'); 126 item._idleTimeout = msecs;
|
D | _http_client.js | 859 ClientRequest.prototype.setTimeout = function setTimeout(msecs, callback) { argument 865 msecs = getTimerDuration(msecs, 'msecs'); 869 setSocketTimeout(this.socket, msecs); 871 this.once('socket', (sock) => setSocketTimeout(sock, msecs)); 877 function setSocketTimeout(sock, msecs) { argument 880 sock.setTimeout(msecs); 883 sock.setTimeout(msecs);
|
/third_party/ltp/lib/ |
D | tst_process_state.c | 36 unsigned int msecs = 0; in tst_process_state_wait() local 48 msecs += 1; in tst_process_state_wait() 50 if (msec_timeout && msecs >= msec_timeout) { in tst_process_state_wait()
|
D | tst_checkpoint.c | 109 unsigned int msecs = 0, waked = 0; in tst_checkpoint_wake() local 124 msecs++; in tst_checkpoint_wake() 126 if (msecs >= msec_timeout) { in tst_checkpoint_wake()
|
/third_party/uboot/u-boot-2020.01/cmd/ |
D | misc.c | 72 ulong msecs = get_timer(start) * 1000 / CONFIG_SYS_HZ; in do_timer() local 73 printf("%ld.%03d\n", msecs / 1000, (int)(msecs % 1000)); in do_timer()
|
/third_party/boost/libs/interprocess/test/ |
D | util.hpp | 41 inline boost::posix_time::ptime delay(int secs, int msecs=0, int nsecs = 0) in delay() argument 43 (void)msecs; in delay() 47 count += static_cast<int>(double(msecs)* in delay()
|
/third_party/weston/wcap/ |
D | main.c | 220 uint32_t msecs, frame_time; in main() local 284 msecs = decoder->msecs; in main() 296 msecs += frame_time; in main() 297 while (decoder->msecs < msecs && has_frame) in main()
|
D | wcap-decode.h | 45 uint32_t msecs; member 59 uint32_t msecs; member
|
/third_party/lwip/src/core/ipv4/ |
D | dhcp.c | 307 u16_t msecs; in dhcp_check() local 320 msecs = 500; in dhcp_check() 321 dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); in dhcp_check() 322 … | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("dhcp_check(): set request timeout %"U16_F" msecs\n", msecs)); in dhcp_check() 370 u16_t msecs; in dhcp_select() local 419 msecs = (u16_t)((dhcp->tries < 6 ? 1 << dhcp->tries : 60) * 1000); in dhcp_select() 420 dhcp->request_timeout = (u16_t)((msecs + DHCP_FINE_TIMER_MSECS - 1) / DHCP_FINE_TIMER_MSECS); in dhcp_select() 421 …EBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_select(): set request timeout %"U16_F" msecs\n", msecs)); in dhcp_select() 939 u16_t msecs; in dhcp_decline() local 967 msecs = 10 * 1000; in dhcp_decline() [all …]
|
/third_party/libnl/src/lib/ |
D | addr.c | 113 uint64_t msecs; in parse_lifetime() local 119 if ((err = nl_str2msec(arg, &msecs)) < 0) in parse_lifetime() 123 return (msecs / 1000); in parse_lifetime()
|
/third_party/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()
|
/third_party/python/Lib/multiprocessing/ |
D | popen_spawn_win32.py | 104 msecs = _winapi.INFINITE 106 msecs = max(0, int(timeout * 1000 + 0.5)) 108 res = _winapi.WaitForSingleObject(int(self._handle), msecs)
|
/third_party/lwip/src/core/ |
D | timeouts.c | 287 sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char *handler_name) in sys_timeout_debug() argument 290 sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg) in sys_timeout_debug() 297 …LWIP_ASSERT("Timeout time too long, max is LWIP_UINT32_MAX/4 msecs", msecs <= (LWIP_UINT32_MAX / 4… in sys_timeout_debug() 299 next_timeout_time = (u32_t)(sys_now() + msecs); /* overflow handled by TIME_LESS_THAN macro */ in sys_timeout_debug()
|
/third_party/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)
|
/third_party/gstreamer/gstplugins_base/ext/pango/ |
D | gsttimeoverlay.c | 92 guint hours, mins, secs, msecs; in gst_time_overlay_render_time() local 100 msecs = (guint) ((time % GST_SECOND) / (1000 * 1000)); in gst_time_overlay_render_time() 102 return g_strdup_printf ("%u:%02u:%02u.%03u", hours, mins, secs, msecs); in gst_time_overlay_render_time()
|
/third_party/weston/libweston/ |
D | bindings.c | 207 uint32_t msecs; in binding_key() local 222 msecs = timespec_to_msec(time); in binding_key() 226 msecs, in binding_key() 465 uint32_t msecs; in debug_binding_key() local 514 msecs = timespec_to_msec(time); in debug_binding_key() 516 wl_keyboard_send_key(resource, serial, msecs, key, state); in debug_binding_key()
|