/bionic/tests/headers/posix/ |
D | time_h.c | 40 TYPE(clockid_t); in time_h() 79 FUNCTION(clock_getcpuclockid, int (*f)(pid_t, clockid_t*)); 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() 100 FUNCTION(timer_create, int (*f)(clockid_t, struct sigevent*, timer_t*)); in time_h()
|
D | pthread_h.c | 125 FUNCTION(pthread_condattr_getclock, int (*f)(const pthread_condattr_t*, clockid_t*)); in pthread_h() 128 FUNCTION(pthread_condattr_setclock, int (*f)(pthread_condattr_t*, clockid_t)); in pthread_h() 137 FUNCTION(pthread_getcpuclockid, int (*f)(pthread_t, clockid_t*)); in pthread_h()
|
D | sys_types_h.c | 37 TYPE(clockid_t); in sys_types_h()
|
/bionic/libc/include/ |
D | time.h | 94 int clock_getcpuclockid(pid_t __pid, clockid_t* __clock) __INTRODUCED_IN(23); 96 int clock_getres(clockid_t __clock, struct timespec* __resolution); 97 int clock_gettime(clockid_t __clock, struct timespec* __ts); 98 int clock_nanosleep(clockid_t __clock, int __flags, const struct timespec* __request, struct timesp… 99 int clock_settime(clockid_t __clock, const struct timespec* __ts); 101 int timer_create(clockid_t __clock, struct sigevent* __event, timer_t* __timer_ptr);
|
D | pthread.h | 117 int pthread_condattr_getclock(const pthread_condattr_t* __attr, clockid_t* __clock) __INTRODUCED_IN… 120 int pthread_condattr_setclock(pthread_condattr_t* __attr, clockid_t __clock) __INTRODUCED_IN(21); 124 int pthread_cond_clockwait(pthread_cond_t* __cond, pthread_mutex_t* __mutex, clockid_t __clock, 166 int pthread_getcpuclockid(pthread_t __pthread, clockid_t* __clock); 188 int pthread_mutex_clocklock(pthread_mutex_t* __mutex, clockid_t __clock, 237 int pthread_rwlock_clockrdlock(pthread_rwlock_t* __rwlock, clockid_t __clock, 239 int pthread_rwlock_clockwrlock(pthread_rwlock_t* __rwlock, clockid_t __clock,
|
D | semaphore.h | 48 int sem_clockwait(sem_t* __sem, clockid_t __clock, const struct timespec* __ts) __INTRODUCED_IN(30);
|
/bionic/libc/bionic/ |
D | clock_getcpuclockid.cpp | 34 int clock_getcpuclockid(pid_t pid, clockid_t* clockid) { in clock_getcpuclockid() 38 clockid_t result = ~static_cast<clockid_t>(pid) << 3; in clock_getcpuclockid()
|
D | pthread_getcpuclockid.cpp | 35 int pthread_getcpuclockid(pthread_t t, clockid_t* clockid) { in pthread_getcpuclockid() 40 clockid_t result = ~static_cast<clockid_t>(tid) << 3; in pthread_getcpuclockid()
|
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 | pthread_cond.cpp | 88 int pthread_condattr_getclock(const pthread_condattr_t* attr, clockid_t* clock) { in pthread_condattr_getclock() 93 int pthread_condattr_setclock(pthread_condattr_t* attr, clockid_t clock) { in pthread_condattr_setclock() 218 int pthread_cond_clockwait(pthread_cond_t* cond_interface, pthread_mutex_t* mutex, clockid_t clock, in pthread_cond_clockwait()
|
D | posix_timers.cpp | 40 extern "C" int __timer_create(clockid_t, sigevent*, __kernel_timer_t*); 106 int timer_create(clockid_t clock_id, sigevent* evp, timer_t* timer_id) { in timer_create()
|
D | pthread_rwlock.cpp | 432 int pthread_rwlock_clockrdlock(pthread_rwlock_t* rwlock_interface, clockid_t clock, in pthread_rwlock_clockrdlock() 470 int pthread_rwlock_clockwrlock(pthread_rwlock_t* rwlock_interface, clockid_t clock, in pthread_rwlock_clockwrlock()
|
D | semaphore.cpp | 278 int sem_clockwait(sem_t* sem, clockid_t clock, const timespec* abs_timeout) { in sem_clockwait()
|
D | pthread_mutex.cpp | 992 int pthread_mutex_clocklock(pthread_mutex_t* mutex_interface, clockid_t clock, in pthread_mutex_clocklock()
|
/bionic/libc/ |
D | SECCOMP_ALLOWLIST_COMMON.TXT | 58 int clock_gettime64(clockid_t, timespec64*) lp32 59 int clock_settime64(clockid_t, const timespec64*) lp32 60 int clock_adjtime64(clockid_t, timex64*) lp32 61 int clock_getres_time64(clockid_t, timespec64*) lp32 62 int clock_nanosleep_time64(clockid_t, int, const timespec64*, timespec*) lp32
|
D | SECCOMP_BLOCKLIST_APP.TXT | 32 int clock_adjtime(clockid_t, struct timex*) all 33 int clock_settime(clockid_t, const struct timespec*) all
|
D | SYSCALLS.TXT | 219 int clock_settime(clockid_t, const struct timespec*) all 220 int __clock_nanosleep:clock_nanosleep(clockid_t, int, const struct timespec*, struct time… 223 int __timer_create:timer_create(clockid_t clockid, struct sigevent* evp, __kernel_timer_t… 228 int timerfd_create(clockid_t, int) all 232 int clock_adjtime(clockid_t, struct timex*) all 354 int __clock_getres:clock_getres(clockid_t, struct timespec*) all 355 int __clock_gettime:clock_gettime(clockid_t, struct timespec*) all
|
/bionic/libc/include/sys/ |
D | timex.h | 58 int clock_adjtime(clockid_t __clock, struct timex* __tx) __INTRODUCED_IN(24);
|
D | timerfd.h | 56 int timerfd_create(clockid_t __clock, int __flags) __INTRODUCED_IN(19);
|
D | types.h | 57 typedef __clockid_t clockid_t; typedef
|
/bionic/libc/private/ |
D | bionic_time_conversions.h | 66 static inline void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, clockid_t … in absolute_timespec_from_timespec()
|
/bionic/tests/ |
D | pthread_test.cpp | 587 clockid_t c; in TEST() 599 clockid_t c; in TEST_F() 606 clockid_t c; in TEST_F() 929 clockid_t clock; 1104 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedrdlock_timeout_helper() 1172 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedwrlock_timeout_helper() 1418 clockid_t clock; in TEST() 1432 clockid_t clock; in TEST() 1458 clockid_t clock; in TEST() 1489 void InitCond(clockid_t clock=CLOCK_REALTIME) { in InitCond() [all …]
|
D | time_test.cpp | 542 clockid_t invalid_clock = 16; in TEST() 770 clockid_t clockid; in TEST() 777 clockid_t clockid; in TEST() 787 clockid_t clockid; in TEST()
|
D | semaphore_test.cpp | 104 static void sem_timedwait_helper(clockid_t clock, in sem_timedwait_helper()
|