Home
last modified time | relevance | path

Searched refs:vvp (Results 1 – 3 of 3) sorted by relevance

/external/chromium/third_party/libevent/
Devutil.h123 #define evutil_timeradd(tvp, uvp, vvp) timeradd((tvp), (uvp), (vvp)) argument
124 #define evutil_timersub(tvp, uvp, vvp) timersub((tvp), (uvp), (vvp)) argument
126 #define evutil_timeradd(tvp, uvp, vvp) \ argument
128 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
129 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
130 if ((vvp)->tv_usec >= 1000000) { \
131 (vvp)->tv_sec++; \
132 (vvp)->tv_usec -= 1000000; \
135 #define evutil_timersub(tvp, uvp, vvp) \ argument
137 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
[all …]
/external/chromium/third_party/libevent/compat/sys/
D_libevent_time.h85 #define timeradd(tvp, uvp, vvp) \ argument
87 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
88 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
89 if ((vvp)->tv_usec >= 1000000) { \
90 (vvp)->tv_sec++; \
91 (vvp)->tv_usec -= 1000000; \
94 #define timersub(tvp, uvp, vvp) \ argument
96 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
97 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
98 if ((vvp)->tv_usec < 0) { \
[all …]
D_time.h85 #define timeradd(tvp, uvp, vvp) \ argument
87 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
88 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
89 if ((vvp)->tv_usec >= 1000000) { \
90 (vvp)->tv_sec++; \
91 (vvp)->tv_usec -= 1000000; \
94 #define timersub(tvp, uvp, vvp) \ argument
96 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
97 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
98 if ((vvp)->tv_usec < 0) { \
[all …]