/external/tcpdump/ |
D | timeval-operations.h | 41 #define netdissect_timevalclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0) argument 43 #define netdissect_timevalisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) argument 45 #define netdissect_timevalcmp(tvp, uvp, cmp) \ argument 46 (((tvp)->tv_sec == (uvp)->tv_sec) ? \ 47 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \ 48 ((tvp)->tv_sec cmp (uvp)->tv_sec)) 50 #define netdissect_timevaladd(tvp, uvp, vvp, nano_prec) \ argument 52 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \ 53 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \ 67 #define netdissect_timevalsub(tvp, uvp, vvp, nano_prec) \ argument [all …]
|
D | util-print.c | 314 register const struct timeval *tvp) in ts_print() argument 328 s = (tvp->tv_sec + thiszone) % 86400; in ts_print() 329 ND_PRINT((ndo, "%s ", ts_format(ndo, s, tvp->tv_usec, buf))); in ts_print() 337 tvp->tv_sec, tvp->tv_usec, buf))); in ts_print() 358 tv_ref = *tvp; /* set timestamp for first packet */ in ts_print() 360 negative_offset = netdissect_timevalcmp(tvp, &tv_ref, <); in ts_print() 362 netdissect_timevalsub(&tv_ref, tvp, &tv_result, nano_prec); in ts_print() 364 netdissect_timevalsub(tvp, &tv_ref, &tv_result, nano_prec); in ts_print() 372 tv_ref = *tvp; /* set timestamp for previous packet */ in ts_print() 376 s = (tvp->tv_sec + thiszone) % 86400; in ts_print() [all …]
|
/external/libevent/include/event2/ |
D | util.h | 515 #define evutil_timeradd(tvp, uvp, vvp) timeradd((tvp), (uvp), (vvp)) argument 516 #define evutil_timersub(tvp, uvp, vvp) timersub((tvp), (uvp), (vvp)) argument 518 #define evutil_timeradd(tvp, uvp, vvp) \ argument 520 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \ 521 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \ 527 #define evutil_timersub(tvp, uvp, vvp) \ argument 529 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \ 530 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \ 539 #define evutil_timerclear(tvp) timerclear(tvp) argument 541 #define evutil_timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0 argument [all …]
|
/external/ltp/testcases/kernel/syscalls/select/ |
D | select.h | 60 #define select_sys_select(n, inp, outp, exp, tvp) \ argument 61 return ltp_syscall(__NR_select, n, inp, outp, exp, tvp) 70 #define select_sys_select(n, inp, outp, exp, tvp) \ argument 77 arg._tvp = (long)tvp; \ 84 #define select_sys__newselect(n, inp, outp, exp, tvp) \ argument 85 return ltp_syscall(__NR__newselect, n, inp, outp, exp, tvp) 87 #define select_sys_pselect6(n, inp, outp, exp, tvp) \ argument 91 ts.tv_sec = tvp->tv_sec; \ 92 ts.tv_nsec = tvp->tv_usec * 1000; \ 94 tvp->tv_sec = ts.tv_sec; \ [all …]
|
/external/openssh/openbsd-compat/ |
D | bsd-poll.c | 47 struct timeval tv, *tvp = NULL; in poll() local 86 tvp = &tv; in poll() 89 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp); in poll()
|
D | bsd-misc.c | 108 int utimes(char *filename, struct timeval *tvp) in utimes() argument 112 ub.actime = tvp[0].tv_sec; in utimes() 113 ub.modtime = tvp[1].tv_sec; in utimes()
|
/external/ppp/pppd/ |
D | main.c | 1382 timeleft(tvp) in timeleft() argument 1383 struct timeval *tvp; in timeleft() 1389 tvp->tv_sec = callout->c_time.tv_sec - timenow.tv_sec; 1390 tvp->tv_usec = callout->c_time.tv_usec - timenow.tv_usec; 1391 if (tvp->tv_usec < 0) { 1392 tvp->tv_usec += 1000000; 1393 tvp->tv_sec -= 1; 1395 if (tvp->tv_sec < 0) 1396 tvp->tv_sec = tvp->tv_usec = 0; 1398 return tvp;
|
/external/curl/lib/ |
D | asyn-ares.c | 406 struct timeval *tvp, tv, store; in Curl_resolver_wait_resolv() local 415 tvp = ares_timeout((ares_channel)data->state.resolver, &store, &tv); in Curl_resolver_wait_resolv() 420 if(!tvp->tv_sec) in Curl_resolver_wait_resolv() 421 timeout_ms = (int)(tvp->tv_usec/1000); in Curl_resolver_wait_resolv()
|
D | openldap.c | 261 struct timeval tv = {0, 1}, *tvp; in ldap_connecting() local 287 tvp = &tv; in ldap_connecting() 309 if(tvp) in ldap_connecting() 313 rc = ldap_result(li->ld, li->msgid, LDAP_MSG_ONE, tvp, &msg); in ldap_connecting()
|
/external/clang/test/CodeGenCXX/ |
D | debug-info-alias.cpp | 35 tv<int> *tvp; variable
|
/external/libxml2/ |
D | testSAX.c | 80 my_gettimeofday(struct timeval *tvp, void *tzp) in my_gettimeofday() argument 85 if (tvp) { in my_gettimeofday() 86 tvp->tv_sec = timebuffer.time; in my_gettimeofday() 87 tvp->tv_usec = timebuffer.millitm * 1000L; in my_gettimeofday()
|
D | xmllint.c | 400 my_gettimeofday(struct timeval *tvp, void *tzp) in my_gettimeofday() argument 405 if (tvp) { in my_gettimeofday() 406 tvp->tv_sec = timebuffer.time; in my_gettimeofday() 407 tvp->tv_usec = timebuffer.millitm * 1000L; in my_gettimeofday()
|
/external/openssh/ |
D | serverloop.c | 203 struct timeval tv, *tvp; in wait_until_can_do_something() local 256 tvp = NULL; in wait_until_can_do_something() 260 tvp = &tv; in wait_until_can_do_something() 264 ret = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp); in wait_until_can_do_something()
|
D | ssh-agent.c | 1222 struct timeval *tvp = NULL; in main() local 1452 prepare_select(&readsetp, &writesetp, &max_fd, &nalloc, &tvp); in main() 1453 result = select(max_fd + 1, readsetp, writesetp, NULL, tvp); in main()
|
D | clientloop.c | 617 struct timeval tv, *tvp; in client_wait_until_can_do_something() local 684 tvp = NULL; in client_wait_until_can_do_something() 688 tvp = &tv; in client_wait_until_can_do_something() 691 ret = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp); in client_wait_until_can_do_something()
|
/external/mksh/src/ |
D | sh.h | 304 #define timerclear(tvp) \ argument 306 (tvp)->tv_sec = (tvp)->tv_usec = 0; \ 310 #define timeradd(tvp, uvp, vvp) \ argument 312 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \ 313 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \ 321 #define timersub(tvp, uvp, vvp) \ argument 323 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \ 324 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
|
D | var.c | 2107 struct tbl *tvp; in c_typeset_vardump() local 2117 for (tvp = vp; tvp; tvp = tvp->u.array) in c_typeset_vardump() 2118 if (tvp->flag & ISSET) { in c_typeset_vardump()
|
/external/python/cpython3/Modules/ |
D | selectmodule.c | 202 struct timeval tv, *tvp; in select_select() local 213 tvp = (struct timeval *)NULL; in select_select() 230 tvp = &tv; in select_select() 263 if (tvp) in select_select() 269 n = select(max, &ifdset, &ofdset, &efdset, tvp); in select_select() 279 if (tvp) { in select_select()
|
/external/elfutils/src/ |
D | strip.c | 118 const char *fname, mode_t mode, struct timespec tvp[2]); 122 struct timespec tvp[2]) __attribute__ ((unused)); 926 mode_t mode, struct timespec tvp[2]) in handle_elf() 2660 if (tvp != NULL) in handle_elf() 2662 if (futimens (fd, tvp) != 0) in handle_elf() 2700 struct timespec tvp[2]) in handle_ar() 2736 if (tvp != NULL) in handle_ar() 2738 if (unlikely (futimens (fd, tvp) != 0)) in handle_ar()
|
/external/python/cpython2/Lib/plat-sunos5/ |
D | TYPES.py | 297 def TIMEVAL_TO_TICK(tvp): return \ argument
|
/external/python/cpython2/Modules/ |
D | selectmodule.c | 204 struct timeval tv, *tvp; in select_select() local 215 tvp = (struct timeval *)0; in select_select() 234 tvp = &tv; in select_select() 267 n = select(max, &ifdset, &ofdset, &efdset, tvp); in select_select()
|
/external/syzkaller/sys/fuchsia/ |
D | posix.txt | 44 select(n len[inp], inp ptr[inout, fd_set], outp ptr[inout, fd_set], exp ptr[inout, fd_set], tvp ptr…
|
/external/syzkaller/sys/netbsd/ |
D | sys.txt | 25 select(n len[inp], inp ptr[inout, fd_set], outp ptr[inout, fd_set], exp ptr[inout, fd_set], tvp ptr…
|
/external/syzkaller/sys/freebsd/ |
D | sys.txt | 31 select(n len[inp], inp ptr[inout, fd_set], outp ptr[inout, fd_set], exp ptr[inout, fd_set], tvp ptr…
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 1189 #define __sanitizer_syscall_pre_select(n, inp, outp, exp, tvp) \ argument 1191 (long)(exp), (long)(tvp)) 1192 #define __sanitizer_syscall_post_select(res, n, inp, outp, exp, tvp) \ argument 1194 (long)(outp), (long)(exp), (long)(tvp)) 2678 long tvp); 2680 long exp, long tvp);
|