Lines Matching refs:tv_sec
62 #define timespecclear(tsp) (tsp)->tv_sec = (time_t)((tsp)->tv_nsec = 0L)
63 #define timespecisset(tsp) ((tsp)->tv_sec || (tsp)->tv_nsec)
65 (((tsp)->tv_sec == (usp)->tv_sec) ? \
67 ((tsp)->tv_sec cmp (usp)->tv_sec))
70 (vsp)->tv_sec = (tsp)->tv_sec + (usp)->tv_sec; \
73 (vsp)->tv_sec++; \
79 (vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec; \
82 (vsp)->tv_sec--; \
89 ((double)(tv)->tv_sec + (double)((tv)->tv_nsec) / 1000000000.0)
92 (tv)->tv_sec++; \
97 ms = (tv)->tv_sec * MSEC_PER_SEC; \
101 (tv)->tv_sec = ms / MSEC_PER_SEC; \
102 (tv)->tv_nsec = (suseconds_t)(ms - ((tv)->tv_sec * MSEC_PER_SEC)) \
108 (ts)->tv_sec = (tv)->tv_sec; \