/ast/src/lib/libast/tm/ |
H A D | tmxleap.c | 41 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 D | tmsleep.c | 35 tmsleep(time_t sec, time_t nsec) argument 39 tv.tv_sec = sec;
|
H A D | tmxtime.c | 52 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 D | tmxscan.c | 50 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 D | tclEvent.c | 654 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 D | tclUnixNotfy.c | 280 timeout.tv_sec = timePtr->sec; 350 after.sec += ms/1000; 354 after.sec += 1; 357 delay.tv_sec = after.sec - before.sec;
|
H A D | tclNotify.c | 432 if (!blockTimeSet || (timePtr->sec < blockTime.sec) 433 || ((timePtr->sec == blockTime.sec) 545 blockTime.sec = 0;
|
H A D | tclUnixTime.c | 57 tp->sec = tv.tv_sec; 267 timePtr->sec = tv.tv_sec;
|
H A D | tclCmdMZ.c | 1786 timePer = (stop.sec - start.sec)*1000000 + (stop.usec - start.usec);
|
/ast/src/cmd/ksh93/bltins/ |
H A D | sleep.c | 136 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 D | read.c | 64 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 D | basic.sh | 429 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 D | builtins.sh | 522 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 D | mm2twiki.sh | 1250 '') sec=$(set --'???'MAN=$2 2>&1) 1251 sec=$ver$msc$cmp$sec 1253 *) sec=$5 1256 mm.title="$sec -- $1($2)"
|
H A D | mm2bb.sh | 1396 '') sec=$(set --'???'MAN=$2 2>&1) 1397 sec=$ver$msc$cmp$sec 1399 *) sec=$5 1402 mm.title="$sec -- $1($2)"
|
H A D | mm2html.sh | 2030 '') 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 D | warp.c | 457 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 D | flow-dump.c | 37 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 D | tclIO.c | 5006 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 D | xec.c | 188 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 D | tcl.h | 623 long sec; /* Seconds. */ member in struct:Tcl_Time
|