Lines Matching refs:res
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; \
73 if ((res)->tv_usec >= 1000000) { \
74 (res)->tv_usec -= 1000000; \
75 (res)->tv_sec += 1; \
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; \
83 if ((res)->tv_usec < 0) { \
84 (res)->tv_usec += 1000000; \
85 (res)->tv_sec -= 1; \