Home
last modified time | relevance | path

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

12345678910>>...35

/netbsd-src/external/bsd/ntp/dist/include/
H A Dtimespecops.h65 extern struct timespec normalize_tspec(struct timespec x);
68 static inline struct timespec
70 struct timespec a, in add_tspec()
71 struct timespec b in add_tspec()
74 struct timespec x; in add_tspec()
84 static inline struct timespec
86 struct timespec a, in add_tspec_ns()
90 struct timespec x; in add_tspec_ns()
99 static inline struct timespec
101 struct timespec a, in sub_tspec()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dtime.d217 timespec it_interval; in version()
218 timespec it_value; in version()
227 int clock_getres(clockid_t, timespec*); in version()
228 int clock_gettime(clockid_t, timespec*); in version()
229 int clock_settime(clockid_t, const scope timespec*); in version()
230 int nanosleep(const scope timespec*, timespec*); in version()
239 int nanosleep(const scope timespec*, timespec*); in version()
256 timespec it_interval; in version()
257 timespec it_value; in version()
266 int clock_getres(clockid_t, timespec*); in version()
[all …]
H A Dsched.d69 timespec[2] __reserved2; in version()
238 int sched_rr_get_interval(pid_t, timespec*);
250 int sched_rr_get_interval(pid_t, timespec*);
256 int sched_rr_get_interval(pid_t, timespec*);
262 int sched_rr_get_interval(pid_t, timespec*);
268 int sched_rr_get_interval(pid_t, timespec*);
274 int sched_rr_get_interval(pid_t, timespec*);
280 int sched_rr_get_interval(pid_t, timespec*);
286 int sched_rr_get_interval(pid_t, timespec*);
292 int sched_rr_get_interval(pid_t, timespec*);
H A Dsemaphore.d188 int sem_timedwait(sem_t*, const scope timespec*); in version()
192 int sem_timedwait(sem_t*, const scope timespec*); in version()
196 int sem_timedwait(sem_t*, const scope timespec*); in version()
200 int sem_timedwait(sem_t*, const scope timespec*); in version()
204 int sem_timedwait(sem_t*, const scope timespec*); in version()
208 int sem_timedwait(sem_t*, const scope timespec*); in version()
212 int sem_timedwait(sem_t*, const scope timespec*); in version()
216 int sem_timedwait(sem_t*, const scope timespec*); in version()
220 int sem_timedwait(sem_t*, const scope timespec*); in version()
224 int sem_timedwait(sem_t*, const scope timespec*); in version()
/netbsd-src/external/bsd/ntp/dist/tests/libntp/
H A Dtimespecops.c68 const bool timespec_isValid(struct timespec V);
69 struct timespec timespec_init(time_t hi, long lo);
72 bool AssertTimespecClose(const struct timespec m,
73 const struct timespec n,
74 const struct timespec limit);
90 timespec_isValid(struct timespec V) in timespec_isValid()
97 struct timespec
100 struct timespec V; in timespec_init()
145 AssertTimespecClose(const struct timespec m, const struct timespec n, in AssertTimespecClose()
146 const struct timespec limit) in AssertTimespecClose()
[all …]
/netbsd-src/sys/sys/
H A Dtimevar.h153 * "nano" == struct timespec == seconds + nanoseconds.
170 void nanouptime(struct timespec *);
174 void nanotime(struct timespec *);
178 void getnanouptime(struct timespec *);
182 void getnanotime(struct timespec *);
186 void getnanoboottime(struct timespec *);
190 int ts2timo(clockid_t, int, struct timespec *, int *, struct timespec *);
192 int clock_getres1(clockid_t, struct timespec *);
193 int clock_gettime1(clockid_t, struct timespec *);
[all...]
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dlibcvs.dep7 ".\timespec.h"\
13 ".\timespec.h"\
22 ".\timespec.h"\
33 ".\timespec.h"\
48 ".\timespec.h"\
64 ".\timespec.h"\
74 ".\timespec.h"\
82 ".\timespec.h"\
90 ".\timespec.h"\
99 ".\timespec.h"\
[all …]
/netbsd-src/tests/lib/libc/gen/
H A Dt_sleep.c80 int sleeptest(int (*)(struct timespec *, struct timespec *), bool, bool);
81 int do_nanosleep(struct timespec *, struct timespec *);
82 int do_select(struct timespec *, struct timespec *);
83 int do_poll(struct timespec *, struct timespec *);
84 int do_sleep(struct timespec *, struct timespec *);
85 int do_kevent(struct timespec *, struct timespec *);
96 do_nanosleep(struct timespec *delay, struct timespec *remain) in do_nanosleep()
108 do_select(struct timespec *delay, struct timespec *remain) in do_select()
122 do_poll(struct timespec *delay, struct timespec *remain) in do_poll()
136 do_sleep(struct timespec *delay, struct timespec *remain) in do_sleep()
[all …]
/netbsd-src/external/bsd/libbind/dist/isc/
H A Dev_timers.c52 static void idle_timeout(evContext, void *, struct timespec, struct timespec);
59 struct timespec lastTouched;
60 struct timespec max_idle;
66 struct timespec
68 struct timespec x; in evConsTime()
75 struct timespec
76 evAddTime(struct timespec addend1, struct timespec addend2) { in evAddTime()
77 struct timespec x; in evAddTime()
88 struct timespec
89 evSubTime(struct timespec minuend, struct timespec subtrahend) { in evSubTime()
[all …]
/netbsd-src/lib/libc/isc/
H A Dev_timers.c58 static void idle_timeout(evContext, void *, struct timespec, struct timespec);
65 struct timespec lastTouched;
66 struct timespec max_idle;
73 struct timespec
75 struct timespec x; in evConsTime()
82 struct timespec
83 evAddTime(struct timespec addend1, struct timespec addend2) { in evAddTime()
84 struct timespec x; in evAddTime()
95 struct timespec
96 evSubTime(struct timespec minuend, struct timespec subtrahend) { in evSubTime()
[all …]
/netbsd-src/lib/libc/include/isc/
H A Deventlib.h60 struct timespec, struct timespec));
166 struct timespec evConsTime __P((time_t sec, long nsec));
167 struct timespec evAddTime __P((struct timespec, struct timespec));
168 struct timespec evSubTime __P((struct timespec, struct timespec));
169 struct timespec evNowTime __P((void));
170 struct timespec evUTCTime __P((void));
171 struct timespec evLastEventTime __P((evContext));
172 struct timespec evTimeSpec __P((struct timeval));
173 struct timeval evTimeVal __P((struct timespec));
174 int evCmpTime __P((struct timespec, struct timespec));
[all …]
/netbsd-src/external/bsd/libbind/dist/include/isc/
H A Deventlib.h62 struct timespec, struct timespec));
168 struct timespec evConsTime __P((time_t sec, long nsec));
169 struct timespec evAddTime __P((struct timespec, struct timespec));
170 struct timespec evSubTime __P((struct timespec, struct timespec));
171 struct timespec evNowTime __P((void));
172 struct timespec evUTCTime __P((void));
173 struct timespec evLastEventTime __P((evContext));
174 struct timespec evTimeSpec __P((struct timeval));
175 struct timeval evTimeVal __P((struct timespec));
176 int evCmpTime __P((struct timespec, struct timespec));
[all …]
/netbsd-src/external/bsd/ntp/dist/libntp/
H A Dtimespecops.c45 struct timespec
47 struct timespec x in normalize_tspec()
89 struct timespec
91 struct timespec a in abs_tspec()
94 struct timespec c; in abs_tspec()
115 struct timespec a, in cmp_tspec()
116 struct timespec b in cmp_tspec()
135 struct timespec a in test_tspec()
154 struct timespec x in tspec_intv_to_lfp()
157 struct timespec v; in tspec_intv_to_lfp()
[all …]
/netbsd-src/sys/kern/
H A Dsubr_time.c66 tshzto(const struct timespec *tsp)
68 struct timespec now, ts; in tvtohz()
77 tshztoup(const struct timespec *tsp) in tvtohz()
79 struct timespec now, ts; in tvtohz()
91 tstohz(const struct timespec *ts) in tvtohz()
104 inittimeleft(struct timespec *ts, struct timespec *sleepts) in tvtohz()
116 gettimeleft(struct timespec *ts, struct timespec *sleepts) in tvtohz()
118 struct timespec no in tvtohz()
[all...]
/netbsd-src/sys/external/bsd/drm2/include/linux/
H A Dtime.h40 #define timespec64 timespec /* take that, 2038 */
62 getrawmonotonic(struct timespec *ts) in getrawmonotonic()
74 timespec_valid(const struct timespec *ts) in timespec_valid()
83 static inline struct timespec
86 struct timespec ts; in ns_to_timespec()
99 timespec_to_ns(const struct timespec *ts) in timespec_to_ns()
107 struct timespec ts; in ns_to_timeval()
122 static inline struct timespec
123 timespec_sub(struct timespec a, struct timespec b) in timespec_sub()
125 struct timespec d; in timespec_sub()
[all …]
/netbsd-src/usr.sbin/rtadvd/
H A Dtimer.c49 static struct timespec tm_limit = { LONG_MAX, 1000000000L - 1 };
50 static struct timespec tm_max;
62 void (*update) (void *, struct timespec *), in rtadvd_add_timer() argument
100 rtadvd_set_timer(struct timespec *tm, struct rtadvd_timer *timer) in rtadvd_set_timer()
102 struct timespec now; in rtadvd_set_timer()
121 struct timespec *
124 static struct timespec returnval; in rtadvd_check_timer()
125 struct timespec now; in rtadvd_check_timer()
155 struct timespec *
158 static struct timespec returnval; in rtadvd_timer_rest()
[all …]
H A Dtimer.h37 struct timespec tm;
42 void (*update)(void *, struct timespec *); /* update function */
48 void (*) (void *, struct timespec *), void *, void *);
49 void rtadvd_set_timer(struct timespec *, struct rtadvd_timer *);
51 struct timespec * rtadvd_check_timer(void);
52 struct timespec * rtadvd_timer_rest(struct rtadvd_timer *);
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dtime.in.h75 # undef timespec
76 # define timespec rpl_timespec
77 struct timespec
116 _GL_FUNCDECL_SYS (timespec_get, int, (struct timespec *ts, int base)
119 _GL_CXXALIAS_SYS (timespec_get, int, (struct timespec *ts, int base));
127 _GL_FUNCDECL_SYS (timespec_getres, int, (struct timespec *ts, int base)
130 _GL_CXXALIAS_SYS (timespec_getres, int, (struct timespec *ts, int base));
143 (struct timespec const *__rqtp, struct timespec *__rmtp)
146 (struct timespec const *__rqtp, struct timespec *__rmtp));
150 (struct timespec const *__rqtp, struct timespec *__rmtp)
[all …]
H A Dstat-time.h117 _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE
123 struct timespec t; in get_stat_atime()
131 _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE
137 struct timespec t; in get_stat_ctime()
145 _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE
151 struct timespec t; in get_stat_mtime()
160 _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE
163 struct timespec t; in get_stat_birthtime()
223 struct timespec *ts = (struct timespec *) ((char *) st + ts_off[i]); in stat_time_normalize()
/netbsd-src/external/gpl2/xcvs/dist/diff/
H A Dlibdiff.dep5 "..\lib\timespec.h"\
17 "..\lib\timespec.h"\
28 "..\lib\timespec.h"\
42 "..\lib\timespec.h"\
54 "..\lib\timespec.h"\
65 "..\lib\timespec.h"\
77 "..\lib\timespec.h"\
89 "..\lib\timespec.h"\
101 "..\lib\timespec.h"\
113 "..\lib\timespec.h"\
[all …]
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dmisc.h96 void ms_to_timespec(struct timespec *, int);
97 void monotime_ts(struct timespec *);
226 struct timespec;
227 void ptimeout_init(struct timespec *pt);
228 void ptimeout_deadline_sec(struct timespec *pt, long sec);
229 void ptimeout_deadline_ms(struct timespec *pt, long ms);
230 void ptimeout_deadline_monotime_tsp(struct timespec *pt, struct timespec *when);
231 void ptimeout_deadline_monotime(struct timespec *pt, time_t when);
232 int ptimeout_get_ms(struct timespec *pt);
233 struct timespec *ptimeout_get_tsp(struct timespec *pt);
[all …]
/netbsd-src/lib/libpthread/
H A Dpthread_cancelstub.c95 const struct timespec *);
97 const struct timespec *);
99 const struct timespec *rqtp, struct timespec *rmtp);
107 size_t, const struct timespec *);
111 const struct timespec *);
113 const struct timespec *);
117 int _sys___nanosleep50(const struct timespec *, struct timespec *);
118 int __nanosleep50(const struct timespec *, struct timespec *);
122 int _sys___pollts50(struct pollfd *, nfds_t, const struct timespec *,
126 const struct timespec *, const sigset_t *);
[all …]
/netbsd-src/tests/kernel/
H A Dt_timeleft.c56 void (*fun)(struct timespec *);
57 struct timespec ts;
61 timeleft__lwp_park(struct timespec *ts) in timeleft__lwp_park()
69 timeleft_pselect(struct timespec *ts)
84 tester(void (*fun)(struct timespec *)) in tester() argument
86 const struct timespec ts = { 5, 0 }; in tester()
87 const struct timespec sts = { 1, 0 }; in tester()
/netbsd-src/external/gpl2/xcvs/dist/m4/
H A Dtimespec.m412 AC_LIBSOURCES([timespec.h])
14 dnl Prerequisites of lib/timespec.h.
26 dnl Define HAVE_STRUCT_TIMESPEC if `struct timespec' is declared
31 dnl Persuade pedantic Solaris to declare struct timespec.
36 AC_CACHE_CHECK([for struct timespec], fu_cv_sys_struct_timespec,
50 [static struct timespec x; x.tv_sec = x.tv_nsec;],
57 [Define if struct timespec is declared in <time.h>. ])
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dstat.d94 timespec st_atim; in version()
95 timespec st_mtim; in version()
96 timespec st_ctim; in version()
141 timespec st_atim; in version()
142 timespec st_mtim; in version()
143 timespec st_ctim; in version()
179 alias __timespec = timespec; in version()
283 timespec st_atim; in version()
284 timespec st_mtim; in version()
285 timespec st_ctim; in version()
[all …]

12345678910>>...35