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

12

/external/libevent/include/event2/
H A Dutil.h379 #define evutil_timeradd(tvp, uvp, vvp) timeradd((tvp), (uvp), (vvp))
380 #define evutil_timersub(tvp, uvp, vvp) timersub((tvp), (uvp), (vvp))
382 #define evutil_timeradd(tvp, uvp, vvp) \
384 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
385 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
391 #define evutil_timersub(tvp, uvp, vvp) \
393 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
394 (vvp)->tv_usec = (tvp)
[all...]
/external/clang/test/CodeGenCXX/
H A Ddebug-info-alias.cpp35 tv<int> *tvp;
/external/openssh/openbsd-compat/
H A Dbsd-poll.c49 struct timeval tv, *tvp = NULL; local
88 tvp = &tv;
91 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp);
H A Dbsd-misc.c108 int utimes(char *filename, struct timeval *tvp) argument
112 ub.actime = tvp[0].tv_sec;
113 ub.modtime = tvp[1].tv_sec;
/external/tcpdump/
H A Dutil.c193 register const struct timeval *tvp)
206 s = (tvp->tv_sec + thiszone) % 86400;
207 ND_PRINT((ndo, "%s ", ts_format(ndo, s, tvp->tv_usec)));
215 (unsigned)tvp->tv_sec,
216 (unsigned)tvp->tv_usec));
223 b_usec = tvp->tv_usec;
224 b_sec = tvp->tv_sec;
227 d_usec = tvp->tv_usec - b_usec;
228 d_sec = tvp->tv_sec - b_sec;
238 b_sec = tvp
192 ts_print(netdissect_options *ndo, register const struct timeval *tvp) argument
[all...]
/external/c-ares/
H A Dahost.c70 struct timeval *tvp, tv; local
150 tvp = ares_timeout(channel, NULL, &tv);
151 select(nfds, &read_fds, &write_fds, NULL, tvp);
H A Dacountry.c204 struct timeval *tvp, tv; local
213 tvp = ares_timeout(channel, NULL, &tv);
214 select(nfds, &read_fds, &write_fds, NULL, tvp);
H A Dadig.c205 struct timeval *tvp, tv; local
391 tvp = ares_timeout(channel, NULL, &tv);
392 count = select(nfds, &read_fds, &write_fds, NULL, tvp);
/external/curl/lib/
H A Dasyn-ares.c367 struct timeval *tvp, tv, store; local
377 tvp = ares_timeout((ares_channel)data->state.resolver, &store, &tv);
382 if(!tvp->tv_sec)
383 timeout_ms = (int)(tvp->tv_usec/1000);
H A Dopenldap.c231 struct timeval tv = {0, 1}, *tvp; local
257 tvp = &tv;
279 if(tvp)
283 rc = ldap_result(li->ld, li->msgid, LDAP_MSG_ONE, tvp, &msg);
/external/libmicrohttpd/doc/examples/
H A Dsessions.c721 struct timeval *tvp; local
757 tvp = &tv;
760 tvp = NULL;
761 if (-1 == select (max + 1, &rs, &ws, &es, tvp))
/external/libmicrohttpd/src/examples/
H A Dpost_example.c704 struct timeval *tvp; local
740 tvp = &tv;
743 tvp = NULL;
744 select (max + 1, &rs, &ws, &es, tvp);
/external/ppp/pppd/
H A Dmain.c1405 timeleft(tvp)
1406 struct timeval *tvp;
1412 tvp->tv_sec = callout->c_time.tv_sec - timenow.tv_sec;
1413 tvp->tv_usec = callout->c_time.tv_usec - timenow.tv_usec;
1414 if (tvp->tv_usec < 0) {
1415 tvp->tv_usec += 1000000;
1416 tvp->tv_sec -= 1;
1418 if (tvp->tv_sec < 0)
1419 tvp->tv_sec = tvp
[all...]
/external/libxml2/
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.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/mksh/src/
H A Dsh.h280 #define timerclear(tvp) \
282 (tvp)->tv_sec = (tvp)->tv_usec = 0; \
286 #define timeradd(tvp, uvp, vvp) \
288 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
289 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
297 #define timersub(tvp, uvp, vvp) \
299 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
300 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
H A Dfuncs.c1032 struct tbl *tvp; local
1043 for (tvp = vp; tvp; tvp = tvp->u.array)
1044 if (tvp->flag & ISSET) {
/external/openssh/
H A Dserverloop.c282 struct timeval tv, *tvp; local
361 tvp = NULL;
365 tvp = &tv;
369 ret = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp);
H A Dssh-agent.c1187 struct timeval *tvp = NULL; local
1406 prepare_select(&readsetp, &writesetp, &max_fd, &nalloc, &tvp);
1407 result = select(max_fd + 1, readsetp, writesetp, NULL, tvp);
H A Dclientloop.c597 struct timeval tv, *tvp; local
664 tvp = NULL;
668 tvp = &tv;
671 ret = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp);
/external/elfutils/src/
H A Dstrip.c112 const char *fname, mode_t mode, struct timespec tvp[2]);
116 struct timespec tvp[2]) __attribute__ ((unused));
410 mode_t mode, struct timespec tvp[2])
2197 if (tvp != NULL)
2199 if (futimens (fd, tvp) != 0)
2233 struct timespec tvp[2])
2269 if (tvp != NULL)
2271 if (unlikely (futimens (fd, tvp) != 0))
409 handle_elf(int fd, Elf *elf, const char *prefix, const char *fname, mode_t mode, struct timespec tvp[2]) argument
2232 handle_ar(int fd, Elf *elf, const char *prefix, const char *fname, struct timespec tvp[2]) argument
/external/libmicrohttpd/src/microhttpd/
H A Ddaemon.c903 struct timeval *tvp; local
924 tvp = NULL;
933 tvp = &tv;
941 tvp = &tv;
974 tvp = &tv;
997 num_ready = MHD_SYS_select_ (max + 1, &rs, &ws, NULL, tvp);
1049 tvp = &tv;
1071 (NULL == tvp) ? -1 : tv.tv_sec * 1000) < 0)
/external/fio/
H A Dio_u.c1790 struct timespec *tvp = NULL; local
1797 tvp = &ts;
1801 ret = td_io_getevents(td, min_evts, td->o.iodepth_batch_complete, tvp);
/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))
2678 long tvp);
2680 long exp, long tvp);
/external/valgrind/memcheck/tests/x86-linux/
H A Dscalar.stderr.exp3794 Syscall param utimes(tvp) contains uninitialised byte(s)
3803 Syscall param utimes(tvp[0]) points to unaddressable byte(s)
3808 Syscall param utimes(tvp[1]) points to unaddressable byte(s)

Completed in 737 milliseconds

12