| /netbsd/src/lib/libcurses/ |
| D | timeout.c | 47 timeout(int delay) in timeout() argument 50 wtimeout(stdscr, delay); in timeout() 60 wtimeout(WINDOW *win, int delay) in wtimeout() argument 66 if (delay < 0) in wtimeout() 67 win->delay = -1; in wtimeout() 68 else if (!delay) in wtimeout() 69 win->delay = delay; in wtimeout() 75 if (delay > 25500) in wtimeout() 76 win->delay = 255; in wtimeout() 78 win->delay = (delay - 1)/ 100 + 1; in wtimeout()
|
| D | get_wch.c | 55 static int inkey(wchar_t *wc, int to, int delay); 78 inkey(wchar_t *wc, int to, int delay) in inkey() argument 90 __CTRACE(__CTRACE_INPUT, "inkey (%p, %d, %d)\n", wc, to, delay); in inkey() 93 if (delay && __timeout(delay) == ERR) in inkey() 101 if (delay && (__notimeout() == ERR)) in inkey() 128 if (delay) { in inkey() 129 if (__timeout(to ? (ESCDELAY / 100) : delay) in inkey() 143 if ((to || delay) && (__notimeout() == ERR)) in inkey() 172 if (delay) { in inkey() 173 if (__timeout(to ? (ESCDELAY / 100) : delay) in inkey() [all …]
|
| /netbsd/src/tests/lib/libc/gen/ |
| D | t_sleep.c | 96 do_nanosleep(struct timespec *delay, struct timespec *remain) in do_nanosleep() argument 100 if (nanosleep(delay, remain) == -1) in do_nanosleep() 108 do_select(struct timespec *delay, struct timespec *remain) in do_select() argument 113 TIMESPEC_TO_TIMEVAL(&tv, delay); in do_select() 122 do_poll(struct timespec *delay, struct timespec *remain) in do_poll() argument 127 TIMESPEC_TO_TIMEVAL(&tv, delay); in do_poll() 128 if (pollts(NULL, 0, delay, NULL) == -1) in do_poll() 136 do_sleep(struct timespec *delay, struct timespec *remain) in do_sleep() argument 140 TIMESPEC_TO_TIMEVAL(&tv, delay); in do_sleep() 141 remain->tv_sec = sleep(delay->tv_sec); in do_sleep() [all …]
|
| /netbsd/src/external/bsd/tcpdump/dist/tests/ |
| D | rstp-v.out | 2 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 5 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 8 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 11 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 14 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 17 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 20 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 23 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 26 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 29 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s [all …]
|
| D | stp-v.out | 2 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 5 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 8 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 11 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 14 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 17 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 20 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 23 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 26 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 29 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s [all …]
|
| D | rpvst-v.out | 12 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 15 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 18 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 21 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 24 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 27 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 30 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 33 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 36 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 42 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/util/ |
| D | rand_sleep.c | 51 void rand_sleep(unsigned delay, unsigned variation) in rand_sleep() argument 59 if (delay == 0) in rand_sleep() 60 msg_panic("%s: bad delay %d", myname, delay); in rand_sleep() 61 if (variation > delay) in rand_sleep() 67 usec = (delay - variation / 2) + variation * (double) myrand() / RAND_MAX; in rand_sleep() 77 int delay; in main() local 83 if ((delay = atoi(argv[1])) <= 0) in main() 87 rand_sleep(delay * 1000000, variation * 1000000); in main()
|
| D | doze.c | 46 void doze(unsigned delay) in doze() argument 52 tv.tv_sec = delay / MILLION; in doze() 53 tv.tv_usec = delay % MILLION; in doze() 65 unsigned delay; in main() local 67 if (argc != 2 || (delay = atol(argv[1])) == 0) in main() 69 doze(delay); in main()
|
| D | msg_rate_delay.c | 73 void msg_rate_delay(time_t *stamp, int delay, in msg_rate_delay() argument 86 if (delay < 0) in msg_rate_delay() 87 msg_panic("%s: bad message rate delay: %d", myname, delay); in msg_rate_delay() 95 if (msg_verbose == 0 && delay > 0) { in msg_rate_delay() 104 if (*stamp + delay > now) in msg_rate_delay()
|
| D | events.c | 326 #define EVENT_BUFFER_READ(event_count, event_buf, buflen, delay) do { \ argument 329 if ((delay) < 0) { \ 334 ts.tv_sec = (delay); \ 407 #define EVENT_BUFFER_READ(event_count, event_buf, buflen, delay) do { \ argument 411 dvpoll.dp_timeout = (delay) < 0 ? -1 : (delay) * 1000; \ 487 #define EVENT_BUFFER_READ(event_count, event_buf, buflen, delay) do { \ argument 489 (delay) < 0 ? -1 : (delay) * 1000); \ 896 time_t event_request_timer(EVENT_NOTIFY_TIME_FN callback, void *context, int delay) in event_request_timer() argument 908 if (delay < 0) in event_request_timer() 909 msg_panic("%s: invalid delay: %d", myname, delay); in event_request_timer() [all …]
|
| /netbsd/src/sys/arch/mips/mips/ |
| D | spl.S | 72 NOP_L # load delay 74 NOP_L # load delay 93 NOP_L # load delay 100 nop # branch delay 105 MFC0_HAZARD # load delay 108 nop # branch delay 111 nop # branch delay 121 NOP_L # load delay 123 NOP_L # load delay 125 nop # branch delay [all …]
|
| /netbsd/src/sys/arch/evbarm/stand/bootimx23/ |
| D | power_prep.c | 102 delay(1000); in en_vbusvalid() 172 delay(10000); in en_4p2_reg() 180 delay(10000); in en_4p2_reg() 208 delay(10000); in en_4p2_to_dcdc() 237 delay(10000); in power_vddd_from_dcdc() 243 delay(10000); in power_vddd_from_dcdc() 249 delay(10000); in power_vddd_from_dcdc() 258 delay(10000); in power_vddd_from_dcdc() 289 delay(10000); in power_vdda_from_dcdc() 295 delay(10000); in power_vdda_from_dcdc() [all …]
|
| /netbsd/src/sys/dev/i2c/ |
| D | i2c_bitbang.c | 72 delay(1); in i2c_wait_for_scl() 91 delay(5); /* bus free time (4.7 us) */ in i2c_bitbang_send_start() 95 delay(4); /* start hold time (4.0 us) */ in i2c_bitbang_send_start() 113 delay(4); /* stop setup time (4.0 us) */ in i2c_bitbang_send_stop() 175 delay(5); /* clock low time (4.7 us) */ in i2c_bitbang_read_byte() 183 delay(4); /* clock high time (4.0 us) */ in i2c_bitbang_read_byte() 192 delay(5); /* clock low time (4.7 us) */ in i2c_bitbang_read_byte() 198 delay(4); /* clock high time (4.0 us) */ in i2c_bitbang_read_byte() 230 delay(5); /* clock low time (4.7 us) */ in i2c_bitbang_write_byte() 236 delay(4); /* clock high time (4.0 us) */ in i2c_bitbang_write_byte() [all …]
|
| /netbsd/src/lib/libterminfo/ |
| D | tputs.c | 81 _ti_outputdelay(int delay, short os, char pc, in _ti_outputdelay() argument 86 if (delay < 1 || os < 1 || (size_t)os >= __arraycount(tmspc10)) in _ti_outputdelay() 90 delay += mspc10 / 2; in _ti_outputdelay() 91 for (delay /= mspc10; delay > 0; delay--) in _ti_outputdelay() 99 int taildelay, delay, mand; in _ti_puts() local 117 delay = _ti_calcdelay(&str, affcnt, &mand); in _ti_puts() 119 _ti_outputdelay(delay, os, pc, outc, args); in _ti_puts()
|
| /netbsd/src/external/gpl3/gdb/dist/sim/m68hc11/ |
| D | dv-m68hc11tim.c | 253 unsigned long delay; in m68hc11tim_timer_event() local 272 delay = 0; in m68hc11tim_timer_event() 277 delay = controller->cop_delay; in m68hc11tim_timer_event() 278 delay = controller->cop_prev_interrupt + controller->cop_delay; in m68hc11tim_timer_event() 279 controller->cop_prev_interrupt = delay; in m68hc11tim_timer_event() 280 delay = delay - m68hc11_cpu->cpu_absolute_cycle; in m68hc11tim_timer_event() 282 delay += events->nr_ticks_to_process; in m68hc11tim_timer_event() 287 delay = controller->rti_prev_interrupt + controller->rti_delay; in m68hc11tim_timer_event() 293 controller->rti_prev_interrupt = delay; in m68hc11tim_timer_event() 294 delay += controller->rti_delay; in m68hc11tim_timer_event() [all …]
|
| /netbsd/src/sys/dev/onewire/ |
| D | onewire_bitbang.c | 86 delay(500); in onewire_bb_reset() 90 delay(5); in onewire_bb_reset() 144 delay(d1); in onewire_bb_write_bit() 148 delay(d2); in onewire_bb_write_bit() 169 delay(2); in onewire_bb_read_bit() 173 delay(5); in onewire_bb_read_bit() 181 delay(us); in onewire_bb_read_bit()
|
| /netbsd/src/sys/arch/playstation2/dev/ |
| D | spd.c | 198 delay(1); in spd_eeprom_read() 202 delay(1); in spd_eeprom_read() 223 delay(2); in spd_eeprom_read() 240 delay(1); in __spd_eeprom_out() 244 delay(1); in __spd_eeprom_out() 248 delay(1); in __spd_eeprom_out() 261 delay(1); in __spd_eeprom_in() 265 delay(1); in __spd_eeprom_in() 270 delay(1); in __spd_eeprom_in()
|
| /netbsd/src/games/adventure/ |
| D | wizard.c | 88 int d, t, delay; in Start() local 91 delay = (d - saveday) * 1440 + (t - savet); /* good for about a in Start() 94 if (delay >= latency) { in Start() 99 delay, delay == 1 ? "" : "s"); in Start() 100 if (delay <= latency / 3) { in Start()
|
| /netbsd/src/sys/arch/macppc/dev/ |
| D | mediabay.c | 182 delay(50000); in mediabay_attach_content() 186 delay(50000); in mediabay_attach_content() 190 delay(50000); in mediabay_attach_content() 192 delay(2000000); in mediabay_attach_content() 199 delay(50000); in mediabay_attach_content() 202 delay(50000); in mediabay_attach_content() 206 delay(50000); in mediabay_attach_content() 209 delay(50000); in mediabay_attach_content() 213 delay(50000); in mediabay_attach_content() 217 delay(50000); in mediabay_attach_content() [all …]
|
| /netbsd/src/external/bsd/ntp/dist/scripts/monitoring/ |
| D | ntploopstat | 29 $delay = 60; # default sampling rate 70 ($1 ne '') && ($delay = $1,1) && next; 72 $delay = shift; 73 ($delay >= 0) || die("$0: bad delay value \"$delay\"\n$usage"); 381 &msg("Sleeping " . ($lostpacket ? ($delay / 2) : $delay) . " seconds...\n"); 383 sleep($lostpacket ? ($delay / 2) : $delay);
|
| /netbsd/src/sys/arch/mac68k/nubus/ |
| D | cpi_nubus.c | 289 delay(1000); /* Give the CIO time to set itself up */ in cpi_nubus_attach() 559 delay(100); in cpi_lpreset() 688 delay(1000); in cpi_tc_initclock() 707 delay(1000); in cpi_tc_initclock() 752 #define delay(a) in cpi_get_timecount() macro 759 delay(1); in cpi_get_timecount() 766 delay(1); in cpi_get_timecount() 769 delay(1); in cpi_get_timecount() 774 delay(1); in cpi_get_timecount() 781 delay(1); in cpi_get_timecount() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/oqmgr/ |
| D | qmgr_active.c | 156 const char *dest_queue, int delay) in qmgr_active_defer() argument 163 msg_info("wakeup %s after %ld secs", queue_id, (long) delay); in qmgr_active_defer() 165 tbuf.actime = tbuf.modtime = event_time() + delay; in qmgr_active_defer() 548 int delay; in qmgr_active_done_3_generic() local 563 delay = event_time() - message->create_time; in qmgr_active_done_3_generic() 564 if (delay > var_max_backoff_time) in qmgr_active_done_3_generic() 565 delay = var_max_backoff_time; in qmgr_active_done_3_generic() 566 if (delay < var_min_backoff_time) in qmgr_active_done_3_generic() 567 delay = var_min_backoff_time; in qmgr_active_done_3_generic() 569 delay = var_min_backoff_time; in qmgr_active_done_3_generic() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/qmgr/ |
| D | qmgr_active.c | 156 const char *dest_queue, int delay) in qmgr_active_defer() argument 163 msg_info("wakeup %s after %ld secs", queue_id, (long) delay); in qmgr_active_defer() 165 tbuf.actime = tbuf.modtime = event_time() + delay; in qmgr_active_defer() 548 int delay; in qmgr_active_done_3_generic() local 563 delay = event_time() - message->create_time; in qmgr_active_done_3_generic() 564 if (delay > var_max_backoff_time) in qmgr_active_done_3_generic() 565 delay = var_max_backoff_time; in qmgr_active_done_3_generic() 566 if (delay < var_min_backoff_time) in qmgr_active_done_3_generic() 567 delay = var_min_backoff_time; in qmgr_active_done_3_generic() 569 delay = var_min_backoff_time; in qmgr_active_done_3_generic() [all …]
|
| /netbsd/src/sys/arch/hpcarm/dev/ |
| D | uda1341.c | 235 delay(100*1000); in uda1341_init() 240 delay(100*1000); in uda1341_init() 326 delay(L3_CLK_LOW); 332 delay(L3_CLK_HIGH); 348 delay(L3_CLK_LOW); in L3_sendbit() 350 delay(L3_CLK_HIGH); in L3_sendbit() 366 delay(L3_HALT); 371 delay(L3_MODE_SETUP); 376 delay(L3_MODE_HOLD); 395 delay(L3_HALT); in L3_sendbyte() [all …]
|
| /netbsd/src/sys/arch/arm/xscale/ |
| D | pxa2x0_i2c.c | 107 delay(1); in pxa2x0_i2c_close() 124 delay(1); in pxa2x0_i2c_read() 140 delay(1); in pxa2x0_i2c_read() 159 delay(1); in pxa2x0_i2c_read() 195 delay(1); in pxa2x0_i2c_write() 211 delay(1); in pxa2x0_i2c_write() 231 delay(1); in pxa2x0_i2c_write() 270 delay(1); in pxa2x0_i2c_quick() 285 delay(1); in pxa2x0_i2c_quick() 321 delay(1); in pxa2x0_i2c_write_2() [all …]
|