Searched refs:tv_sec (Results 1 - 25 of 45) sorted by relevance

12

/ast/src/lib/libast/tm/
H A Dtvcmp.c34 if (a->tv_sec < b->tv_sec)
36 if (a->tv_sec > b->tv_sec)
H A Dtvgettime.c38 tv->tv_sec = s.tv_sec;
48 tv->tv_sec = v.tv_sec;
56 if ((tv->tv_sec = time(NiL)) != s)
58 s = tv->tv_sec;
H A Dtvsettime.c38 s.tv_sec = tv->tv_sec;
48 v.tv_sec = tv->tv_sec;
58 s = tv->tv_sec + (tv->tv_nsec != 0);
H A Dtvsleep.c64 stv.tv_sec = tv->tv_sec;
68 rv->tv_sec = srv.tv_sec;
79 stv.tv_sec = tv->tv_sec;
89 rv->tv_sec = stv.tv_sec;
96 unsigned int s = tv->tv_sec;
133 rv->tv_sec
[all...]
H A Dtmxgettime.c43 return tmxsns(tv.tv_sec, tv.tv_nsec);
H A Dtmxsettime.c42 tv.tv_sec = tmxsec(t);
H A Dtvtouch.c112 ts[0].tv_sec = 0;
117 ts[0].tv_sec = 0;
122 ts[0].tv_sec = av->tv_sec;
127 ts[1].tv_sec = 0;
132 ts[1].tv_sec = 0;
137 ts[1].tv_sec = mv->tv_sec;
178 ts[0].tv_sec = st.st_atime;
183 ts[0].tv_sec
[all...]
H A Dtmsleep.c39 tv.tv_sec = sec;
H A Dtmxsleep.c38 tv.tv_sec = tmxsec(t);
H A Dtmxtouch.c56 av.tv_sec = tmxsec(at);
66 mv.tv_sec = tmxsec(mt);
76 cv.tv_sec = tmxsec(ct);
/ast/src/lib/libast/aso/
H A Dasorelax.c44 tv.tv_sec = 0;
50 ts.tv_sec = 0;
/ast/src/lib/libast/port/
H A Dtouch.c59 av.tv_sec = at;
69 mv.tv_sec = mt;
/ast/src/lib/libast/string/
H A Dfmttv.c38 s = fmttime(fmt, (time_t)tv->tv_sec);
/ast/src/cmd/tests/aso/
H A Dtproc.c125 { tv2.tv_sec -= 1;
130 tv2.tv_sec - tv1.tv_sec, tv2.tv_usec - tv1.tv_usec);
H A Dtthread.c118 tv2.tv_sec--;
123 tv2.tv_sec - tv1.tv_sec, tv2.tv_usec - tv1.tv_usec);
/ast/src/lib/libast/misc/
H A Ddebug.c52 tm = (double)ru.ru_utime.tv_sec + (double)ru.ru_utime.tv_usec/1000000.0;
/ast/src/cmd/3d/
H A Dutimensat3d.c32 #define atimeof(p) (((p)+0)->tv_sec)
33 #define mtimeof(p) (((p)+1)->tv_sec)
H A Dutimets3d.c32 #define atimeof(p) (((p)+0)->tv_sec)
33 #define mtimeof(p) (((p)+1)->tv_sec)
H A Dutimes3d.c26 #define atimeof(p) (((p)+0)->tv_sec)
27 #define mtimeof(p) (((p)+1)->tv_sec)
/ast/src/lib/libtksh/tcl/
H A DtclUnixTime.c39 return 1000000 * tv.tv_sec + tv.tv_nsec / 1000;
57 tp->sec = tv.tv_sec;
125 now = date.tv_sec*1000000 + date.tv_usec;
267 timePtr->sec = tv.tv_sec;
H A DtclUnixNotfy.c280 timeout.tv_sec = timePtr->sec;
357 delay.tv_sec = after.sec - before.sec;
361 delay.tv_sec -= 1;
365 * Special note: must convert delay.tv_sec to int before comparing
369 if ((((int) delay.tv_sec) < 0)
370 || ((delay.tv_usec == 0) && (delay.tv_sec == 0))) {
/ast/src/cmd/ksh93/sh/
H A Dtimers.c53 now = tp.tv_sec + 1.e-6*tp.tv_usec;
68 tnew.it_value.tv_sec = t;
69 tnew.it_value.tv_usec = 1.e6*(t- (double)tnew.it_value.tv_sec);
70 if(t && tnew.it_value.tv_sec==0 && tnew.it_value.tv_usec<1000)
72 tnew.it_interval.tv_sec = 0;
76 t = told.it_value.tv_sec + 1.e-6*told.it_value.tv_usec;
/ast/src/cmd/std/
H A Dpss-cygwin.c47 #define PR_CTIME(p) (((p)->rusage_children.ru_utime.tv_sec+(p)->rusage_children.ru_stime.tv_sec)*PR_HZ+((((p)->rusage_children.ru_utime.tv_usec+(p)->rusage_children.ru_stime.tv_usec)*PR_HZ)/1000000))
51 #define PR_TIME(p) (((p)->rusage_self.ru_utime.tv_sec+(p)->rusage_self.ru_stime.tv_sec)*PR_HZ+((((p)->rusage_self.ru_utime.tv_usec+(p)->rusage_self.ru_stime.tv_usec)*PR_HZ)/1000000))
H A Dpss-getprocs.c195 pe->time = pr->pi_ru.ru_utime.tv_sec + pr->pi_ru.ru_stime.tv_sec;
/ast/src/lib/libcs/
H A Dcspoll.c64 tv.tv_sec = ms / 1000;
104 messagef((state->id, NiL, -6, "poll: %s num=%d ms=%d sec=%d usec=%d", fmttime("%K", CSTIME()), num, ms, tp ? tp->tv_sec : 0, tp ? tp->tv_usec : 0));

Completed in 50 milliseconds

12