Home
last modified time | relevance | path

Searched refs:clockid_t (Results 1 – 24 of 24) sorted by relevance

/bionic/tests/headers/posix/
Dtime_h.c40 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()
Dpthread_h.c125 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()
Dsys_types_h.c37 TYPE(clockid_t); in sys_types_h()
/bionic/libc/include/
Dtime.h94 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);
Dpthread.h117 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,
Dsemaphore.h48 int sem_clockwait(sem_t* __sem, clockid_t __clock, const struct timespec* __ts) __INTRODUCED_IN(30);
/bionic/libc/bionic/
Dclock_getcpuclockid.cpp34 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()
Dpthread_getcpuclockid.cpp35 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()
Dclock_nanosleep.cpp33 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()
Dpthread_cond.cpp88 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()
Dposix_timers.cpp40 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()
Dpthread_rwlock.cpp432 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()
Dsemaphore.cpp278 int sem_clockwait(sem_t* sem, clockid_t clock, const timespec* abs_timeout) { in sem_clockwait()
Dpthread_mutex.cpp992 int pthread_mutex_clocklock(pthread_mutex_t* mutex_interface, clockid_t clock, in pthread_mutex_clocklock()
/bionic/libc/
DSECCOMP_ALLOWLIST_COMMON.TXT58 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
DSECCOMP_BLOCKLIST_APP.TXT32 int clock_adjtime(clockid_t, struct timex*) all
33 int clock_settime(clockid_t, const struct timespec*) all
DSYSCALLS.TXT219 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/
Dtimex.h58 int clock_adjtime(clockid_t __clock, struct timex* __tx) __INTRODUCED_IN(24);
Dtimerfd.h56 int timerfd_create(clockid_t __clock, int __flags) __INTRODUCED_IN(19);
Dtypes.h57 typedef __clockid_t clockid_t; typedef
/bionic/libc/private/
Dbionic_time_conversions.h66 static inline void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, clockid_t in absolute_timespec_from_timespec()
/bionic/tests/
Dpthread_test.cpp587 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 …]
Dtime_test.cpp542 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()
Dsemaphore_test.cpp104 static void sem_timedwait_helper(clockid_t clock, in sem_timedwait_helper()