Lines Matching refs:tv
63 #define TIMEVAL32_TO_TIMEVAL(tv, tv32) { \ argument
64 (tv)->tv_sec = (time_t)(tv32)->tv_sec; \
65 (tv)->tv_usec = (tv32)->tv_usec; \
68 #define TIMEVAL_TO_TIMEVAL32(tv32, tv) { \ argument
69 (tv32)->tv_sec = (time32_t)(tv)->tv_sec; \
70 (tv32)->tv_usec = (int32_t)(tv)->tv_usec; \
76 #define TIMEVAL_OVERFLOW(tv) \ argument
77 ((tv)->tv_sec < TIME32_MIN || (tv)->tv_sec > TIME32_MAX)
419 #define TIMESPEC_TO_TIMEVAL(tv, ts) { \ argument
420 (tv)->tv_sec = (ts)->tv_sec; \
421 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
424 #define TIMEVAL_TO_TIMESPEC(tv, ts) { \ argument
425 (ts)->tv_sec = (tv)->tv_sec; \
426 (ts)->tv_nsec = (tv)->tv_usec * 1000; \