/bionic/libc/private/ |
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 monotonic_time_from_realtime_time(timespec& monotonic_time, 46 const timespec& realtime_time); 50 static inline int check_timespec(const timespec* ts, bool null_allowed) { in check_timespec() 66 static inline void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, clockid_t … in absolute_timespec_from_timespec()
|
D | bionic_futex.h | 39 struct timespec; 42 const timespec* timeout, int bitset) { in __futex() 61 static inline int __futex_wait(volatile void* ftx, int value, const timespec* timeout) { in __futex_wait() 71 bool use_realtime_clock, const timespec* abs_timeout); 78 const timespec* abs_timeout);
|
D | bionic_vdso.h | 46 extern "C" int __clock_gettime(int, timespec*); 47 extern "C" int __clock_getres(int, timespec*);
|
/bionic/libc/bionic/ |
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) { in clock_nanosleep()
|
D | poll.cpp | 37 extern "C" int __ppoll(pollfd*, unsigned int, timespec*, const sigset64_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 = nullptr; in poll() 50 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) { in ppoll() 62 int ppoll64(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset64_t* ss) { in ppoll64() 64 timespec mutable_ts; in ppoll64() 65 timespec* mutable_ts_ptr = nullptr; in ppoll64() 82 timespec ts; in select() 83 timespec* ts_ptr = nullptr; in select() [all …]
|
D | bionic_time_conversions.cpp | 33 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() 55 void monotonic_time_from_realtime_time(timespec& monotonic_time, const timespec& realtime_time) { in monotonic_time_from_realtime_time() 58 timespec cur_monotonic_time; in monotonic_time_from_realtime_time() 60 timespec cur_realtime_time; in monotonic_time_from_realtime_time()
|
D | bionic_futex.cpp | 37 const timespec* abs_timeout, int bitset) { in FutexWithTimeout() 38 const timespec* futex_abs_timeout = abs_timeout; in FutexWithTimeout() 49 timespec converted_monotonic_abs_timeout; in FutexWithTimeout() 62 const timespec* abs_timeout) { in __futex_wait_ex() 68 const timespec* abs_timeout) { in __futex_pi_lock_ex()
|
D | pthread_cond.cpp | 174 bool use_realtime_clock, const timespec* abs_timeout_or_null) { in __pthread_cond_timedwait() 206 const timespec *abstime) { in pthread_cond_timedwait() 214 const timespec* abs_timeout) { in pthread_cond_timedwait_monotonic_np() 222 const timespec* abs_timeout) { in pthread_cond_timedwait_monotonic() 230 const timespec* rel_timeout) { in pthread_cond_timedwait_relative_np() 231 timespec ts; in pthread_cond_timedwait_relative_np() 232 timespec* abs_timeout = nullptr; in pthread_cond_timedwait_relative_np() 242 timespec ts; in pthread_cond_timeout_np()
|
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
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 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/benchmarks/ |
D | time_benchmark.cpp | 27 timespec t; in BM_time_clock_gettime() 36 timespec t; in BM_time_clock_gettime_syscall() 45 timespec t; in BM_time_clock_gettime_MONOTONIC_COARSE() 54 timespec t; in BM_time_clock_gettime_MONOTONIC_RAW() 63 timespec t; in BM_time_clock_gettime_REALTIME() 72 timespec t; in BM_time_clock_gettime_REALTIME_COARSE() 81 timespec t; in BM_time_clock_gettime_BOOTTIME() 90 timespec t; in BM_time_clock_getres() 99 timespec t; in BM_time_clock_getres_syscall() 108 timespec t; in BM_time_clock_getres_MONOTONIC_COARSE() [all …]
|
/bionic/tests/headers/posix/ |
D | time_h.c | 58 TYPE(struct timespec); in time_h() 59 STRUCT_MEMBER(struct timespec, time_t, tv_sec); in time_h() 60 STRUCT_MEMBER(struct timespec, long, tv_nsec); in time_h() 63 STRUCT_MEMBER(struct itimerspec, struct timespec, it_interval); in time_h() 64 STRUCT_MEMBER(struct itimerspec, struct timespec, it_value); in time_h() 80 FUNCTION(clock_getres, int (*f)(clockid_t, struct timespec*)); in time_h() 81 FUNCTION(clock_gettime, int (*f)(clockid_t, struct timespec*)); in time_h() 82 FUNCTION(clock_nanosleep, int (*f)(clockid_t, int, const struct timespec*, struct timespec*)); in time_h() 83 FUNCTION(clock_settime, int (*f)(clockid_t, const struct timespec*)); in time_h() 95 FUNCTION(nanosleep, int (*f)(const struct timespec*, struct timespec*)); in time_h()
|
D | sched_h.c | 38 TYPE(struct timespec); in sched_h() 44 STRUCT_MEMBER(struct sched_param, struct timespec, sched_ss_repl_period); in sched_h() 45 STRUCT_MEMBER(struct sched_param, struct timespec, sched_ss_init_budget); in sched_h() 60 FUNCTION(sched_rr_get_interval, int (*f)(pid_t, struct timespec*)); in sched_h()
|
D | sys_stat_h.c | 68 STRUCT_MEMBER(struct stat, struct timespec, st_atim); in sys_stat_h() 69 STRUCT_MEMBER(struct stat, struct timespec, st_mtim); in sys_stat_h() 70 STRUCT_MEMBER(struct stat, struct timespec, st_ctim); in sys_stat_h() 105 TYPE(struct timespec); in sys_stat_h() 144 FUNCTION(futimens, int (*f)(int, const struct timespec[2])); in sys_stat_h() 155 FUNCTION(utimensat, int (*f)(int, const char*, const struct timespec[2], int)); in sys_stat_h()
|
D | sys_select_h.c | 42 TYPE(struct timespec); in sys_select_h() 60 …FUNCTION(pselect, int (*f)(int, fd_set*, fd_set*, fd_set*, const struct timespec*, const sigset_t*… in sys_select_h()
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
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; 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/sys/ |
D | stat.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_ctim; \ 110 struct timespec st_atim; \ [all …]
|
D | system_properties.h | 84 struct timespec; 85 …* __pi, uint32_t __old_serial, uint32_t* __new_serial_ptr, const struct timespec* __relative_timeo…
|
/bionic/libc/include/ |
D | time.h | 63 int nanosleep(const struct timespec* __request, struct timespec* __remainder); 96 int clock_getres(clockid_t __clock, struct timespec* __resolution); 97 int clock_gettime(clockid_t __clock, struct timespec* __ts); 98 …ck_nanosleep(clockid_t __clock, int __flags, const struct timespec* __request, struct timespec* __… 99 int clock_settime(clockid_t __clock, const struct timespec* __ts); 112 int timespec_get(struct timespec* __ts, int __base) __INTRODUCED_IN(29);
|
D | semaphore.h | 36 struct timespec; 51 int sem_timedwait(sem_t* __sem, const struct timespec* __ts); 58 int sem_timedwait_monotonic_np(sem_t* __sem, const struct timespec* __ts) __INTRODUCED_IN(28);
|
D | poll.h | 64 int ppoll(struct pollfd* _Nullable __fds, nfds_t __count, const struct timespec* _Nullable __timeou… 69 int ppoll64(struct pollfd* _Nullable __fds, nfds_t __count, const struct timespec* _Nullable __tim…
|
/bionic/libc/kernel/uapi/linux/ |
D | time.h | 24 struct timespec { struct 41 struct timespec it_interval; argument 42 struct timespec it_value;
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
D | sleep.c | 46 struct timespec time_to_sleep; in __sleep() 47 struct timespec time_remaining; in __sleep()
|
/bionic/libc/include/bits/fortify/ |
D | poll.h | 34 int __ppoll_chk(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*, size_t) __INTRODUC… 35 int __ppoll64_chk(struct pollfd*, nfds_t, const struct timespec*, const sigset64_t*, size_t) __INTR… 55 int ppoll(struct pollfd* const fds __pass_object_size, nfds_t fd_count, const struct timespec* time… in ppoll() 70 int ppoll64(struct pollfd* const fds __pass_object_size, nfds_t fd_count, const struct timespec* ti… in ppoll64()
|
/bionic/tests/ |
D | poll_test.cpp | 44 timespec ts = { .tv_nsec = 100 }; in TEST() 53 timespec ts = { .tv_nsec = 100 }; in TEST()
|
/bionic/libc/include/bits/ |
D | timespec.h | 46 struct timespec { struct
|