Searched refs:tv_sec (Results 1 - 25 of 45) sorted by relevance
12
/ast/src/lib/libast/tm/ |
H A D | tvcmp.c | 34 if (a->tv_sec < b->tv_sec) 36 if (a->tv_sec > b->tv_sec)
|
H A D | tvgettime.c | 38 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 D | tvsettime.c | 38 s.tv_sec = tv->tv_sec; 48 v.tv_sec = tv->tv_sec; 58 s = tv->tv_sec + (tv->tv_nsec != 0);
|
H A D | tvsleep.c | 64 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 D | tmxgettime.c | 43 return tmxsns(tv.tv_sec, tv.tv_nsec);
|
H A D | tmxsettime.c | 42 tv.tv_sec = tmxsec(t);
|
H A D | tvtouch.c | 112 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 D | tmsleep.c | 39 tv.tv_sec = sec;
|
H A D | tmxsleep.c | 38 tv.tv_sec = tmxsec(t);
|
H A D | tmxtouch.c | 56 av.tv_sec = tmxsec(at); 66 mv.tv_sec = tmxsec(mt); 76 cv.tv_sec = tmxsec(ct);
|
/ast/src/lib/libast/aso/ |
H A D | asorelax.c | 44 tv.tv_sec = 0; 50 ts.tv_sec = 0;
|
/ast/src/lib/libast/port/ |
H A D | touch.c | 59 av.tv_sec = at; 69 mv.tv_sec = mt;
|
/ast/src/lib/libast/string/ |
H A D | fmttv.c | 38 s = fmttime(fmt, (time_t)tv->tv_sec);
|
/ast/src/cmd/tests/aso/ |
H A D | tproc.c | 125 { tv2.tv_sec -= 1; 130 tv2.tv_sec - tv1.tv_sec, tv2.tv_usec - tv1.tv_usec);
|
H A D | tthread.c | 118 tv2.tv_sec--; 123 tv2.tv_sec - tv1.tv_sec, tv2.tv_usec - tv1.tv_usec);
|
/ast/src/lib/libast/misc/ |
H A D | debug.c | 52 tm = (double)ru.ru_utime.tv_sec + (double)ru.ru_utime.tv_usec/1000000.0;
|
/ast/src/cmd/3d/ |
H A D | utimensat3d.c | 32 #define atimeof(p) (((p)+0)->tv_sec) 33 #define mtimeof(p) (((p)+1)->tv_sec)
|
H A D | utimets3d.c | 32 #define atimeof(p) (((p)+0)->tv_sec) 33 #define mtimeof(p) (((p)+1)->tv_sec)
|
H A D | utimes3d.c | 26 #define atimeof(p) (((p)+0)->tv_sec) 27 #define mtimeof(p) (((p)+1)->tv_sec)
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclUnixTime.c | 39 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 D | tclUnixNotfy.c | 280 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 D | timers.c | 53 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 D | pss-cygwin.c | 47 #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 D | pss-getprocs.c | 195 pe->time = pr->pi_ru.ru_utime.tv_sec + pr->pi_ru.ru_stime.tv_sec;
|
/ast/src/lib/libcs/ |
H A D | cspoll.c | 64 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