Searched refs:sec (Results 1 - 21 of 21) sorted by relevance

/ast/src/lib/libast/tm/
H A Dtmxleap.c41 uint32_t sec; local
46 sec = tmxsec(t);
47 for (lp = &tm_data.leap[0]; sec < (lp->time - lp->total); lp++);
48 t = tmxsns(sec + lp->total, tmxnsec(t));
H A Dtmsleep.c35 tmsleep(time_t sec, time_t nsec) argument
39 tv.tv_sec = sec;
H A Dtmxtime.c52 int sec; local
79 t += sec = tm->tm_sec;
133 if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59))
H A Dtmxscan.c50 int sec; member in struct:__anon314
55 #define CLEAR(s) (s.year=s.mon=s.week=s.weektype=s.yday=s.mday=s.wday=s.hour=s.min=s.sec=s.meridian=(-1),s.nsec=1000000000L,s.zone=TM_LOCALZONE)
114 tm->tm_sec = (set->sec >= 0) ? set->sec : 0;
119 tm->tm_sec = (set->sec >= 0) ? set->sec : 0;
121 else if (set->sec >= 0)
122 tm->tm_sec = set->sec;
331 set.sec = n;
/ast/src/lib/libtksh/tcl/
H A DtclEvent.c654 timerHandlerPtr->time.sec += milliseconds/1000;
658 timerHandlerPtr->time.sec += 1;
677 if ((tPtr2->time.sec > timerHandlerPtr->time.sec)
678 || ((tPtr2->time.sec == timerHandlerPtr->time.sec)
778 timerHandlerPtr->time.sec += milliseconds/1000;
782 timerHandlerPtr->time.sec += 1;
871 if ((timerHandlerPtr->time.sec > tPtr2->time.sec)
[all...]
H A DtclUnixNotfy.c280 timeout.tv_sec = timePtr->sec;
350 after.sec += ms/1000;
354 after.sec += 1;
357 delay.tv_sec = after.sec - before.sec;
H A DtclNotify.c432 if (!blockTimeSet || (timePtr->sec < blockTime.sec)
433 || ((timePtr->sec == blockTime.sec)
545 blockTime.sec = 0;
H A DtclUnixTime.c57 tp->sec = tv.tv_sec;
267 timePtr->sec = tv.tv_sec;
H A DtclCmdMZ.c1786 timePer = (stop.sec - start.sec)*1000000 + (stop.usec - start.usec);
/ast/src/cmd/ksh93/bltins/
H A Dsleep.c136 unsigned int sleep(unsigned int sec) argument
143 tp = (void*)sh_timeradd(1000*sec, 0, completed, (void*)&expired);
159 tp = (void*)sh_timeradd(1000*sec, 0, completed, (void*)&expired);
H A Dread.c64 Sfdouble_t sec; local
99 sec = sh_strnum(opt_info.arg, (char**)0,1);
100 timeout = sec ? 1000*sec : 1;
/ast/src/cmd/ksh93/tests/
H A Dbasic.sh429 done | while read sec; do ( $sleep $sec; $sleep $sec) done
493 float sec=SECONDS
495 (( (SECONDS-sec) < .7 )) && err_exit '. script does not restore output redirection with eval'
H A Dbuiltins.sh522 float sec=$SECONDS del=4
526 (( sec = SECONDS - sec ))
529 (( sec > (del - 1) )) || err_exit "ALRM signal causes sleep to terminate prematurely -- expected 3 sec, got $sec"
/ast/src/cmd/html/
H A Dmm2twiki.sh1250 '') sec=$(set --'???'MAN=$2 2>&1)
1251 sec=$ver$msc$cmp$sec
1253 *) sec=$5
1256 mm.title="$sec -- $1($2)"
H A Dmm2bb.sh1396 '') sec=$(set --'???'MAN=$2 2>&1)
1397 sec=$ver$msc$cmp$sec
1399 *) sec=$5
1402 mm.title="$sec -- $1($2)"
H A Dmm2html.sh2030 '') sec=$(set --'???'MAN=$2 2>&1)
2031 sec=$ver$msc$cmp$sec
2033 *) sec=$5
2042 print -r -- "<H3><TABLE width=100%><TBODY><TR><TH align=left>$MAN</TH><TH align=center><A href=\".\" ${TOP}title=\"Index\">$sec</A></TH><TH align=right>$MAN</TH></TR></TBODY></TABLE></H3>"
/ast/src/cmd/warp/
H A Dwarp.c457 alarm(unsigned int sec) argument
461 return warp_alarm(&call, sec);
467 _alarm(unsigned int sec) argument
471 return warp_alarm(&call, sec);
475 __alarm(unsigned int sec) argument
479 return warp_alarm(&call, sec);
483 _libc_alarm(unsigned int sec) argument
487 return warp_alarm(&call, sec);
491 __libc_alarm(unsigned int sec) argument
495 return warp_alarm(&call, sec);
[all...]
/ast/src/cmd/dsslib/netflow/
H A Dflow-dump.c37 Nflong_t sec; member in struct:Hdr_1_s
69 Nflong_t sec; member in struct:Hdr_5_s
106 Nflong_t sec; member in struct:Hdr_7_s
/ast/src/lib/libtksh/src/
H A DtclIO.c5006 abortTime.sec = now.sec + timeout/1000;
5010 abortTime.sec += 1;
5022 blockTime.sec = abortTime.sec - now.sec;
5025 blockTime.sec -= 1;
5028 if (blockTime.sec < 0) {
5029 blockTime.sec = 0;
5034 blockTime.sec
[all...]
/ast/src/cmd/ksh93/sh/
H A Dxec.c188 register int min, sec, frac; local
196 sec = t%60;
202 sfprintf(outfile,"%dm%d%c%0*ds",min,sec,GETDECIMAL(0),p,frac);
204 sfprintf(outfile,"%dm%ds",min,sec);
/ast/src/lib/libtksh/include/
H A Dtcl.h623 long sec; /* Seconds. */ member in struct:Tcl_Time

Completed in 104 milliseconds