Home
last modified time | relevance | path

Searched defs:ts (Results 1 – 25 of 30) 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()
63 int ppoll64(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset64_t* ss) { in ppoll64()
83 timespec ts; in select() local
100 const timespec* ts, const sigset_t* ss) { in pselect()
113 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()
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
Dtimespec_get.cpp31 int timespec_get(timespec* ts, int base) { in timespec_get()
Dposix_timers.cpp204 int timer_gettime(timer_t id, itimerspec* ts) { in timer_gettime()
213 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()
Dpthread_mutex.cpp951 timespec ts; in pthread_mutex_lock_timeout_np() local
/bionic/tests/
Dtime_test.cpp609 itimerspec ts; in SetTime() local
663 itimerspec ts; in TEST() local
883 itimerspec ts; in TEST() local
930 timespec ts; in TEST() local
935 timespec ts; in TEST() local
940 timespec ts; in TEST() local
945 timespec ts; in TEST() local
950 timespec ts; in TEST() local
956 timespec ts; in TEST() local
962 timespec ts; in TEST() local
[all …]
Dpoll_test.cpp44 timespec ts = { .tv_nsec = 100 }; in TEST() local
53 timespec ts = { .tv_nsec = 100 }; in TEST() local
Dsemaphore_test.cpp99 static inline void timespec_add_ms(timespec& ts, size_t ms) { in timespec_add_ms()
113 timespec ts; in sem_timedwait_helper() local
Dsys_sem_test.cpp61 timespec ts = { .tv_sec = 0, .tv_nsec = 100 }; in TEST() local
Dpthread_test.cpp614 timespec ts; in TEST() local
1001 timespec ts; in TEST() local
1011 timespec ts; in TEST() local
1023 timespec ts; in TEST() local
1068 timespec ts; in TEST() local
1078 timespec ts; in TEST() local
1090 timespec ts; in TEST() local
1114 timespec ts; in pthread_rwlock_wakeup_timeout_helper() local
1192 timespec ts; in TEST() local
1260 timespec ts; in TEST() local
[all …]
Dsys_socket_test.cpp158 struct timespec ts; in TestRecvMMsg() local
/bionic/libc/private/
Dbionic_time_conversions.h50 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()
/bionic/libc/include/sys/
Dtime.h89 #define TIMEVAL_TO_TIMESPEC(tv, ts) { \ argument
93 #define TIMESPEC_TO_TIMEVAL(tv, ts) { \ argument
/bionic/libc/kernel/uapi/linux/
Derrqueue.h54 struct timespec ts[3]; member
57 struct __kernel_timespec ts[3]; member
Dptp_clock.h73 struct ptp_clock_time ts[2 * PTP_MAX_SAMPLES + 1]; member
78 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.cpp532 timespec ts; in async_safe_write_log() local

12