Home
last modified time | relevance | path

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

123

/bionic/libc/bionic/
Dpoll.cpp37 extern "C" int __ppoll(pollfd*, unsigned int, timespec*, const kernel_sigset_t*, size_t);
38 extern "C" int __pselect6(int, fd_set*, fd_set*, fd_set*, timespec*, void*);
41 timespec ts; in poll()
42 timespec* ts_ptr = NULL; in poll()
50 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) __overloadable { in ppoll()
51 timespec mutable_ts; in ppoll()
52 timespec* mutable_ts_ptr = NULL; in ppoll()
69 timespec ts; in select()
70 timespec* ts_ptr = NULL; in select()
86 const timespec* ts, const sigset_t* ss) { in pselect()
[all …]
Dclock_nanosleep.cpp33 extern "C" int ___clock_nanosleep(clockid_t, int, const timespec*, timespec*);
35 int clock_nanosleep(clockid_t clock_id, int flags, const timespec* in, timespec* out) { in clock_nanosleep()
Dbionic_time_conversions.cpp33 bool timespec_from_timeval(timespec& ts, const timeval& tv) { in timespec_from_timeval()
45 void timespec_from_ms(timespec& ts, const int ms) { in timespec_from_ms()
50 void timeval_from_timespec(timeval& tv, const timespec& ts) { in timeval_from_timespec()
Dsigtimedwait.cpp33 extern "C" int __rt_sigtimedwait(const sigset_t*, siginfo_t*, const timespec*, size_t);
35 int sigtimedwait(const sigset_t* set, siginfo_t* info, const timespec* timeout) { in sigtimedwait()
Dpthread_cond.cpp174 bool use_realtime_clock, const timespec* abs_timeout_or_null) { in __pthread_cond_timedwait()
206 const timespec *abstime) { in pthread_cond_timedwait()
216 const timespec* abs_timeout) { in pthread_cond_timedwait_monotonic()
223 const timespec* abs_timeout) { in pthread_cond_timedwait_monotonic_np()
231 const timespec* rel_timeout) { in pthread_cond_timedwait_relative_np()
232 timespec ts; in pthread_cond_timedwait_relative_np()
233 timespec* abs_timeout = nullptr; in pthread_cond_timedwait_relative_np()
243 timespec ts; in pthread_cond_timeout_np()
Dsys_time.cpp38 timespec ts[2]; in futimesat()
59 timespec ts[2]; in futimes()
Dfutimens.cpp32 int futimens(int fd, const struct timespec times[2]) { in futimens()
Dclock.cpp37 timespec ts; in clock()
/bionic/libc/upstream-netbsd/lib/libc/include/isc/
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 …]
/bionic/libc/private/
Dbionic_time_conversions.h40 __LIBC_HIDDEN__ bool timespec_from_timeval(timespec& ts, const timeval& tv);
41 __LIBC_HIDDEN__ void timespec_from_ms(timespec& ts, const int ms);
43 __LIBC_HIDDEN__ void timeval_from_timespec(timeval& tv, const timespec& ts);
47 static inline int check_timespec(const timespec* ts, bool null_allowed) { in check_timespec()
63 static inline void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, clockid_t … in absolute_timespec_from_timespec()
Dbionic_futex.h41 struct timespec;
44 const struct timespec* timeout, in __futex()
64 static inline int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { in __futex_wait()
69 bool use_realtime_clock, const struct timespec* abs_timeout) { in __futex_wait_ex()
Dbionic_vdso.h42 extern "C" int __clock_gettime(int, timespec*);
/bionic/libc/upstream-netbsd/lib/libc/isc/
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 …]
/bionic/libc/include/
Dtime.h63 int nanosleep(const struct timespec*, struct timespec*);
95 int clock_getres(clockid_t, struct timespec*);
96 int clock_gettime(clockid_t, struct timespec*);
97 int clock_nanosleep(clockid_t, int, const struct timespec*, struct timespec*);
98 int clock_settime(clockid_t, const struct timespec*);
Dpoll.h42 int ppoll(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*)
46 int __ppoll_chk(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*, size_t)
72 int ppoll(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout,
81 const struct timespec* timeout, const sigset_t* mask) __overloadable { in ppoll()
94 int __ppoll_real(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*) __RENAME(ppoll)
111 int ppoll(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout, in ppoll()
Dsemaphore.h36 struct timespec;
51 int sem_timedwait(sem_t*, const struct timespec*);
/bionic/libc/include/sys/
Dstat.h53 struct timespec st_atim; \
54 struct timespec st_mtim; \
55 struct timespec st_ctim; \
71 struct timespec st_atim; \
72 struct timespec st_mtim; \
73 struct timespec st_ctim; \
91 struct timespec st_atim; \
92 struct timespec st_mtim; \
93 struct timespec st_ctim; \
110 struct timespec st_atim; \
[all …]
Dsystem_properties.h84 struct timespec;
88 const struct timespec* relative_timeout)
Dsem.h51 int semtimedop(int, struct sembuf*, size_t, const struct timespec*) __INTRODUCED_IN(26);
/bionic/libc/kernel/uapi/linux/
Dtime.h25 struct timespec { struct
46 struct timespec it_interval; argument
47 struct timespec it_value;
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dsleep.c46 struct timespec time_to_sleep; in __sleep()
47 struct timespec time_remaining; in __sleep()
Dusleep.c44 struct timespec time_to_sleep; in __usleep()
/bionic/libc/include/bits/
Dtimespec.h41 struct timespec { struct
/bionic/libc/dns/include/
Dresolv_stats.h51 _res_stats_calculate_rtt(const struct timespec* t1, const struct timespec* t0);
/bionic/benchmarks/
Dtime_benchmark.cpp25 timespec t; in BM_time_clock_gettime()
33 timespec t; in BM_time_clock_gettime_syscall()

123