Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/glibc-2.36/support/
Dtimespec.h27 static inline struct timespec
30 struct timespec r; in make_timespec()
39 struct timespec timespec_add (struct timespec, struct timespec)
41 struct timespec timespec_sub (struct timespec, struct timespec)
45 struct timespec left,
46 struct timespec right);
49 struct timespec left,
50 struct timespec right);
52 time_t support_timespec_ns (struct timespec time);
54 struct timespec support_timespec_normalize (struct timespec time);
[all …]
Dtimespec.c26 test_timespec_before_impl (const char *file, int line, struct timespec left, in test_timespec_before_impl()
27 struct timespec right) in test_timespec_before_impl()
33 const struct timespec diff = timespec_sub (left, right); in test_timespec_before_impl()
45 struct timespec left, in test_timespec_equal_or_after_impl()
46 struct timespec right) in test_timespec_equal_or_after_impl()
52 const struct timespec diff = timespec_sub (right, left); in test_timespec_equal_or_after_impl()
66 support_timespec_ns (struct timespec time) in support_timespec_ns()
80 struct timespec
81 support_timespec_normalize (struct timespec time) in support_timespec_normalize()
83 struct timespec norm; in support_timespec_normalize()
[all …]
Dxtime.h34 void xclock_gettime (clockid_t clock, struct timespec *ts);
35 void xclock_settime (clockid_t clock, const struct timespec *ts);
37 void __REDIRECT (xclock_gettime, (clockid_t clock, struct timespec *ts),
39 void __REDIRECT (xclock_settime, (clockid_t clock, const struct timespec *ts),
46 static inline struct timespec xclock_now (clockid_t clock) in xclock_now()
48 struct timespec ts; in xclock_now()
/glibc-2.36/time/
Dtime.h281 extern int nanosleep (const struct timespec *__requested_time,
282 struct timespec *__remaining);
285 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __THROW;
288 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp)
292 extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp)
296 extern int __REDIRECT (nanosleep, (const struct timespec *__requested_time,
297 struct timespec *__remaining),
300 struct timespec *__res),
303 timespec *__tp), __clock_gettime64)
306 timespec *__tp), __clock_settime64)
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/mips/bits/
Dstruct_stat.h63 struct timespec st_atim; /* Time of last access. */
64 struct timespec st_mtim; /* Time of last modification. */
65 struct timespec st_ctim; /* Time of last status change. */
111 struct timespec st_atim; /* Time of last access. */
112 struct timespec st_mtim; /* Time of last modification. */
113 struct timespec st_ctim; /* Time of last status change. */
164 struct timespec st_atim; /* Time of last access. */
165 struct timespec st_mtim; /* Time of last modification. */
166 struct timespec st_ctim; /* Time of last status change. */
212 struct timespec st_atim; /* Time of last access. */
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/bits/
Dstruct_stat.h66 struct timespec st_atim; /* Time of last access. */
67 struct timespec st_mtim; /* Time of last modification. */
68 struct timespec st_ctim; /* Time of last status change. */
109 struct timespec st_atim; /* Time of last access. */
110 struct timespec st_mtim; /* Time of last modification. */
111 struct timespec st_ctim; /* Time of last status change. */
164 struct timespec st_atim; /* Time of last access. */
165 struct timespec st_mtim; /* Time of last modification. */
166 struct timespec st_ctim; /* Time of last status change. */
204 struct timespec st_atim; /* Time of last access. */
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/s390/bits/
Dstruct_stat.h47 struct timespec st_atim; /* Time of last access. */
48 struct timespec st_mtim; /* Time of last modification. */
49 struct timespec st_ctim; /* Time of last status change. */
103 struct timespec st_atim; /* Time of last access. */
104 struct timespec st_mtim; /* Time of last modification. */
105 struct timespec st_ctim; /* Time of last status change. */
148 struct timespec st_atim; /* Time of last access. */
149 struct timespec st_mtim; /* Time of last modification. */
150 struct timespec st_ctim; /* Time of last status change. */
193 struct timespec st_atim; /* Time of last access. */
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/microblaze/bits/
Dstruct_stat.h51 struct timespec st_atim; /* Time of last access. */
52 struct timespec st_mtim; /* Time of last modification. */
53 struct timespec st_ctim; /* Time of last status change. */
99 struct timespec st_atim; /* Time of last access. */
100 struct timespec st_mtim; /* Time of last modification. */
101 struct timespec st_ctim; /* Time of last status change. */
144 struct timespec st_atim; /* Time of last access. */
145 struct timespec st_mtim; /* Time of last modification. */
146 struct timespec st_ctim; /* Time of last status change. */
/glibc-2.36/sysdeps/mach/hurd/
Dutime-helper.c27 struct timespec *atime, struct timespec *mtime) in utime_ts_from_tval()
68 struct timespec atime, mtime; in hurd_futimes()
88 utime_ts_from_tspec (const struct timespec tsp[2], in utime_ts_from_tspec()
89 struct timespec *atime, struct timespec *mtime) in utime_ts_from_tspec()
109 utime_tvalue_from_tspec (const struct timespec tsp[2], in utime_tvalue_from_tspec()
135 hurd_futimens (const file_t port, const struct timespec tsp[2]) in hurd_futimens()
138 struct timespec atime, mtime; in hurd_futimens()
/glibc-2.36/sysdeps/pthread/
Dposix-timer.h50 struct timespec expirytime;
117 timespec_compare (const struct timespec *left, const struct timespec *right) in timespec_compare()
133 timespec_add (struct timespec *sum, const struct timespec *left, in timespec_add()
134 const struct timespec *right) in timespec_add()
147 timespec_sub (struct timespec *diff, const struct timespec *left, in timespec_sub()
148 const struct timespec *right) in timespec_sub()
Dthreads.h92 extern int thrd_sleep (const struct timespec *__time_point,
93 struct timespec *__remaining);
96 extern int __REDIRECT (thrd_sleep, (const struct timespec *__time_point,
97 struct timespec *__remaining),
146 const struct timespec *__restrict __time_point);
150 const struct timespec *__restrict
198 const struct timespec *__restrict __time_point);
203 const struct timespec *__restrict
/glibc-2.36/conform/data/
Dtime.h-data9 type {struct timespec}
11 element {struct timespec} time_t tv_sec
13 xfail[x86_64-x32-linux]-element {struct timespec} long tv_nsec
42 function int timespec_get (struct timespec *, int)
57 element {struct itimerspec} {struct timespec} it_interval
58 element {struct itimerspec} {struct timespec} it_value
85 function int clock_getres (clockid_t, struct timespec*)
86 function int clock_gettime (clockid_t, struct timespec*)
89 function int clock_nanosleep (clockid_t, int, const struct timespec*, struct timespec*)
92 function int clock_settime (clockid_t, const struct timespec*)
[all …]
/glibc-2.36/sysdeps/mach/
Dclock_nanosleep.c28 nanosleep_call (const struct timespec *req, struct timespec *rem) in nanosleep_call()
31 struct timespec before; in nanosleep_call()
54 struct timespec after, elapsed; in nanosleep_call()
67 __clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req, in __clock_nanosleep()
68 struct timespec *rem) in __clock_nanosleep()
75 struct timespec now; in __clock_nanosleep()
/glibc-2.36/rt/
Dtst-cpuclock2.c69 const struct timespec sleeptime = { .tv_nsec = 100000000 }; in test_nanosleep()
84 struct timespec after; in test_nanosleep()
93 struct timespec sleeptimeabs = sleeptime; in test_nanosleep()
110 struct timespec afterabs; in test_nanosleep()
181 struct timespec res; in do_test()
193 struct timespec process_before, process_after; in do_test()
201 struct timespec before, after; in do_test()
211 struct timespec me_before, me_after; in do_test()
221 struct timespec sleeptime = { .tv_nsec = 500000000 }; in do_test()
/glibc-2.36/sysdeps/unix/sysv/linux/ia64/bits/
Dstruct_stat.h44 struct timespec st_atim; /* Time of last access. */
45 struct timespec st_mtim; /* Time of last modification. */
46 struct timespec st_ctim; /* Time of last status change. */
83 struct timespec st_atim; /* Time of last access. */
84 struct timespec st_mtim; /* Time of last modification. */
85 struct timespec st_ctim; /* Time of last status change. */
/glibc-2.36/sysdeps/unix/sysv/linux/m68k/bits/
Dstruct_stat.h63 struct timespec st_atim; /* Time of last access. */
64 struct timespec st_mtim; /* Time of last modification. */
65 struct timespec st_ctim; /* Time of last status change. */
113 struct timespec st_atim; /* Time of last access. */
114 struct timespec st_mtim; /* Time of last modification. */
115 struct timespec st_ctim; /* Time of last status change. */
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/bits/
Dstruct_stat.h56 struct timespec st_atim; /* Time of last access. */
57 struct timespec st_mtim; /* Time of last modification. */
58 struct timespec st_ctim; /* Time of last status change. */
95 struct timespec st_atim; /* Time of last access. */
96 struct timespec st_mtim; /* Time of last modification. */
97 struct timespec st_ctim; /* Time of last status change. */
/glibc-2.36/sysdeps/unix/sysv/linux/bits/
Dstruct_stat.h66 struct timespec st_atim; /* Time of last access. */
67 struct timespec st_mtim; /* Time of last modification. */
68 struct timespec st_ctim; /* Time of last status change. */
116 struct timespec st_atim; /* Time of last access. */
117 struct timespec st_mtim; /* Time of last modification. */
118 struct timespec st_ctim; /* Time of last status change. */
/glibc-2.36/sysdeps/unix/sysv/linux/sparc/bits/
Dstruct_stat.h66 struct timespec st_atim; /* Time of last access. */
67 struct timespec st_mtim; /* Time of last modification. */
68 struct timespec st_ctim; /* Time of last status change. */
113 struct timespec st_atim; /* Time of last access. */
114 struct timespec st_mtim; /* Time of last modification. */
115 struct timespec st_ctim; /* Time of last status change. */
/glibc-2.36/sysdeps/nptl/
Dpthread.h234 const struct timespec *__abstime);
245 const struct timespec *__abstime);
250 const struct timespec *__abstime),
256 const struct timespec *__abstime),
801 const struct timespec *__restrict
807 const struct timespec *__restrict __abstime),
819 const struct timespec *__restrict
826 const struct timespec *__restrict __abstime),
987 const struct timespec *__restrict
993 const struct timespec *__restrict __abstime),
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/x86/bits/
Dstruct_stat.h74 struct timespec st_atim; /* Time of last access. */
75 struct timespec st_mtim; /* Time of last modification. */
76 struct timespec st_ctim; /* Time of last status change. */
139 struct timespec st_atim; /* Time of last access. */
140 struct timespec st_mtim; /* Time of last modification. */
141 struct timespec st_ctim; /* Time of last status change. */
/glibc-2.36/sysdeps/unix/sysv/linux/generic/bits/
Dstruct_stat.h65 struct timespec st_atim; /* Time of last access. */
66 struct timespec st_mtim; /* Time of last modification. */
67 struct timespec st_ctim; /* Time of last status change. */
106 struct timespec st_atim; /* Time of last access. */
107 struct timespec st_mtim; /* Time of last modification. */
108 struct timespec st_ctim; /* Time of last status change. */
/glibc-2.36/sysdeps/mach/hurd/bits/
Dstat.h67 struct timespec st_atim; /* Time of last access. */
68 struct timespec st_mtim; /* Time of last modification. */
69 struct timespec st_ctim; /* Time of last status change. */
131 struct timespec st_atim; /* Time of last access. */
132 struct timespec st_mtim; /* Time of last modification. */
133 struct timespec st_ctim; /* Time of last status change. */
/glibc-2.36/hurd/
Dhurdlock.c29 compute_reltime (const struct timespec *abstime, clockid_t clk) in compute_reltime()
31 struct timespec ts; in compute_reltime()
48 const struct timespec *tsp, int flags, int clk) in __lll_abstimed_wait()
59 const struct timespec *tsp, int flags, int clk) in __lll_abstimed_wait_intr()
70 const struct timespec *tsp, int flags, int clk) in __lll_abstimed_xwait()
82 const struct timespec *tsp, int flags, int clk) in __lll_abstimed_lock()
163 const struct timespec *tsp, int flags, int clk) in __lll_robust_abstimed_lock()
/glibc-2.36/nptl/
Dtst-sem13.c13 typedef int (*waitfn_t)(sem_t *, struct timespec *);
28 struct timespec ts = { 0, 1000000001 }; /* Invalid. */ in do_test_wait()
53 int test_sem_timedwait (sem_t *sem, struct timespec *ts) in test_sem_timedwait()
58 int test_sem_clockwait_monotonic (sem_t *sem, struct timespec *ts) in test_sem_clockwait_monotonic()
63 int test_sem_clockwait_realtime (sem_t *sem, struct timespec *ts) in test_sem_clockwait_realtime()

12345678910>>...15