Home
last modified time | relevance | path

Searched refs:timeval (Results 1 – 25 of 696) sorted by relevance

12345678910>>...28

/external/curl/tests/libtest/
Dtestutil.c29 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 …]
Dtestutil.h26 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);
Dlib1507.c47 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/
Dtool_util.c30 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 …]
Dtool_util.h26 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/
Dtimeval.c27 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 …]
Dtimeval.h32 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);
Dsplay.h30 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/
Dtimeval.h36 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);
Dtimeval.c30 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/
Dares__timeval.c21 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)
Dares_private.h182 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);
Dares_timeout.c33 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/
Dfio_time.h5 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 *);
Dtime.c6 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/
Dtimeeventq.c36 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()
Dtimeeventq.h39 const struct timeval *timeval,
44 void avahi_time_event_update(AvahiTimeEvent *e, const struct timeval *timeval);
Dquerier.c44 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/
Dimap-multi.c34 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()
Dpop3-multi.c34 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()
Dsmtp-multi.c79 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/
Dhwclock.c60 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/
Ddefs.h306 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/
Dtimeutils.cc92 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/
Dscantest.c44 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()

12345678910>>...28