Lines Matching refs:vvp
138 #define timeradd(tvp, uvp, vvp) \ argument
141 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
142 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
143 if ((vvp)->tv_usec >= 1000000) \
145 (vvp)->tv_sec++; \
146 (vvp)->tv_usec -= 1000000; \
148 } while ((vvp)->tv_usec >= 1000000)
149 #define timersub(tvp, uvp, vvp) \ argument
152 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
153 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
154 if ((vvp)->tv_usec < 0) \
156 (vvp)->tv_sec--; \
157 (vvp)->tv_usec += 1000000; \
159 } while ((vvp)->tv_usec >= 1000000)
161 #define timeradd(tvp, uvp, vvp) \
164 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
165 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
166 if ((vvp)->tv_usec >= 1000000) \
168 (vvp)->tv_sec++; \
169 (vvp)->tv_usec -= 1000000; \
173 #define timersub(tvp, uvp, vvp) \
176 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
177 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
178 if ((vvp)->tv_usec < 0) \
180 (vvp)->tv_sec--; \
181 (vvp)->tv_usec += 1000000; \