Searched refs:tv (Results 1 – 11 of 11) sorted by relevance
45 struct timeval tv[2], *tvp; local48 tv[0].tv_sec = times->actime;49 tv[1].tv_sec = times->modtime;50 tv[0].tv_usec = tv[1].tv_usec = 0;51 tvp = tv;
106 struct timeval tv; in arc4_stir() member127 gettimeofday(&rdat.tv, NULL); in arc4_stir()
38 struct timeval tv, *tv_timeout = NULL; in pselect() local44 tv_timeout = &tv; in pselect()45 tv.tv_sec = timeout->tv_sec; in pselect()46 tv.tv_usec = (timeout->tv_nsec + 999)/1000; // round up in pselect()47 if (tv.tv_usec >= 1000000) { in pselect()48 tv.tv_sec += 1; in pselect()49 tv.tv_usec -= 1000000; in pselect()
32 struct timeval tv; in ftime() local35 if (gettimeofday (&tv, &tz) < 0) in ftime()38 tb->time = tv.tv_sec; in ftime()39 tb->millitm = (tv.tv_usec + 500) / 1000; in ftime()
92 double tv; in exp2f() local126 tv = exp2ft[i0]; in exp2f()127 r = tv + tv * (z * (P1 + z * (P2 + z * (P3 + z * P4)))); in exp2f()
182 struct timeval tv; in res_initid() local226 gettimeofday(&tv, NULL); in res_initid()227 ru_reseed = tv.tv_sec + RU_OUT; in res_initid()234 struct timeval tv; in res_randomid() local238 gettimeofday(&tv, NULL); in res_randomid()239 if (ru_counter >= RU_MAX || tv.tv_sec > ru_reseed) in res_randomid()
1291 struct timeval tv, *tvp; in pselect() local1296 tvp = &tv; in pselect()1297 tv = evTimeVal(*tsp); in pselect()1306 *tsp = evTimeSpec(tv); in pselect()
368 struct timeval tv; in _time_now() local370 gettimeofday( &tv, NULL ); in _time_now()371 return tv.tv_sec; in _time_now()
156 evTimeSpec(struct timeval tv) { in evTimeSpec() argument159 ts.tv_sec = tv.tv_sec; in evTimeSpec()160 ts.tv_nsec = tv.tv_usec * 1000; in evTimeSpec()166 struct timeval tv; in evTimeVal() local168 tv.tv_sec = ts.tv_sec; in evTimeVal()169 tv.tv_usec = ts.tv_nsec / 1000; in evTimeVal()170 return (tv); in evTimeVal()
35 } tv; member
43 extern char *strtotimeval(const char *str, struct timeval *tv);