Lines Matching refs:tp
207 struct timeval *tp)
209 return evutil_gettime_monotonic_(timer, tp);
266 struct timeval *tp)
271 if (evutil_gettimeofday(tp, NULL) < 0)
273 adjust_monotonic_time(base, tp);
279 tp->tv_sec = ts.tv_sec;
280 tp->tv_usec = ts.tv_nsec / 1000;
322 struct timeval *tp)
326 if (evutil_gettimeofday(tp, NULL) < 0)
328 adjust_monotonic_time(base, tp);
335 tp->tv_sec = usec / 1000000;
336 tp->tv_usec = usec % 1000000;
470 struct timeval *tp)
499 tp->tv_sec = (time_t) (counter_usec_elapsed / 1000000);
500 tp->tv_usec = counter_usec_elapsed % 1000000;
504 tp->tv_sec = (time_t) (ticks / 1000);
505 tp->tv_usec = (ticks % 1000) * 1000;
507 adjust_monotonic_time(base, tp);
530 struct timeval *tp)
532 if (evutil_gettimeofday(tp, NULL) < 0)
534 adjust_monotonic_time(base, tp);