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

/external/chromium_org/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_org/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/clang/test/CodeGenCXX/
H A Ddebug-info-alias.cpp33 tv<int> *tvp;
/external/dhcpcd/
H A Dcommon.h40 #define timernorm(tvp) \
42 while ((tvp)->tv_usec >= 1000000) { \
43 (tvp)->tv_sec++; \
44 (tvp)->tv_usec -= 1000000; \
/external/tcpdump/
H A Dutil.c160 ts_print(register const struct timeval *tvp) argument
173 s = (tvp->tv_sec + thiszone) % 86400;
174 (void)printf("%s ", ts_format(s, tvp->tv_usec));
182 (unsigned)tvp->tv_sec,
183 (unsigned)tvp->tv_usec);
190 b_usec = tvp->tv_usec;
191 b_sec = tvp->tv_sec;
194 d_usec = tvp->tv_usec - b_usec;
195 d_sec = tvp->tv_sec - b_sec;
205 b_sec = tvp
[all...]
/external/chromium_org/third_party/WebKit/ManualTests/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.15/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/chromium_org/third_party/libxml/src/
H A DtestSAX.c80 my_gettimeofday(struct timeval *tvp, void *tzp) argument
85 if (tvp) {
86 tvp->tv_sec = timebuffer.time;
87 tvp->tv_usec = timebuffer.millitm * 1000L;
H A Dxmllint.c411 my_gettimeofday(struct timeval *tvp, void *tzp) argument
416 if (tvp) {
417 tvp->tv_sec = timebuffer.time;
418 tvp->tv_usec = timebuffer.millitm * 1000L;
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_os_userspace.h268 #define timeradd(tvp, uvp, vvp) \
270 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
271 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
278 #define timersub(tvp, uvp, vvp) \
280 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
281 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
/external/mksh/src/
H A Dsh.h273 #define timerclear(tvp) \
275 (tvp)->tv_sec = (tvp)->tv_usec = 0; \
279 #define timeradd(tvp, uvp, vvp) \
281 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
282 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
290 #define timersub(tvp, uvp, vvp) \
292 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
293 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
H A Dfuncs.c905 struct tbl *tvp; local
916 for (tvp = vp; tvp; tvp = tvp->u.array)
917 if (tvp->flag & ISSET) {
/external/elfutils/0.153/src/
H A Dstrip.c121 const char *fname, mode_t mode, struct timeval tvp[2]);
125 struct timeval tvp[2]);
403 mode_t mode, struct timeval tvp[2])
2064 if (tvp != NULL)
2066 if (futimes (fd, tvp) != 0)
2085 struct timeval tvp[2])
2121 if (tvp != NULL)
2123 if (unlikely (futimes (fd, tvp) != 0))
402 handle_elf(int fd, Elf *elf, const char *prefix, const char *fname, mode_t mode, struct timeval tvp[2]) argument
2084 handle_ar(int fd, Elf *elf, const char *prefix, const char *fname, struct timeval tvp[2]) argument
/external/fio/
H A Dio_u.c1784 struct timespec *tvp = NULL; local
1791 tvp = &ts;
1793 ret = td_io_getevents(td, min_evts, td->o.iodepth_batch_complete, tvp);
/external/libxml2/
H A Dxmllint.c416 my_gettimeofday(struct timeval *tvp, void *tzp) argument
421 if (tvp) {
422 tvp->tv_sec = timebuffer.time;
423 tvp->tv_usec = timebuffer.millitm * 1000L;
/external/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1189 #define __sanitizer_syscall_pre_select(n, inp, outp, exp, tvp) \
1191 (long)(exp), (long)(tvp))
1192 #define __sanitizer_syscall_post_select(res, n, inp, outp, exp, tvp) \
1194 (long)(outp), (long)(exp), (long)(tvp))
2671 long tvp);
2673 long exp, long tvp);
/external/valgrind/main/memcheck/tests/x86-linux/
H A Dscalar.stderr.exp3790 Syscall param utimes(tvp) contains uninitialised byte(s)
3799 Syscall param utimes(tvp[0]) points to unaddressable byte(s)
3804 Syscall param utimes(tvp[1]) points to unaddressable byte(s)
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-generic.c4273 PRE_REG_READ2(long, "utimes", char *, filename, struct timeval *, tvp);
4276 PRE_timeval_READ( "utimes(tvp[0])", ARG2 );
4277 PRE_timeval_READ( "utimes(tvp[1])", ARG2+sizeof(struct vki_timeval) );
H A Dsyswrap-darwin.c1291 PRE_REG_READ2(long, "futimes", int, fd, struct timeval *, tvp);
1295 PRE_timeval_READ( "futimes(tvp[0])", ARG2 );
1296 PRE_timeval_READ( "futimes(tvp[1])", ARG2+sizeof(struct vki_timeval) );
H A Dsyswrap-linux.c4460 int, dfd, char *, filename, struct timeval *, tvp);
4464 PRE_MEM_READ( "futimesat(tvp)", ARG3, 2 * sizeof(struct vki_timeval) );
4475 PRE_MEM_READ( "utimensat(tvp)", ARG3, 2 * sizeof(struct vki_timespec) );

Completed in 6292 milliseconds