/external/curl/tests/libtest/ |
D | testutil.c | 29 struct timeval tutil_tvnow(void) in tutil_tvnow() 36 struct timeval now; in tutil_tvnow() 45 struct timeval tutil_tvnow(void) in tutil_tvnow() 54 struct timeval now; in tutil_tvnow() 79 struct timeval tutil_tvnow(void) in tutil_tvnow() 86 struct timeval now; in tutil_tvnow() 93 struct timeval tutil_tvnow(void) in tutil_tvnow() 98 struct timeval now; in tutil_tvnow() 112 long tutil_tvdiff(struct timeval newer, struct timeval older) in tutil_tvdiff() 123 double tutil_tvdiff_secs(struct timeval newer, struct timeval older) in tutil_tvdiff_secs() [all …]
|
D | testutil.h | 26 struct timeval tutil_tvnow(void); 34 long tutil_tvdiff(struct timeval t1, struct timeval t2); 41 double tutil_tvdiff_secs(struct timeval t1, struct timeval t2); 43 long tutil_tvlong(struct timeval t1);
|
D | lib1507.c | 47 static struct timeval tvnow(void) in tvnow() 52 struct timeval now; in tvnow() 58 static long tvdiff(struct timeval newer, struct timeval older) in tvdiff() 70 struct timeval mp_start; in test() 102 struct timeval timeout; in test()
|
/external/curl/src/ |
D | tool_util.c | 30 struct timeval tool_tvnow(void) in tool_tvnow() 42 struct timeval now; in tool_tvnow() 55 struct timeval tool_tvnow(void) in tool_tvnow() 64 struct timeval now; in tool_tvnow() 89 struct timeval tool_tvnow(void) in tool_tvnow() 96 struct timeval now; in tool_tvnow() 103 struct timeval tool_tvnow(void) in tool_tvnow() 108 struct timeval now; in tool_tvnow() 122 long tool_tvdiff(struct timeval newer, struct timeval older) in tool_tvdiff() 133 double tool_tvdiff_secs(struct timeval newer, struct timeval older) in tool_tvdiff_secs() [all …]
|
D | tool_util.h | 26 struct timeval tool_tvnow(void); 34 long tool_tvdiff(struct timeval t1, struct timeval t2); 41 double tool_tvdiff_secs(struct timeval t1, struct timeval t2); 43 long tool_tvlong(struct timeval t1);
|
/external/curl/lib/ |
D | timeval.c | 27 struct timeval curlx_tvnow(void) in curlx_tvnow() 34 struct timeval now; in curlx_tvnow() 51 struct timeval curlx_tvnow(void) in curlx_tvnow() 60 struct timeval now; in curlx_tvnow() 85 struct timeval curlx_tvnow(void) in curlx_tvnow() 92 struct timeval now; in curlx_tvnow() 99 struct timeval curlx_tvnow(void) in curlx_tvnow() 104 struct timeval now; in curlx_tvnow() 118 long curlx_tvdiff(struct timeval newer, struct timeval older) in curlx_tvdiff() 129 double curlx_tvdiff_secs(struct timeval newer, struct timeval older) in curlx_tvdiff_secs() [all …]
|
D | timeval.h | 32 struct timeval curlx_tvnow(void); 40 long curlx_tvdiff(struct timeval t1, struct timeval t2); 47 double curlx_tvdiff_secs(struct timeval t1, struct timeval t2); 49 long Curl_tvlong(struct timeval t1);
|
D | splay.h | 30 struct timeval key; /* this node's "sort" key */ 34 struct Curl_tree *Curl_splay(struct timeval i, 37 struct Curl_tree *Curl_splayinsert(struct timeval key, 42 struct Curl_tree *Curl_splayremove(struct timeval key, 47 struct Curl_tree *Curl_splaygetbest(struct timeval key,
|
/external/avahi/avahi-common/ |
D | timeval.h | 36 int avahi_timeval_compare(const struct timeval *a, const struct timeval *b); 39 AvahiUsec avahi_timeval_diff(const struct timeval *a, const struct timeval *b); 42 struct timeval* avahi_timeval_add(struct timeval *a, AvahiUsec usec); 45 AvahiUsec avahi_age(const struct timeval *a); 50 struct timeval *avahi_elapse_time(struct timeval *tv, unsigned ms, unsigned j);
|
D | timeval.c | 30 int avahi_timeval_compare(const struct timeval *a, const struct timeval *b) { in avahi_timeval_compare() 49 AvahiUsec avahi_timeval_diff(const struct timeval *a, const struct timeval *b) { in avahi_timeval_diff() 59 struct timeval* avahi_timeval_add(struct timeval *a, AvahiUsec usec) { in avahi_timeval_add() 76 AvahiUsec avahi_age(const struct timeval *a) { in avahi_age() 77 struct timeval now; in avahi_age() 86 struct timeval *avahi_elapse_time(struct timeval *tv, unsigned msec, unsigned jitter) { in avahi_elapse_time()
|
/external/c-ares/ |
D | ares__timeval.c | 21 struct timeval ares__tvnow(void) in ares__tvnow() 28 struct timeval now; in ares__tvnow() 37 struct timeval ares__tvnow(void) in ares__tvnow() 46 struct timeval now; in ares__tvnow() 71 struct timeval ares__tvnow(void) in ares__tvnow() 78 struct timeval now; in ares__tvnow() 85 struct timeval ares__tvnow(void) in ares__tvnow() 90 struct timeval now; in ares__tvnow() 105 long ares__tvdiff(struct timeval newer, struct timeval older)
|
D | ares_private.h | 182 struct timeval timeout; 310 int ares__timedout(struct timeval *now, 311 struct timeval *check); 313 int ares__timeadd(struct timeval *now, 316 long ares__timeoffset(struct timeval *now, 317 struct timeval *check); 322 struct timeval *now); 328 struct timeval ares__tvnow(void); 335 long ares__tvdiff(struct timeval t1, struct timeval t2);
|
D | ares_timeout.c | 33 struct timeval *ares_timeout(ares_channel channel, struct timeval *maxtv, in ares_timeout() 34 struct timeval *tvbuf) in ares_timeout() 39 struct timeval now; in ares_timeout() 40 struct timeval nextstop; in ares_timeout()
|
/external/fio/ |
D | fio_time.h | 5 extern uint64_t utime_since(const struct timeval *,const struct timeval *); 6 extern uint64_t utime_since_now(const struct timeval *); 7 extern uint64_t mtime_since(const struct timeval *, const struct timeval *); 8 extern uint64_t mtime_since_now(const struct timeval *); 9 extern uint64_t time_since_now(const struct timeval *); 15 extern void fill_start_time(struct timeval *);
|
D | time.c | 6 static struct timeval genesis; 14 struct timeval start; in usec_spin() 27 struct timeval tv; in usec_sleep() 85 struct timeval tv; in ramp_time_over() 111 struct timeval tv; in fio_time_init() 132 void fill_start_time(struct timeval *t) in fill_start_time()
|
/external/avahi/avahi-core/ |
D | timeeventq.c | 36 struct timeval expiry; 37 struct timeval last_run; 81 struct timeval now; in expiration_event() 106 struct timeval now; in fix_expiry_time() 163 const struct timeval *timeval, in avahi_time_event_new() argument 182 if (timeval) in avahi_time_event_new() 183 e->expiry = *timeval; in avahi_time_event_new() 215 void avahi_time_event_update(AvahiTimeEvent *e, const struct timeval *timeval) { in avahi_time_event_update() argument 217 assert(timeval); in avahi_time_event_update() 219 e->expiry = *timeval; in avahi_time_event_update()
|
D | timeeventq.h | 39 const struct timeval *timeval, 44 void avahi_time_event_update(AvahiTimeEvent *e, const struct timeval *timeval);
|
D | querier.c | 44 struct timeval creation_time; 66 struct timeval tv; in querier_elapse_callback() 98 void avahi_querier_add(AvahiInterface *i, AvahiKey *key, struct timeval *ret_ctime) { in avahi_querier_add() 100 struct timeval tv; in avahi_querier_add() 191 struct timeval *ret_ctime; 202 struct timeval tv; in add_querier_callback() 210 …ahiServer *s, AvahiIfIndex idx, AvahiProtocol protocol, AvahiKey *key, struct timeval *ret_ctime) { in avahi_querier_add_for_all() 251 struct timeval tv; in avahi_querier_shall_refresh_cache()
|
/external/curl/docs/examples/ |
D | imap-multi.c | 34 static struct timeval tvnow(void) in tvnow() 36 struct timeval now; in tvnow() 45 static long tvdiff(struct timeval newer, struct timeval older) in tvdiff() 56 struct timeval mp_start; in main() 85 struct timeval timeout; in main() 134 struct timeval wait = { 0, 100 * 1000 }; /* 100ms */ in main()
|
D | pop3-multi.c | 34 static struct timeval tvnow(void) in tvnow() 36 struct timeval now; in tvnow() 45 static long tvdiff(struct timeval newer, struct timeval older) in tvdiff() 56 struct timeval mp_start; in main() 85 struct timeval timeout; in main() 134 struct timeval wait = { 0, 100 * 1000 }; /* 100ms */ in main()
|
D | smtp-multi.c | 79 static struct timeval tvnow(void) in tvnow() 81 struct timeval now; in tvnow() 90 static long tvdiff(struct timeval newer, struct timeval older) in tvdiff() 101 struct timeval mp_start; in main() 152 struct timeval timeout; in main() 201 struct timeval wait = { 0, 100 * 1000 }; /* 100ms */ in main()
|
/external/toybox/toys/other/ |
D | hwclock.c | 60 struct timeval timeval; in hwclock_main() local 102 if (gettimeofday(&timeval, 0)) perror_exit("gettimeofday failed"); in hwclock_main() 103 if (!(TT.utc ? gmtime_r : localtime_r)(&timeval.tv_sec, &tm)) in hwclock_main() 115 timeval.tv_sec = time; in hwclock_main() 116 timeval.tv_usec = 0; // todo: fixit in hwclock_main() 122 if (!TT.utc) timeval.tv_sec += tzone.tz_minuteswest * 60; in hwclock_main() 132 if (settimeofday(&timeval, &tzone)) perror_exit("settimeofday failed"); in hwclock_main()
|
/external/strace/ |
D | defs.h | 306 struct timeval stime; /* System time usage as of last process wait */ 307 struct timeval dtime; /* Delta for system time usage */ 308 struct timeval etime; /* Syscall entry time */ 493 extern void count_syscall(struct tcb *, const struct timeval *); 648 extern int tv_nz(const struct timeval *); 649 extern int tv_cmp(const struct timeval *, const struct timeval *); 650 extern double tv_float(const struct timeval *); 651 extern void tv_add(struct timeval *, const struct timeval *, const struct timeval *); 652 extern void tv_sub(struct timeval *, const struct timeval *, const struct timeval *); 653 extern void tv_mul(struct timeval *, const struct timeval *, int); [all …]
|
/external/webrtc/webrtc/base/ |
D | timeutils.cc | 92 struct timeval { struct 98 static int gettimeofday(struct timeval *tv, void *tz) { in gettimeofday() 128 struct timeval timeval; in CurrentTmTime() local 129 if (gettimeofday(&timeval, NULL) < 0) { in CurrentTmTime() 131 timeval.tv_sec = timeval.tv_usec = 0; in CurrentTmTime() 133 time_t secs = timeval.tv_sec; in CurrentTmTime() 135 *microseconds = timeval.tv_usec; in CurrentTmTime()
|
/external/e2fsprogs/e2fsck/ |
D | scantest.c | 44 struct timeval time_start; 45 struct timeval user_start; 46 struct timeval system_start; 63 static __inline__ float timeval_subtract(struct timeval *tv1, in timeval_subtract() 64 struct timeval *tv2) in timeval_subtract() 73 struct timeval time_end; in print_resource_track()
|