/bionic/libc/bionic/ |
H A D | clock_nanosleep.cpp | 33 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) {
|
H A D | futimens.cpp | 32 int futimens(int fd, const struct timespec times[2]) {
|
H A D | sigtimedwait.cpp | 33 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) {
|
H A D | bionic_time_conversions.cpp | 33 bool timespec_from_timeval(timespec& ts, const timeval& tv) { 45 void timespec_from_ms(timespec& ts, const int ms) { 50 void timeval_from_timespec(timeval& tv, const timespec& ts) { 55 void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, clockid_t clock) {
|
H A D | poll.cpp | 37 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; 42 timespec* ts_ptr = NULL; 50 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) { 51 timespec mutable_ts; 52 timespec* mutable_ts_ptr = NULL; 69 timespec ts; 70 timespec* ts_ptr = NULL; 86 const timespec* t [all...] |
H A D | utimes.cpp | 37 timespec ts[2]; 38 timespec* ts_ptr = NULL;
|
H A D | clock.cpp | 37 timespec ts;
|
H A D | clock_getcpuclockid.cpp | 43 timespec ts;
|
H A D | pthread_cond.cpp | 174 bool use_realtime_clock, const timespec* abs_timeout_or_null) { 206 const timespec *abstime) { 216 const timespec* abs_timeout) { 223 const timespec* abs_timeout) { 229 const timespec* rel_timeout) { 230 timespec ts; 231 timespec* abs_timeout = nullptr; 241 timespec ts;
|
H A D | sigwait.cpp | 36 extern "C" int __rt_sigtimedwait(const sigset_t* uthese, siginfo_t* uinfo, const struct timespec* uts, size_t sigsetsize);
|
/bionic/libc/private/ |
H A D | bionic_time_conversions.h | 40 __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); 45 __LIBC_HIDDEN__ void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, 50 static inline int check_timespec(const timespec* ts, bool null_allowed) { 54 // glibc just segfaults if you pass a null timespec.
|
H A D | bionic_futex.h | 41 struct timespec; 44 const struct timespec* timeout, 64 static inline int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { 69 bool use_realtime_clock, const struct timespec* abs_timeout) {
|
H A D | bionic_vdso.h | 41 extern "C" int __clock_gettime(int, timespec*);
|
/bionic/libc/include/bits/ |
H A D | timespec.h | 35 * This file is used to include timespec definition without introducing the whole 40 struct timespec { struct
|
/bionic/libc/kernel/uapi/linux/ |
H A D | time.h | 25 struct timespec { struct 46 struct timespec it_interval; 47 struct timespec it_value;
|
H A D | android_alarm.h | 47 #define ANDROID_ALARM_SET(type) ALARM_IOW(2, type, struct timespec) 49 #define ANDROID_ALARM_SET_AND_WAIT(type) ALARM_IOW(3, type, struct timespec) 50 #define ANDROID_ALARM_GET_TIME(type) ALARM_IOW(4, type, struct timespec) 51 #define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
|
/bionic/libc/include/ |
H A D | semaphore.h | 36 struct timespec; 51 int sem_timedwait(sem_t*, const struct timespec*);
|
H A D | time.h | 63 extern int nanosleep(const struct timespec*, struct timespec*) __LIBC_ABI_PUBLIC__; 90 extern int clock_getres(clockid_t, struct timespec*) __LIBC_ABI_PUBLIC__; 91 extern int clock_gettime(clockid_t, struct timespec*) __LIBC_ABI_PUBLIC__; 92 extern int clock_nanosleep(clockid_t, int, const struct timespec*, struct timespec*) __LIBC_ABI_PUBLIC__; 93 extern int clock_settime(clockid_t, const struct timespec*) __LIBC_ABI_PUBLIC__;
|
H A D | poll.h | 35 #include <time.h> /* For timespec. */ 42 int ppoll(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*); 48 int __ppoll_chk(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*, size_t); 49 int __ppoll_real(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*) __RENAME(ppoll); 71 int ppoll(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout, const sigset_t* mask) {
|
/bionic/libc/include/sys/ |
H A D | stat.h | 32 #include <bits/timespec.h> 53 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_cti [all...] |
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
H A D | eventlib.h | 60 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 evNowTim [all...] |
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
H A D | ev_timers.c | 58 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; 82 struct timespec 83 evAddTime(struct timespec addend1, struct timespec addend2) { 84 struct timespec [all...] |
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
H A D | sleep.c | 46 struct timespec time_to_sleep; 47 struct timespec time_remaining;
|
H A D | usleep.c | 44 struct timespec time_to_sleep;
|
/bionic/benchmarks/ |
H A D | time_benchmark.cpp | 25 timespec t; 33 timespec t;
|