Home
last modified time | relevance | path

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

123456

/glibc-2.36/time/sys/
Dtime.h67 extern int gettimeofday (struct timeval *__restrict __tv,
71 extern int __REDIRECT_NTH (gettimeofday, (struct timeval *__restrict __tv,
86 extern int settimeofday (const struct timeval *__tv,
94 extern int adjtime (const struct timeval *__delta,
95 struct timeval *__olddelta) __THROW;
98 extern int __REDIRECT_NTH (settimeofday, (const struct timeval *__tv,
102 extern int __REDIRECT_NTH (adjtime, (const struct timeval *__delta,
103 struct timeval *__olddelta),
133 struct timeval it_interval;
135 struct timeval it_value;
[all …]
/glibc-2.36/conform/data/sys/
Dtime.h-data2 type {struct timeval}
4 element {struct timeval} time_t tv_sec
5 element {struct timeval} suseconds_t tv_usec
9 element {struct itimerval} {struct timeval} it_interval
10 element {struct itimerval} {struct timeval} it_value
31 function int gettimeofday (struct timeval*, void*)
32 function int select (int, fd_set*, fd_set*, fd_set*, struct timeval*)
33 function int utimes (const char*, const struct timeval [2])
Dselect.h-data5 type {struct timeval}
6 element {struct timeval} time_t tv_sec
7 element {struct timeval} suseconds_t tv_usec
31 function int select (int, fd_set*, fd_set*, fd_set*, struct timeval*)
Dresource.h-data22 element {struct rusage} {struct timeval} ru_utime
23 element {struct rusage} {struct timeval} ru_stime
25 type {struct timeval}
/glibc-2.36/misc/
Dtst-select.c32 struct timeval tmo;
70 struct timeval tv = { .tv_sec = args->tmo.tv_sec, .tv_usec = 0 }; in do_test_child_alarm()
92 args.tmo = (struct timeval) { .tv_sec = 0, .tv_usec = 250000 }; in do_test()
103 args.tmo = (struct timeval) { .tv_sec = 0, .tv_usec = 1000000 }; in do_test()
111 args.tmo = (struct timeval) { .tv_sec = 0, .tv_usec = 0 }; in do_test()
122 args.tmo = (struct timeval) { .tv_sec = 10, .tv_usec = 0 }; in do_test()
130 args.tmo = (struct timeval) { .tv_sec = TYPE_MAXIMUM (time_t), in do_test()
139 args.tmo = (struct timeval) { .tv_sec = 0, .tv_usec = 0 }; in do_test()
/glibc-2.36/inet/
Dtst-deadline.c63 (current_time, (struct timeval) { 0, 1 }); in do_test()
69 (current_time, ((struct timeval) { 0, 2 })); in do_test()
75 (current_time, ((struct timeval) { 1, 0 })); in do_test()
126 (current_time, (struct timeval) { 1, i }); in do_test()
133 (current_time, (struct timeval) { 2, i }); in do_test()
141 (struct timeval) { time_t_max (), 1 }); in do_test()
145 (struct timeval) { time_t_max (), 1 }); in do_test()
150 (struct timeval) { 0, 1 }); in do_test()
155 (struct timeval) { time_t_max () / 2 + 1, 0 }); in do_test()
/glibc-2.36/sunrpc/
Dtst-udp-timeout.c195 struct timeval timeout) in test_call()
212 struct timeval timeout) in test_call_timeout()
235 ((struct timeval) { 5, 0 })) in test_call_flush()
249 struct timeval tv; in get_ticks()
271 (struct timeval) { 1, 500 * 1000 }, in test_udp_server()
279 (struct timeval) { 3, 0 }); in test_udp_server()
291 (struct timeval) { 3, 0 }); in test_udp_server()
310 (struct timeval) { 3, 0 }); in test_udp_server()
329 (struct timeval) { 0, 750 * 1000 }); in test_udp_server()
348 (struct timeval) { 0, 750 * 1000 }); in test_udp_server()
[all …]
Dtst-udp-nonblocking.c156 struct timeval tv; in get_ticks()
217 struct timeval cu_wait; in do_test()
218 struct timeval cu_total; in do_test()
231 ((struct timeval) { 5, 0 }), in do_test()
236 struct timeval zero = { 0, 0 }; in do_test()
270 ((struct timeval) { 0, 0 })); in do_test()
287 ((struct timeval) { 0, 0 })) == RPC_SUCCESS); in do_test()
316 ((struct timeval) { 5, 0 }), in do_test()
322 ((struct timeval) { 3, 0 })) == RPC_SUCCESS); in do_test()
Dclnt_udp.c68 xdrproc_t, caddr_t, struct timeval);
96 struct timeval cu_wait;
97 struct timeval cu_total;
125 u_long version, struct timeval wait, int *sockp, in __libc_clntudp_bufcreate()
219 struct timeval wait, int *sockp, u_int sendsz, in libc_hidden_def()
229 struct timeval wait, int *sockp) in libc_hidden_nolink_sunrpc()
278 struct timeval utimeout) in clntudp_call()
312 struct timeval tv; in clntudp_call()
568 cu->cu_total = *(struct timeval *) info; in clntudp_control()
571 *(struct timeval *) info = cu->cu_total; in clntudp_control()
[all …]
/glibc-2.36/include/sys/
Dtime.h23 extern int __gettimeofday (struct timeval *__tv,
27 extern int __adjtime (const struct timeval *__delta,
28 struct timeval *__olddelta);
44 extern int __utimes (const char *__file, const struct timeval __tvp[2])
46 extern int __futimes (int fd, const struct timeval tvp[2]) attribute_hidden;
/glibc-2.36/sysdeps/unix/sysv/linux/sys/
Dprocfs.h73 struct timeval pr_utime; /* User time. */
74 struct timeval pr_stime; /* System time. */
75 struct timeval pr_cutime; /* Cumulative user time. */
76 struct timeval pr_cstime; /* Cumulative system time. */
/glibc-2.36/sysdeps/mach/hurd/
Dgetitimer.c29 extern struct timeval _hurd_itimer_started;
32 subtract_timeval (struct timeval *from, const struct timeval *subtract) in subtract_timeval()
49 struct timeval elapsed; in __getitimer()
Dsetitimer.c38 struct timeval _hurd_itimer_started; /* Time the thread started waiting. */
41 quantize_timeval (struct timeval *tv) in quantize_timeval()
57 subtract_timeval (struct timeval *from, const struct timeval *subtract) in subtract_timeval()
163 struct timeval now, remaining, elapsed; in setitimer_locked()
164 struct timeval old_interval; in setitimer_locked()
Dadjtime.c27 __adjtime (const struct timeval *delta, struct timeval *olddelta) in __adjtime()
31 struct timeval dummy; in __adjtime()
Dutime-helper.c26 utime_ts_from_tval (const struct timeval tvp[2], in utime_ts_from_tval()
47 utime_tvalue_from_tval (const struct timeval tvp[2], in utime_tvalue_from_tval()
65 hurd_futimes (const file_t port, const struct timeval tvp[2]) in hurd_futimes()
/glibc-2.36/include/
Dtime.h357 valid_timeval_to_timespec64 (const struct timeval tv) in valid_timeval_to_timespec64()
369 valid_timeval_to_timeval64 (const struct timeval tv) in valid_timeval_to_timeval64()
381 static inline struct timeval
384 struct timeval tv; in valid_timeval64_to_timeval()
431 static inline struct timeval
434 struct timeval tv; in valid_timespec64_to_timeval()
475 static inline struct timeval
478 return (struct timeval) { tv.tv_sec, tv.tv_usec }; in valid_timeval32_to_timeval()
482 valid_timeval_to_timeval32 (const struct timeval tv) in valid_timeval_to_timeval32()
/glibc-2.36/conform/data/
Dutmpx.h-data12 xfail-element {struct utmpx} {struct timeval} ut_tv
16 type {struct timeval}
18 element {struct timeval} time_t tv_sec
19 element {struct timeval} suseconds_t tv_usec
/glibc-2.36/nis/
Dnis_findserv.c36 struct timeval cu_wait;
37 struct timeval cu_total;
73 const struct timeval *timeout) in __nis_findfastest_with_timeout()
75 static const struct timeval TIMEOUT00 = { 0, 0 }; in __nis_findfastest_with_timeout()
204 struct timeval timeout = { __NIS_PING_TIMEOUT_START, 0 }; in __nis_findfastest()
/glibc-2.36/manual/examples/
Dtimeval_subtract.c23 timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y) in timeval_subtract()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-socket-timestamp.c115 && cmsg->cmsg_len == CMSG_LEN (sizeof (struct timeval))) in do_recvmsg_slack_ancillary()
117 struct timeval tv; in do_recvmsg_slack_ancillary()
162 sizeof (struct timeval), s); in do_test_slack_space()
170 sizeof (struct timeval), s); in do_test_slack_space()
258 && cmsg->cmsg_len >= CMSG_LEN (sizeof (struct timeval))) in do_recvmsg_multiple_ancillary()
260 struct timeval tv; in do_recvmsg_multiple_ancillary()
Dgettimeofday.c32 __gettimeofday_syscall (struct timeval *restrict tv, void *restrict tz) in __gettimeofday_syscall()
48 __gettimeofday (struct timeval *restrict tv, void *restrict tz)
80 __gettimeofday (struct timeval *restrict tv, void *restrict tz)
/glibc-2.36/time/
Dadjtime.c26 __adjtime (const struct timeval *delta, struct timeval *olddelta) in __adjtime()
/glibc-2.36/sysdeps/mach/
Dadjtime.c27 __adjtime (const struct timeval *delta, struct timeval *olddelta) in __adjtime()
/glibc-2.36/sysdeps/posix/
Dutime.c32 struct timeval timevals[2]; in utime()
33 struct timeval *tvp; in utime()
/glibc-2.36/posix/
Dtst-nanosleep.c30 struct timeval tv1; in do_test()
39 struct timeval tv2; in do_test()

123456