Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 25 of 586) sorted by relevance

12345678910>>...24

/NextBSD/contrib/netbsd-tests/lib/libc/gen/
HDt_sleep.c101 do_nanosleep(struct timespec *delay, struct timespec *remain) in do_nanosleep() argument
105 if (nanosleep(delay, remain) == -1) in do_nanosleep()
113 do_select(struct timespec *delay, struct timespec *remain) in do_select() argument
118 TIMESPEC_TO_TIMEVAL(&tv, delay); in do_select()
128 do_poll(struct timespec *delay, struct timespec *remain) in do_poll() argument
133 TIMESPEC_TO_TIMEVAL(&tv, delay); in do_poll()
134 if (pollts(NULL, 0, delay, NULL) == -1) in do_poll()
143 do_sleep(struct timespec *delay, struct timespec *remain) in do_sleep() argument
147 TIMESPEC_TO_TIMEVAL(&tv, delay); in do_sleep()
148 remain->tv_sec = sleep(delay->tv_sec); in do_sleep()
[all …]
/NextBSD/tools/tools/net80211/wesside/udps/
HDudps.c51 int delay = 10*1000; in own() local
58 delay = (int) ((double)1.0/pps*1000.0*1000.0); in own()
60 if (delay <= 5000) { in own()
66 delay *= dont_sleep_times; in own()
68 delay = (int) (0.90*delay); in own()
78 ts.tv_nsec = delay*1000; in own()
95 if (usleep(delay) == -1) { in own()
/NextBSD/usr.bin/at/
HDparsetime.c285 plus_or_minus(struct tm *tm, int delay) in plus_or_minus() argument
289 expectplur = (delay != 1 && delay != -1) ? 1 : 0; in plus_or_minus()
293 tm->tm_year += delay; in plus_or_minus()
296 tm->tm_mon += delay; in plus_or_minus()
299 delay *= 7; in plus_or_minus()
301 tm->tm_mday += delay; in plus_or_minus()
304 tm->tm_hour += delay; in plus_or_minus()
307 tm->tm_min += delay; in plus_or_minus()
332 int delay; in plus() local
336 delay = atoi(sc_token); in plus()
[all …]
/NextBSD/usr.sbin/ppp/
HDcbcp.c68 cbcp->fsm.delay = 0; in cbcp_Init()
185 u_char delay; member
243 if ((char *)&data->delay < end) { in cbcp_data_Show()
244 log_Printf(LogCBCP, " DELAY %d\n", data->delay); in cbcp_data_Show()
268 data.delay = 0; in cbcp_SendReq()
302 data.length = (char *)&data.delay - (char *)&data; in cbcp_SendReq()
309 cbcp_StartTimer(cbcp, cbcp->fsm.delay); in cbcp_SendReq()
318 cbcp->fsm.delay = cbcp->p->dl->cfg.cbcp.delay; in cbcp_Up()
336 cbcp_StartTimer(cbcp, cbcp->fsm.delay * DEF_FSMTRIES); in cbcp_Up()
489 data.delay = cbcp->fsm.delay; in cbcp_SendResponse()
[all …]
/NextBSD/sys/gnu/dts/arm/
HDrk3288-thermal.dtsi14 polling-delay-passive = <1000>; /* milliseconds */
15 polling-delay = <5000>; /* milliseconds */
21 polling-delay-passive = <1000>; /* milliseconds */
22 polling-delay = <5000>; /* milliseconds */
49 polling-delay-passive = <1000>; /* milliseconds */
50 polling-delay = <5000>; /* milliseconds */
/NextBSD/contrib/ntp/scripts/monitoring/
HDntploopstat29 $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);
/NextBSD/contrib/amd/scripts/
HDwait4amd2die.in21 delay=$1
23 delay=3
44 echo "wait4amd2die: delay $delay sec ($i of $count)..."
45 sleep $delay
HDtest-attrcache.in24 delay=1
69 sleep $delay
101 sleep $delay
105 sleep $delay
132 sleep $delay
/NextBSD/sys/compat/linuxkpi/common/include/linux/
HDworkqueue.h110 unsigned long delay) in queue_delayed_work() argument
117 } else if (delay != 0) { in queue_delayed_work()
119 callout_reset(&work->timer, delay, linux_delayed_work_fn, work); in queue_delayed_work()
130 unsigned long delay) in schedule_delayed_work() argument
136 return (queue_delayed_work(&wq, dwork, delay)); in schedule_delayed_work()
209 unsigned long delay) in mod_delayed_work() argument
212 queue_delayed_work(wq, dwork, delay); in mod_delayed_work()
/NextBSD/usr.bin/grdc/
HDgrdc.c58 struct timespec delay; in main() local
202 if (delay.tv_nsec > 0) { in main()
203 delay.tv_sec = 0; in main()
204 delay.tv_nsec = 1000000000 - now.tv_nsec; in main()
206 delay.tv_sec = 1; in main()
207 delay.tv_nsec = 0; in main()
209 nanosleep(&delay, NULL); in main()
/NextBSD/sys/mips/cavium/
HDuart_dev_oct16550.c111 static int delay = 0; in oct16550_delay() local
113 if (!delay_changed) return delay; in oct16550_delay()
160 int delay, limit; in oct16550_drain() local
162 delay = oct16550_delay(bas); in oct16550_drain()
172 DELAY(delay); in oct16550_drain()
192 DELAY(delay << 2); in oct16550_drain()
330 static inline void oct16550_wait_txhr_empty (struct uart_bas *bas, int limit, int delay) in oct16550_wait_txhr_empty() argument
334 DELAY(delay); in oct16550_wait_txhr_empty()
340 int delay; in oct16550_putc() local
343 delay = oct16550_delay(bas); in oct16550_putc()
[all …]
/NextBSD/tools/test/netfibs/
HDreflector.sh68 delay() function
123 delay
129 delay
169 delay
326 delay
382 delay
399 delay
445 delay
460 delay
513 delay
[all …]
/NextBSD/usr.bin/mach-tests/bootstrap-kqueue/client/
HDbootstrap-kqueue-client.c25 int delay = 0; in main() local
33 delay = atoi(argv[3]); in main()
73 if (delay) in main()
74 sleep(delay); in main()
/NextBSD/sys/boot/common/
HDisapnp.c101 delay(250); /* Delay 250 usec */ in isapnp_get_serial()
105 delay(250); /* Delay 250 usec */ in isapnp_get_serial()
136 delay(1); in isapnp_get_resource_info()
245 delay(1000); /* Delay 1 msec */ in isapnp_isolation_protocol()
267 delay(1000); /* XXX is it really necessary ? */ in isapnp_isolation_protocol()
/NextBSD/usr.bin/systat/
HDkeyboard.c62 intvl.tv_sec = delay / 1000000; in keyboard()
63 intvl.tv_usec = delay % 1000000; in keyboard()
104 intvl.tv_sec = delay / 1000000; in keyboard()
105 intvl.tv_usec = delay % 1000000; in keyboard()
HDcmds.c72 delay = 0; in command()
94 delay = (unsigned int)t; in command()
107 delay = (unsigned int)t; in command()
183 curcmd->c_name, delay / 1000000); in status()
/NextBSD/contrib/netbsd-tests/lib/libcurses/tests/
HDtimeout5 delay 2000
10 # since delay is in effect and we set timeout the following getch should
17 delay 0
/NextBSD/contrib/ncurses/ncurses/base/
HDlib_getch.c131 check_mouse_activity(SCREEN *sp, int delay EVENTLIST_2nd(_nc_eventlist * evl)) in check_mouse_activity()
136 rc = TCBOf(sp)->drv->testmouse(TCBOf(sp), delay EVENTLIST_2nd(evl)); in check_mouse_activity()
147 delay, in check_mouse_activity()
468 int delay; in _nc_wgetch() local
472 delay = (sp->_cbreak - 1) * 100; in _nc_wgetch()
474 delay = win->_delay; in _nc_wgetch()
477 if (event_delay >= 0 && delay > event_delay) in _nc_wgetch()
478 delay = event_delay; in _nc_wgetch()
481 TR(TRACE_IEVENT, ("delay is %d milliseconds", delay)); in _nc_wgetch()
483 rc = check_mouse_activity(sp, delay EVENTLIST_2nd(evl)); in _nc_wgetch()
/NextBSD/sys/boot/forth/
HDdelay.4th27 marker task-delay.4th
29 vocabulary delay-processing
30 only forth also delay-processing definitions
32 2 constant delay_default \ Default delay (in seconds)
37 variable delay_tstart \ state variable used for delay timing
38 variable delay_delay \ determined configurable delay duration
42 only forth definitions also delay-processing
/NextBSD/sys/boot/powerpc/ps3/
HDps3net.c125 delay(10); in ps3net_put()
156 delay(1); in ps3net_put()
178 delay(GELIC_POLL_PERIOD); in ps3net_get()
182 delay(200); in ps3net_get()
244 delay(500); in ps3net_init()
/NextBSD/contrib/tcsh/
HDvms.termcap.c340 unsigned long delay = 0; in tputs() local
345 for (delay = 0; *cp && ISDIGIT(*cp) ; cp++) in tputs()
346 delay = delay * 10 + *cp - '0'; in tputs()
350 usleep(delay*100); /* strictly spoken, it should be *1000 */ in tputs()
/NextBSD/usr.sbin/spray/
HDspray.c68 int delay = 0; in main() local
78 delay = atoi(optarg); in main()
154 if (delay) { in main()
155 usleep(delay); in main()
/NextBSD/contrib/tcpdump/
HDprint-igrp.c71 register u_int delay, bandwidth; in igrp_entry_print() local
84 delay = EXTRACT_24BITS(igr->igr_dly); in igrp_entry_print()
86 metric = bandwidth + delay; in igrp_entry_print()
92 10 * delay, bandwidth == 0 ? 0 : 10000000 / bandwidth, in igrp_entry_print()
HDprint-eigrp.c123 uint8_t delay[4]; member
143 uint8_t delay[4]; member
162 uint8_t delay[4]; member
181 uint8_t delay[4]; member
339 (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->delay)/100), in eigrp_print()
376 (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->delay)/100), in eigrp_print()
408 (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_int->delay)/100), in eigrp_print()
439 (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_ext->delay)/100), in eigrp_print()
/NextBSD/contrib/ntp/clockstuff/
HDpropdelay.c285 double delay; in doit() local
287 hops = finddelay(lat1, long1, lat2, long2, h, &delay); in doit()
289 str, h, hops, delay); in doit()
458 double *delay in finddelay() argument
479 *delay = propdelay(dg, h, n); in finddelay()
515 double *delay in satfinddelay() argument
522 *delay = satpropdelay(dg); in satfinddelay()

12345678910>>...24