Lines Matching defs:tp
19 isc__gettimeofday(struct timeval *tp, struct timezone *tzp) {
22 res = gettimeofday(tp, tzp);
25 if (tp == NULL)
27 if (tp->tv_usec < 0) {
29 tp->tv_usec += MILLION;
30 tp->tv_sec--;
31 } while (tp->tv_usec < 0);
33 } else if (tp->tv_usec > MILLION) {
35 tp->tv_usec -= MILLION;
36 tp->tv_sec++;
37 } while (tp->tv_usec > MILLION);