Lines Matching refs:tsp
62 #define timespecclear(tsp) (tsp)->tv_sec = (time_t)((tsp)->tv_nsec = 0L) argument
63 #define timespecisset(tsp) ((tsp)->tv_sec || (tsp)->tv_nsec) argument
64 #define timespeccmp(tsp, usp, cmp) \ argument
65 (((tsp)->tv_sec == (usp)->tv_sec) ? \
66 ((tsp)->tv_nsec cmp (usp)->tv_nsec) : \
67 ((tsp)->tv_sec cmp (usp)->tv_sec))
68 #define timespecadd(tsp, usp, vsp) \ argument
70 (vsp)->tv_sec = (tsp)->tv_sec + (usp)->tv_sec; \
71 (vsp)->tv_nsec = (tsp)->tv_nsec + (usp)->tv_nsec; \
77 #define timespecsub(tsp, usp, vsp) \ argument
79 (vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec; \
80 (vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec; \