Home
last modified time | relevance | path

Searched defs:ts (Results 1 – 25 of 31) sorted by relevance

12

/bionic/libc/bionic/
Dpoll.cpp42 timespec ts; in poll() local
51 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) { in ppoll()
57 int ppoll64(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset64_t* ss) { in ppoll64()
77 timespec ts; in select() local
94 const timespec* ts, const sigset_t* ss) { in pselect()
101 const timespec* ts, const sigset64_t* ss) { in pselect64()
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()
Dtime.cpp31 int timespec_get(timespec* ts, int base) { in timespec_get()
35 int timespec_getres(timespec* ts, int base) { in timespec_getres()
Dsys_time.cpp38 timespec ts[2]; in futimesat() local
59 timespec ts[2]; in futimes() local
Dclock.cpp37 timespec ts; in clock() local
Dsleep.cpp39 timespec ts = {.tv_sec = static_cast<time_t>(s)}; in sleep() local
Dusleep.cpp34 timespec ts; in usleep() local
Dposix_timers.cpp224 int timer_gettime(timer_t id, itimerspec* ts) { in timer_gettime()
233 int timer_settime(timer_t id, int flags, const itimerspec* ts, itimerspec* ots) { in timer_settime()
Dsys_sem.cpp63 int semtimedop(int id, sembuf* ops, size_t op_count, const timespec* ts) { in semtimedop()
Dpthread_cond.cpp267 timespec ts; in pthread_cond_timedwait_relative_np() local
282 timespec ts; in pthread_cond_timeout_np() local
Dndk_cruft.cpp108 char* strtotimeval(const char* str, struct timeval* ts) { in strtotimeval()
/bionic/tests/
Dtime_test.cpp628 itimerspec ts; in SetTime() local
682 itimerspec ts; in TEST() local
922 itimerspec ts; in TEST() local
969 timespec ts; in TEST() local
974 timespec ts; in TEST() local
979 timespec ts; in TEST() local
984 timespec ts; in TEST() local
989 timespec ts; in TEST() local
995 timespec ts; in TEST() local
1001 timespec ts; in TEST() local
[all …]
Dpoll_test.cpp46 timespec ts = { .tv_nsec = 100 }; in TEST() local
55 timespec ts = { .tv_nsec = 100 }; in TEST() local
Dsys_epoll_test.cpp65 timespec ts = {.tv_nsec = 500}; in TEST() local
92 timespec ts = {.tv_nsec = 500}; in TEST() local
110 timespec ts = {.tv_nsec = 500}; in TEST() local
Dsemaphore_test.cpp101 static inline void timespec_add_ms(timespec& ts, size_t ms) { in timespec_add_ms()
115 timespec ts; in sem_timedwait_helper() local
Dsys_sem_test.cpp63 timespec ts = { .tv_sec = 0, .tv_nsec = 100 }; in TEST() local
Dpthread_test.cpp615 timespec ts; in TEST() local
1002 timespec ts; in TEST() local
1012 timespec ts; in TEST() local
1024 timespec ts; in TEST() local
1069 timespec ts; in TEST() local
1079 timespec ts; in TEST() local
1091 timespec ts; in TEST() local
1115 timespec ts; in pthread_rwlock_wakeup_timeout_helper() local
1193 timespec ts; in TEST() local
1261 timespec ts; in TEST() local
[all …]
Dsys_socket_test.cpp158 struct timespec ts; in TestRecvMMsg() local
/bionic/libc/private/
Dbionic_time_conversions.h53 static inline int check_timespec(const timespec* ts, bool null_allowed) { in check_timespec()
69 static inline void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, clockid_t … in absolute_timespec_from_timespec()
/bionic/libc/include/sys/
Dtime.h102 #define TIMEVAL_TO_TIMESPEC(tv, ts) { \ argument
106 #define TIMESPEC_TO_TIMEVAL(tv, ts) { \ argument
/bionic/libc/kernel/uapi/linux/
Derrqueue.h42 struct timespec ts[3]; member
45 struct __kernel_timespec ts[3]; member
Dptp_clock.h64 struct ptp_clock_time ts[2 * PTP_MAX_SAMPLES + 1]; member
69 struct ptp_clock_time ts[PTP_MAX_SAMPLES][3]; member
/bionic/libc/upstream-openbsd/lib/libc/net/
Dres_random.c178 struct timespec ts; in res_initid() local
230 struct timespec ts; in __res_randomid() local
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_timers.c168 struct timespec ts; in evTimeSpec() local
176 evTimeVal(struct timespec ts) { in evTimeVal()
/bionic/libc/async_safe/
Dasync_safe_log.cpp545 timespec ts; in async_safe_write_log() local

12