Home
last modified time | relevance | path

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

12345678910>>...23

/trueos/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 …]
/trueos/tools/regression/netipx/ipxsocket/
HDipxsocket.c56 int delay, s; in main() local
58 for (delay = 0; delay < 5; delay++) { in main()
63 maybe_sleep(delay); in main()
71 maybe_sleep(delay); in main()
79 maybe_sleep(delay); in main()
87 maybe_sleep(delay); in main()
/trueos/contrib/sendmail/libsm/
HDt-sem.c28 delay(t, s)
75 delay(0, "try to acq");
81 delay(0, "acquired");
85 delay(0, "try to rel");
91 delay(0, "released");
206 delay(1, "parent: acquire 1");
221 delay(3, "parent: release 1");
236 delay(1, "parent: getval");
251 delay(1, "parent: acquire 2");
282 delay(1, "child: acquire 1");
[all …]
/trueos/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()
/trueos/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 …]
/trueos/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 …]
/trueos/contrib/ntp/sntp/
HDmain.c204 delay = 0, /* -d or -x value in seconds */ variable
735 *a_wait = delay; in estimate_stats()
814 if (error+drifterr*delay > NTP_INSANITY) in estimate_stats()
821 wait = delay; in estimate_stats()
823 if (x*delay < 0.5*minerr) { in estimate_stats()
829 if ((z = drifterr*delay) < 0.5*minerr) z = 0.5*minerr; in estimate_stats()
830 wait = (x < z/delay ? delay : (int)(z/x+0.5)); in estimate_stats()
831 wait = (int)(delay/(int)(delay/(double)wait+0.999)+0.999); in estimate_stats()
832 if (wait > delay) in estimate_stats()
914 int operation, delay, count, total, index, cycle, waiting; in handle_saving() member
[all …]
/trueos/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 */
/trueos/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);
/trueos/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
/trueos/sys/ofed/include/linux/
HDworkqueue.h112 unsigned long delay) in queue_delayed_work() argument
118 if (delay != 0) in queue_delayed_work()
119 callout_reset(&work->timer, delay, _delayed_work_fn, work); in queue_delayed_work()
127 unsigned long delay) in schedule_delayed_work() argument
131 return queue_delayed_work(&wq, dwork, delay); in schedule_delayed_work()
216 unsigned long delay) in mod_delayed_work() argument
219 queue_delayed_work(wq, dwork, delay); in mod_delayed_work()
/trueos/games/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()
/trueos/contrib/ntp/arlib/
HDsample.c107 struct timeval delay; local
117 delay.tv_sec = expire - now;
119 delay.tv_sec = 1;
120 delay.tv_usec = 0;
124 nfd = select(FD_SETSIZE, &rd, 0, 0, &delay);
/trueos/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 …]
/trueos/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 …]
/trueos/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()
/trueos/contrib/tcpdump/
HDprint-igrp.c47 register u_int delay, bandwidth; in igrp_entry_print() local
60 delay = EXTRACT_24BITS(igr->igr_dly); in igrp_entry_print()
62 metric = bandwidth + delay; in igrp_entry_print()
68 10 * delay, bandwidth == 0 ? 0 : 10000000 / bandwidth, in igrp_entry_print()
/trueos/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()
/trueos/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
/trueos/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()
/trueos/contrib/ncurses/ncurses/base/
HDlib_getch.c96 check_mouse_activity(SCREEN *sp, int delay EVENTLIST_2nd(_nc_eventlist * evl)) in check_mouse_activity()
106 rc = _nc_timed_wait(sp, TWAIT_MASK, delay, (int *) 0 EVENTLIST_2nd(evl)); in check_mouse_activity()
386 int delay; in _nc_wgetch() local
391 delay = (sp->_cbreak - 1) * 100; in _nc_wgetch()
393 delay = win->_delay; in _nc_wgetch()
396 if (event_delay >= 0 && delay > event_delay) in _nc_wgetch()
397 delay = event_delay; in _nc_wgetch()
400 TR(TRACE_IEVENT, ("delay is %d milliseconds", delay)); in _nc_wgetch()
402 rc = check_mouse_activity(sp, delay EVENTLIST_2nd(evl)); in _nc_wgetch()
/trueos/contrib/sendmail/contrib/
HDmailprio85 # To get the maximum value from a transaction delay based priority
386 X To get the maximum value from a transaction delay based priority
426 # mailprio_mkdb -- make mail priority database based on delay times
440 # weight the result based on the overall delay.
443 # xdelay would be to compute an approximation of the transaction delay
444 # by sorting by messages-id and delay then computing the difference
445 # between adjacent delay values.
447 # To get the maximum value from a transaction delay based priority
481 X local($to, $delay);
488 X # read delay and xdelay and convert to seconds
[all …]
/trueos/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
/trueos/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()

12345678910>>...23