Lines Matching refs:a
58 #define timerclear(a) \ argument
59 ((a)->tv_sec = (a)->tv_usec = 0)
61 #define timerisset(a) \ argument
62 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
64 #define timercmp(a, b, op) \ argument
65 ((a)->tv_sec == (b)->tv_sec \
66 ? (a)->tv_usec op (b)->tv_usec \
67 : (a)->tv_sec op (b)->tv_sec)
69 #define timeradd(a, b, res) \ argument
71 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
72 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \
79 #define timersub(a, b, res) \ argument
81 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
82 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \