/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
_timeval.h | 16 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) 17 #define timercmp(tvp,uvp,cmp) \ 18 ((tvp)->tv_sec cmp (uvp)->tv_sec || \ 19 ((tvp)->tv_sec == (uvp)->tv_sec && (tvp)->tv_usec cmp (uvp)->tv_usec)) 20 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = [all...] |
/external/tcpdump/ |
timeval-operations.h | 41 #define netdissect_timevalclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0) 43 #define netdissect_timevalisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) 45 #define netdissect_timevalcmp(tvp, uvp, cmp) \ 46 (((tvp)->tv_sec == (uvp)->tv_sec) ? \ 47 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \ 48 ((tvp)->tv_sec cmp (uvp)->tv_sec) [all...] |
util-print.c | 314 register const struct timeval *tvp) 328 s = (tvp->tv_sec + thiszone) % 86400; 329 ND_PRINT((ndo, "%s ", ts_format(ndo, s, tvp->tv_usec, buf))); 337 tvp->tv_sec, tvp->tv_usec, buf))); 358 tv_ref = *tvp; /* set timestamp for first packet */ 360 negative_offset = netdissect_timevalcmp(tvp, &tv_ref, <); 362 netdissect_timevalsub(&tv_ref, tvp, &tv_result, nano_prec); 364 netdissect_timevalsub(tvp, &tv_ref, &tv_result, nano_prec); 372 tv_ref = *tvp; /* set timestamp for previous packet * [all...] |
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
utime.c | 52 struct timeval tv[2], *tvp; local 57 tvp = NULL; 62 tvp = tv; 64 return (utimes(path, tvp));
|
/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/ |
utime.c | 60 struct timeval tv[2], *tvp;
local 65 tvp = NULL;
70 tvp = tv;
72 return (utimes(path, tvp));
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
time.h | 79 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
80 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
82 #define timercmp(tvp, uvp, cmp) \
83 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
84 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \
85 ((tvp)->tv_sec cmp (uvp)->tv_sec)) [all...] |
/external/clang/test/CodeGenCXX/ |
debug-info-alias.cpp | 35 tv<int> *tvp;
|
/external/libevent/include/event2/ |
util.h | 515 #define evutil_timeradd(tvp, uvp, vvp) timeradd((tvp), (uvp), (vvp)) 516 #define evutil_timersub(tvp, uvp, vvp) timersub((tvp), (uvp), (vvp)) 518 #define evutil_timeradd(tvp, uvp, vvp) \ 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) \ 529 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \ 530 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
time.h | 137 /* Change the access time of FILE to TVP[0] and the modification time of 138 FILE to TVP[1]. If TVP is a null pointer, use the current time instead. 153 /* Change the access time of FILE relative to FD to TVP[0] and the 154 modification time of FILE to TVP[1]. If TVP is a null pointer, use 164 # define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) 165 # define timerclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
time.h | 137 /* Change the access time of FILE to TVP[0] and the modification time of 138 FILE to TVP[1]. If TVP is a null pointer, use the current time instead. 153 /* Change the access time of FILE relative to FD to TVP[0] and the 154 modification time of FILE to TVP[1]. If TVP is a null pointer, use 164 # define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) 165 # define timerclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0 [all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Include/ |
OpenSslSupport.h | 284 #define gettimeofday(tvp,tz) do { (tvp)->tv_sec = time(NULL); (tvp)->tv_usec = 0; } while (0)
|
/device/google/cuttlefish_common/guest/hals/camera/ |
EmulatedCameraDevice.cpp | 374 struct timeval tv, *tvp = NULL; local 387 tvp = &tv; 389 int res = TEMP_FAILURE_RETRY(select(fd_num, fds, NULL, NULL, tvp));
|
/hardware/ril/libril/ |
ril_event.cpp | 38 #define timeradd(tvp, uvp, vvp) \ 40 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \ 41 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
|
/external/curl/lib/ |
asyn-ares.c | 373 struct timeval *tvp, tv, store; local 382 tvp = ares_timeout((ares_channel)data->state.resolver, &store, &tv); 387 if(!tvp->tv_sec) 388 timeout_ms = (int)(tvp->tv_usec/1000);
|
openldap.c | 261 struct timeval tv = {0, 1}, *tvp; local 287 tvp = &tv; 309 if(tvp) 313 rc = ldap_result(li->ld, li->msgid, LDAP_MSG_ONE, tvp, &msg);
|
/external/libmicrohttpd/doc/examples/ |
sessions.c | 721 struct timeval *tvp; local 757 tvp = &tv; 760 tvp = NULL; 761 if (-1 == select (max + 1, &rs, &ws, &es, tvp))
|
/external/libmicrohttpd/src/examples/ |
post_example.c | 704 struct timeval *tvp; local 740 tvp = &tv; 743 tvp = NULL; 744 select (max + 1, &rs, &ws, &es, tvp);
|
/external/ppp/pppd/ |
main.c | [all...] |
/external/libxml2/ |
testSAX.c | 80 my_gettimeofday(struct timeval *tvp, void *tzp) 85 if (tvp) { 86 tvp->tv_sec = timebuffer.time; 87 tvp->tv_usec = timebuffer.millitm * 1000L;
|
/external/python/cpython2/Lib/plat-sunos5/ |
TYPES.py | 297 def TIMEVAL_TO_TICK(tvp): return \
|
/external/mksh/src/ |
sh.h | 304 #define timerclear(tvp) \ 306 (tvp)->tv_sec = (tvp)->tv_usec = 0; \ 310 #define timeradd(tvp, uvp, vvp) \ 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) \ 323 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \ 324 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \ [all...] |
var.c | 2098 struct tbl *tvp; local [all...] |
/external/python/cpython3/Modules/ |
selectmodule.c | 202 struct timeval tv, *tvp; local 213 tvp = (struct timeval *)NULL; 230 tvp = &tv; 263 if (tvp) 269 n = select(max, &ifdset, &ofdset, &efdset, tvp); 279 if (tvp) { [all...] |
/external/elfutils/src/ |
strip.c | 112 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]) [all...] |
/bionic/libc/dns/resolv/ |
res_send.c | 1377 struct timeval tv, *tvp; local [all...] |