Home
last modified time | relevance | path

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

12345678910>>...23

/dragonfly/usr.bin/tip/
HDtod.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);
HDtod.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/
HDtime.h144 struct timeval it_interval; /* timer interval */
145 struct timeval it_value; /* current value */
198 void getmicrouptime(struct timeval *tv);
199 void getmicrotime(struct timeval *tv);
203 int itimerfix(struct timeval *tv);
205 int ppsratecheck(struct timeval *, int *, int usec);
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 *);
[all …]
/dragonfly/usr.sbin/dntpd/
HDdefs.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);
HDconvert.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/
HDnet.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-8.0/include/
HDtimeval-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/
HDtimeval-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/
HDtimeval-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-4.7/include/
HDtimeval-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/
HDtimeval-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/libiberty/
HDtimeval-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.27/libiberty/
HDtimeval-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/
HDtimeval-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/
HDtimeval-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/
HDtimeval-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/
HDrtsold.c57 struct timeval tm_max = {0x7fffffff, 0x7fffffff};
99 static struct timeval *rtsol_check_timer(void);
100 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()
[all …]
/dragonfly/sys/kern/
HDkern_time.c75 static int settime(struct timeval *);
76 static void timevalfix(struct timeval *);
104 settime(struct timeval *tv) in settime()
106 struct timeval delta, tv1, tv2; in settime()
107 static struct timeval maxtime, laststep; in settime()
194 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()
[all …]
/dragonfly/usr.sbin/nscd/
HDcachelib.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/
HDtouch.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/
HDac.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/
HDdefs.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 */
448 extern struct timeval no_flash; /* inhibit flash update until then */
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 */
[all …]
HDmain.c57 struct timeval epoch; /* when started */
58 struct timeval clk, prev_clk;
60 struct timeval now; /* current idea of time */
65 struct timeval next_bcast; /* next general broadcast */
66 struct timeval no_flash = { /* inhibit flash update */
70 struct timeval flush_kern_timer;
81 static void timevalsub(struct timeval *, struct timeval *, struct timeval *);
91 struct timeval wtime, t2; in main()
782 intvl_random(struct timeval *tp, /* put value here */ in intvl_random()
794 timevaladd(struct timeval *t1, in timevaladd()
[all …]
/dragonfly/contrib/ldns/
HDnet.c153 ldns_sock_wait(int sockfd, struct timeval timeout, int write) in ldns_sock_wait()
194 struct timeval timeout)
284 struct timeval timeout)
292 struct timeval timeout)
301 struct timeval timeout)
318 struct timeval timeout)
327 struct timeval timeout)
339 struct timeval timeout, size_t *answer_size)
365 struct timeval timeout, size_t *answer_size)
372 ldns_udp_connect(const struct sockaddr_storage *to, struct timeval ATTR_UNUSED(timeout))
[all …]
/dragonfly/crypto/libressl/ssl/
HDd1_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