Searched refs:tvp (Results 1 - 13 of 13) sorted by relevance

/external/chromium/third_party/libevent/
H A Devutil.h123 #define evutil_timeradd(tvp, uvp, vvp) timeradd((tvp), (uvp), (vvp))
124 #define evutil_timersub(tvp, uvp, vvp) timersub((tvp), (uvp), (vvp))
126 #define evutil_timeradd(tvp, uvp, vvp) \
128 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
129 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
135 #define evutil_timersub(tvp, uvp, vvp) \
137 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
138 (vvp)->tv_usec = (tvp)
[all...]
/external/chromium/third_party/libevent/compat/sys/
H A D_libevent_time.h79 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
80 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
81 #define timercmp(tvp, uvp, cmp) \
82 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
83 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \
84 ((tvp)
[all...]
H A D_time.h79 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
80 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
81 #define timercmp(tvp, uvp, cmp) \
82 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
83 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \
84 ((tvp)
[all...]
/external/tcpdump/
H A Dutil.c145 ts_print(register const struct timeval *tvp) argument
156 s = (tvp->tv_sec + thiszone) % 86400;
159 (unsigned)tvp->tv_usec);
167 (unsigned)tvp->tv_sec,
168 (unsigned)tvp->tv_usec);
175 int d_usec = tvp->tv_usec - b_usec;
176 int d_sec = tvp->tv_sec - b_sec;
186 b_sec = tvp->tv_sec;
187 b_usec = tvp->tv_usec;
191 s = (tvp
[all...]
/external/quake/quake/src/WinQuake/
H A Dmpdosock.h100 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
101 #define timercmp(tvp, uvp, cmp) \
102 ((tvp)->tv_sec cmp (uvp)->tv_sec || \
103 (tvp)->tv_sec == (uvp)->tv_sec && (tvp)->tv_usec cmp (uvp)->tv_usec)
104 #define timerclear(tvp) (tvp)->tv_sec = (tvp)
[all...]
/external/webkit/WebCore/manual-tests/NPN_Invoke/
H A Dmain.c235 FunctionPointer functionPointerForTVector(TransitionVector tvp) argument
240 if (tvp != NULL) {
245 newGlue[0] |= ((UInt32)tvp >> 16);
246 newGlue[1] |= ((UInt32)tvp & 0xFFFF);
/external/qemu/distrib/sdl-1.2.12/src/video/ggi/
H A DSDL_ggievents.c51 struct timeval *tvp, tv = { 0, 0 }; local
54 tvp = &tv;
58 while (ggiEventPoll(VIS, emAll, tvp))
59 /* while (ggiEventPoll(VIS, (emKeyboard | emPointer | emCommand), tvp)) */
/external/ppp/pppd/
H A Dmain.c1341 timeleft(tvp)
1342 struct timeval *tvp;
1348 tvp->tv_sec = callout->c_time.tv_sec - timenow.tv_sec;
1349 tvp->tv_usec = callout->c_time.tv_usec - timenow.tv_usec;
1350 if (tvp->tv_usec < 0) {
1351 tvp->tv_usec += 1000000;
1352 tvp->tv_sec -= 1;
1354 if (tvp->tv_sec < 0)
1355 tvp->tv_sec = tvp
[all...]
/external/elfutils/src/
H A Dstrip.c96 const char *fname, mode_t mode, struct timeval tvp[2]);
100 struct timeval tvp[2]);
362 mode_t mode, struct timeval tvp[2])
1698 if (tvp != NULL)
1700 if (futimes (fd, tvp) != 0)
1719 struct timeval tvp[2])
1755 if (tvp != NULL)
1757 if (unlikely (futimes (fd, tvp) != 0))
361 handle_elf(int fd, Elf *elf, const char *prefix, const char *fname, mode_t mode, struct timeval tvp[2]) argument
1718 handle_ar(int fd, Elf *elf, const char *prefix, const char *fname, struct timeval tvp[2]) argument
/external/webkit/WebKit/mac/Plugins/
H A DWebNetscapePluginPackage.mm698 FunctionPointer functionPointerForTVector(TransitionVector tvp)
703 if (tvp != NULL) {
708 newGlue[0] |= ((uintptr_t)tvp >> 16);
709 newGlue[1] |= ((uintptr_t)tvp & 0xFFFF);
/external/kernel-headers/original/linux/
H A Dcompat.h191 struct compat_timeval __user *tvp);
/external/dhcpcd/
H A Dclient.c118 #define timernorm(tvp) \
120 while ((tvp)->tv_usec >= 1000000) { \
121 (tvp)->tv_sec++; \
122 (tvp)->tv_usec -= 1000000; \
126 #define timerneg(tvp) ((tvp)->tv_sec < 0 || (tvp)->tv_usec < 0)
/external/libxml2/
H A Dxmllint.c406 my_gettimeofday(struct timeval *tvp, void *tzp) argument
411 if (tvp) {
412 tvp->tv_sec = timebuffer.time;
413 tvp->tv_usec = timebuffer.millitm * 1000L;

Completed in 183 milliseconds