Searched refs:delay (Results 1 - 8 of 8) sorted by relevance

/ast/src/lib/libtksh/tcl/
H A DtclUnixNotfy.c338 static struct timeval delay;
357 delay.tv_sec = after.sec - before.sec;
358 delay.tv_usec = after.usec - before.usec;
359 if (delay.tv_usec < 0) {
360 delay.tv_usec += 1000000;
361 delay.tv_sec -= 1;
365 * Special note: must convert delay.tv_sec to int before comparing
366 * to zero, since delay.tv_usec is unsigned on some platforms.
369 if ((((int) delay.tv_sec) < 0)
370 || ((delay
332 static struct timeval delay; local
[all...]
/ast/src/cmd/sortlib/vcodex/
H A Dvcodex.c82 Delay_t* delay; member in struct:State_s
161 Delay_t* delay; local
178 if (!state->output.use && zipit(arg) && (arg || (arg = (Void_t*)"(output-stream)")) && (delay = newof(0, Delay_t, 1, strlen(arg))))
180 delay->sp = (Sfio_t*)data;
181 strcpy(delay->name, arg);
182 delay->next = state->delay;
183 state->delay = delay;
198 if (state->delay)
[all...]
/ast/src/lib/libtk/library/
H A Dscale.tcl217 set delay [$w cget -repeatdelay]
218 if {$delay > 0} {
219 set tkPriv(afterId) [after $delay \
H A Dscrlbar.tcl196 set delay [$w cget -repeatdelay]
197 if {$delay > 0} {
198 set tkPriv(afterId) [after $delay tkScrollSelect $w $element again]
/ast/src/cmd/builtin/
H A Dpty.c48 "[d \amilliseconds\a?set the delay before each master write to "
49 "\amilliseconds\a; the default is no delay]"
73 "[P \atext\a?delay each master write until the beginning of "
86 "[w:delay?Set the delay before each master write to "
311 process(Sfio_t* mp, Sfio_t* lp, int delay, int timeout) argument
711 dialogue(Sfio_t* mp, Sfio_t* lp, int delay, int timeout) argument
761 if (delay)
762 usleep((unsigned long)delay * 1000);
774 if (delay)
965 int delay = 0; local
[all...]
/ast/src/cmd/ss/
H A Dssd.c240 update(char* data, unsigned long now, int delay, CSSTAT* ss) argument
260 next = now + delay;
263 if (delay > 10) delay = 10;
267 if (delay)
269 sleep(delay);
/ast/src/cmd/ksh93/tests/
H A Dbuiltins.sh501 typeset -F3 start_x=SECONDS total_t delay=0.02
503 sleep $(( 2 * leeway * reps * delay )) |
505 do read -N1 -t $delay
508 if (( total_t > leeway * reps * delay ))
509 then err_exit "read -t in pipe taking $total_t secs - $(( reps * delay )) minimum - too long"
510 elif (( total_t < reps * delay ))
511 then err_exit "read -t in pipe taking $total_t secs - $(( reps * delay )) minimum - too fast"
/ast/src/cmd/ie/
H A Dedit.c92 static int delay; variable
289 delay = tty_speeds[ttyparm.sg_ospeed];
501 if(delay && n > delay/100)
503 /* delay until output drains */
506 timeloc.tv_sec = n/delay;
507 timeloc.tv_usec = (1000000*(n%delay))/delay;

Completed in 112 milliseconds