Lines Matching refs:res
60 #define timeradd(a, b, res) \ argument
62 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
63 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \
64 if ((res)->tv_usec >= 1000000) { \
65 (res)->tv_usec -= 1000000; \
66 (res)->tv_sec += 1; \
70 #define timersub(a, b, res) \ argument
72 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
73 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
74 if ((res)->tv_usec < 0) { \
75 (res)->tv_usec += 1000000; \
76 (res)->tv_sec -= 1; \