Home
last modified time | relevance | path

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

12345678910>>...23

/dragonfly/usr.bin/tip/
H A Dtod.h1 int tod_cmp (const struct timeval *a, const struct timeval *b);
2 int tod_lt (const struct timeval *a, const struct timeval *b) ;
3 int tod_gt (const struct timeval *a, const struct timeval *b);
4 int tod_lte (const struct timeval *a, const struct timeval *b);
5 int tod_gte (const struct timeval *a, const struct timeval *b);
6 int tod_eq (const struct timeval *a, const struct timeval *b);
7 void tod_addto (struct timeval *a, const struct timeval *b);
8 void tod_subfrom (struct timeval *a, struct timeval b);
9 void tod_gettime (struct timeval *tp);
H A Dtod.c35 int tod_cmp (const struct timeval *a, const struct timeval *b) in tod_cmp()
49 int tod_lt (const struct timeval *a, const struct timeval *b) in tod_lt()
54 int tod_gt (const struct timeval *a, const struct timeval *b) in tod_gt()
59 int tod_lte (const struct timeval *a, const struct timeval *b) in tod_lte()
64 int tod_gte (const struct timeval *a, const struct timeval *b) in tod_gte()
69 int tod_eq (const struct timeval *a, const struct timeval *b) in tod_eq()
77 void tod_addto (struct timeval *a, const struct timeval *b) in tod_addto()
87 void tod_subfrom (struct timeval *a, struct timeval b) in tod_subfrom()
100 void tod_gettime (struct timeval *tp) in tod_gettime()
/dragonfly/sys/sys/
H A Dtime.h198 void getmicrouptime(struct timeval *tv);
199 void getmicrotime(struct timeval *tv);
203 int itimerfix(struct timeval *tv);
206 int ratecheck(struct timeval *, const struct timeval *);
207 void microuptime(struct timeval *tv);
208 void microtime(struct timeval *tv);
215 void timevaladd(struct timeval *, const struct timeval *);
216 void timevalsub(struct timeval *, const struct timeval *);
217 int tvtohz_high(struct timeval *);
218 int tvtohz_low(struct timeval *);
[all …]
/dragonfly/usr.sbin/dntpd/
H A Ddefs.h83 int udp_ntptimereq(int fd, struct timeval *rtvp,
84 struct timeval *ltvp, struct timeval *lbtvp);
88 void l_fixedpt_to_tv(struct l_fixedpt *fixed, struct timeval *tvp);
89 void tv_subtract_micro(struct timeval *tvp, long usec);
90 void tv_add_micro(struct timeval *tvp, long usec);
91 void tv_add_offset(struct timeval *tvp, double offset);
92 double tv_delta_double(struct timeval *tv1, struct timeval *tv2);
93 void tv_to_ts(struct timeval *tv, struct timespec *ts);
94 void ts_to_tv(struct timespec *ts, struct timeval *tv);
102 void sysntp_getbasetime(struct timeval *tvp);
H A Dconvert.c40 l_fixedpt_to_tv(struct l_fixedpt *fixed, struct timeval *tvp) in l_fixedpt_to_tv()
50 tv_subtract_micro(struct timeval *tvp, long usec) in tv_subtract_micro()
67 tv_add_micro(struct timeval *tvp, long usec) in tv_add_micro()
84 tv_add_offset(struct timeval *tvp, double offset) in tv_add_offset()
95 tv_delta_double(struct timeval *tv1, struct timeval *tv2) in tv_delta_double()
105 tv_to_ts(struct timeval *tv, struct timespec *ts) in tv_to_ts()
112 ts_to_tv(struct timespec *ts, struct timeval *tv) in ts_to_tv()
/dragonfly/lib/libldns/ldns/
H A Dnet.h42 …buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *…
53 …nd2(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
66 …end(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
77 …nd2(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
90 …end(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
103 …buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *…
135 int ldns_tcp_connect2(const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
146 int ldns_tcp_connect(const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
154 int ldns_udp_connect2(const struct sockaddr_storage *to, struct timeval timeout);
164 int ldns_udp_connect(const struct sockaddr_storage *to, struct timeval timeout);
[all …]
/dragonfly/contrib/gcc-4.7/include/
H A Dtimeval-utils.h28 struct timeval;
30 extern void timeval_add (struct timeval *result,
31 const struct timeval *a, const struct timeval *b);
33 extern void timeval_sub (struct timeval *result,
34 const struct timeval *a, const struct timeval *b);
/dragonfly/contrib/binutils-2.27/include/
H A Dtimeval-utils.h28 struct timeval;
30 extern void timeval_add (struct timeval *result,
31 const struct timeval *a, const struct timeval *b);
33 extern void timeval_sub (struct timeval *result,
34 const struct timeval *a, const struct timeval *b);
/dragonfly/contrib/gdb-7/include/
H A Dtimeval-utils.h28 struct timeval;
30 extern void timeval_add (struct timeval *result,
31 const struct timeval *a, const struct timeval *b);
33 extern void timeval_sub (struct timeval *result,
34 const struct timeval *a, const struct timeval *b);
/dragonfly/contrib/binutils-2.34/include/
H A Dtimeval-utils.h28 struct timeval;
30 extern void timeval_add (struct timeval *result,
31 const struct timeval *a, const struct timeval *b);
33 extern void timeval_sub (struct timeval *result,
34 const struct timeval *a, const struct timeval *b);
/dragonfly/contrib/gcc-8.0/include/
H A Dtimeval-utils.h28 struct timeval;
30 extern void timeval_add (struct timeval *result,
31 const struct timeval *a, const struct timeval *b);
33 extern void timeval_sub (struct timeval *result,
34 const struct timeval *a, const struct timeval *b);
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dtimeval-utils.c53 timeval_add (struct timeval *result, in timeval_add()
54 const struct timeval *a, const struct timeval *b) in timeval_add()
77 timeval_sub (struct timeval *result, in timeval_sub()
78 const struct timeval *a, const struct timeval *b) in timeval_sub()
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dtimeval-utils.c53 timeval_add (struct timeval *result, in timeval_add()
54 const struct timeval *a, const struct timeval *b) in timeval_add()
77 timeval_sub (struct timeval *result, in timeval_sub()
78 const struct timeval *a, const struct timeval *b) in timeval_sub()
/dragonfly/contrib/gdb-7/libiberty/
H A Dtimeval-utils.c53 timeval_add (struct timeval *result, in timeval_add()
54 const struct timeval *a, const struct timeval *b) in timeval_add()
77 timeval_sub (struct timeval *result, in timeval_sub()
78 const struct timeval *a, const struct timeval *b) in timeval_sub()
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dtimeval-utils.c53 timeval_add (struct timeval *result, in timeval_add()
54 const struct timeval *a, const struct timeval *b) in timeval_add()
77 timeval_sub (struct timeval *result, in timeval_sub()
78 const struct timeval *a, const struct timeval *b) in timeval_sub()
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dtimeval-utils.c53 timeval_add (struct timeval *result, in timeval_add()
54 const struct timeval *a, const struct timeval *b) in timeval_add()
77 timeval_sub (struct timeval *result, in timeval_sub()
78 const struct timeval *a, const struct timeval *b) in timeval_sub()
/dragonfly/usr.sbin/rtsold/
H A Drtsold.c100 static void TIMEVAL_ADD(struct timeval *a, struct timeval *b,
101 struct timeval *result);
102 static void TIMEVAL_SUB(struct timeval *a, struct timeval *b,
103 struct timeval *result);
114 struct timeval *timeout; in main()
467 static struct timeval *
470 static struct timeval returnval; in rtsol_check_timer()
471 struct timeval now, rtsol_timer; in rtsol_check_timer()
577 struct timeval now; in rtsol_timer_update()
654 TIMEVAL_ADD(struct timeval *a, struct timeval *b, struct timeval *result) in TIMEVAL_ADD()
[all …]
/dragonfly/sys/kern/
H A Dkern_time.c194 struct timeval sys, user; in get_thread_cputime()
287 struct timeval atv; in kern_clock_settime()
470 struct timeval tv; in clock_nanosleep1()
656 struct timeval atv; in sys_gettimeofday()
680 struct timeval atv; in sys_settimeofday()
775 struct timeval atv; in sys_adjtime()
930 struct timeval ctv; in sys_getitimer()
965 struct timeval ctv; in sys_setitimer()
1137 timevaladd(struct timeval *t1, const struct timeval *t2) in timevaladd()
1146 timevalsub(struct timeval *t1, const struct timeval *t2) in timevalsub()
[all …]
/dragonfly/usr.sbin/nscd/
H A Dcachelib.h77 void (*get_time_func)(struct timeval *);
104 struct timeval max_lifetime; /* if 0 then no check is made */
119 struct timeval max_lifetime; /* maximum elements lifetime */
164 void (*get_time_func)(struct timeval *);
222 struct timeval creation_time;
223 struct timeval last_request_time;
225 void (*get_time_func)(struct timeval *);
/dragonfly/usr.bin/touch/
H A Dtouch.c49 static void stime_arg1(const char *, struct timeval *);
50 static void stime_arg2(const char *, int, struct timeval *);
51 static void stime_darg(const char *, struct timeval *);
52 static void stime_file(const char *, struct timeval *);
60 struct timeval tv[2]; in main()
62 int (*utimes_f)(const char *, const struct timeval *); in main()
228 stime_arg1(const char *arg, struct timeval *tvp) in stime_arg1()
292 stime_arg2(const char *arg, int year, struct timeval *tvp) in stime_arg2()
322 stime_darg(const char *arg, struct timeval *tvp) in stime_darg()
396 stime_file(const char *fname, struct timeval *tvp) in stime_file()
/dragonfly/usr.sbin/ac/
H A Dac.c57 struct timeval time;
66 struct timeval time;
85 static struct timeval Total = { 0, 0 };
86 static struct timeval FirstTime = { 0, 0 };
172 update_user(const char *user, struct timeval secs) in update_user()
246 update_user(argv[optind], (struct timeval){ 0, 0 }); in main()
261 show(const char *user, struct timeval secs) in show()
281 show_today(struct timeval today) in show_today()
286 struct timeval diff, total = { 0, 0 }, usec = { 0, 1 }, yesterday; in show_today()
320 struct timeval secs; in log_out()
[all …]
/dragonfly/sbin/routed/
H A Ddefs.h285 struct timeval int_rdisc_timer;
439 extern struct timeval clk; /* system clock's idea of time */
440 extern struct timeval epoch; /* system clock when started */
441 extern struct timeval now; /* current idea of time */
446 extern struct timeval next_bcast; /* next general broadcast */
447 extern struct timeval age_timer; /* next check of old routes */
449 extern struct timeval rdisc_timer; /* next advert. or solicitation */
452 extern struct timeval ifinit_timer; /* time to check interfaces */
462 extern struct timeval need_kern; /* need to update kernel table */
514 extern void timevaladd(struct timeval *, struct timeval *);
[all …]
H A Dmain.c57 struct timeval epoch; /* when started */
58 struct timeval clk, prev_clk;
60 struct timeval now; /* current idea of time */
70 struct timeval flush_kern_timer;
81 static void timevalsub(struct timeval *, struct timeval *, struct timeval *);
91 struct timeval wtime, t2; in main()
794 timevaladd(struct timeval *t1, in timevaladd()
795 struct timeval *t2) in timevaladd()
809 timevalsub(struct timeval *t1, in timevalsub()
810 struct timeval *t2, in timevalsub()
[all …]
/dragonfly/contrib/ldns/
H A Dnet.c194 struct timeval timeout)
284 struct timeval timeout)
292 struct timeval timeout)
301 struct timeval timeout)
318 struct timeval timeout)
327 struct timeval timeout)
405 struct timeval timeout)
430 struct timeval timeout)
439 struct timeval timeout)
500 struct timeval tv_s;
[all …]
/dragonfly/crypto/libressl/ssl/
H A Dd1_lib.c218 if (dtls1_get_timeout(s, (struct timeval*) parg) != NULL) { in dtls1_ctrl()
275 struct timeval*
276 dtls1_get_timeout(SSL *s, struct timeval* timeleft) in dtls1_get_timeout()
278 struct timeval timenow; in dtls1_get_timeout()
292 memset(timeleft, 0, sizeof(struct timeval)); in dtls1_get_timeout()
297 memcpy(timeleft, &(s->d1->next_timeout), sizeof(struct timeval)); in dtls1_get_timeout()
310 memset(timeleft, 0, sizeof(struct timeval)); in dtls1_get_timeout()
320 struct timeval timeleft; in dtls1_is_timer_expired()
350 memset(&(s->d1->next_timeout), 0, sizeof(struct timeval)); in dtls1_stop_timer()

12345678910>>...23