Home
last modified time | relevance | path

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

/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.cpp33 int pthread_getcpuclockid(pthread_t t, clockid_t* clockid) { in pthread_getcpuclockid()
40 clockid_t result = ~static_cast<clockid_t>(thread->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()
188 const timespec* abs_timeout_or_null, clockid_t clock) { in __pthread_cond_timedwait()
Dbionic_time_conversions.cpp57 bool timespec_from_absolute_timespec(timespec& ts, const timespec& abs_ts, clockid_t clock) { in timespec_from_absolute_timespec()
Dposix_timers.cpp41 extern "C" int __timer_create(clockid_t, sigevent*, __kernel_timer_t*);
111 int timer_create(clockid_t clock_id, sigevent* evp, timer_t* timer_id) { in timer_create()
Dsysconf.cpp50 static bool __sysconf_has_clock(clockid_t clock_id) { in __sysconf_has_clock()
Dpthread_mutex.cpp300 clockid_t clock) { in __pthread_normal_mutex_lock()
420 const timespec* abs_timeout_or_null, clockid_t clock) { in __pthread_mutex_lock_with_timeout()
/bionic/libc/include/
Dtime.h88 extern int clock_getcpuclockid(pid_t, clockid_t*) __LIBC_ABI_PUBLIC__;
90 extern int clock_getres(clockid_t, struct timespec*) __LIBC_ABI_PUBLIC__;
91 extern int clock_gettime(clockid_t, struct timespec*) __LIBC_ABI_PUBLIC__;
92 extern int clock_nanosleep(clockid_t, int, const struct timespec*, struct timespec*) __LIBC_ABI_PUB…
93 extern int clock_settime(clockid_t, const struct timespec*) __LIBC_ABI_PUBLIC__;
Dpthread.h136 int pthread_condattr_getclock(const pthread_condattr_t*, clockid_t*) __nonnull((1, 2));
139 int pthread_condattr_setclock(pthread_condattr_t*, clockid_t) __nonnull((1));
157 int pthread_getcpuclockid(pthread_t, clockid_t*) __nonnull((2));
/bionic/libc/include/sys/
Dtimerfd.h44 extern int timerfd_create(clockid_t, int);
Dtypes.h54 typedef __clockid_t clockid_t; typedef
/bionic/libc/private/
Dbionic_time_conversions.h42 …DDEN__ bool timespec_from_absolute_timespec(timespec& ts, const timespec& abs_ts, clockid_t clock);
/bionic/libc/
DSYSCALLS.TXT204 int clock_settime(clockid_t, const struct timespec*) all
205 int clock_getres(clockid_t, struct timespec*) all
206 int ___clock_nanosleep:clock_nanosleep(clockid_t, int, const struct timespec*, struct tim…
209 int __timer_create:timer_create(clockid_t clockid, struct sigevent* evp, __kernel_timer_t…
214 int timerfd_create(clockid_t, int) all
336 int clock_gettime(clockid_t, timespec*) arm,mips,mips64,x86
337 int __clock_gettime:clock_gettime(clockid_t, timespec*) arm64,x86_64
/bionic/tests/
Dtime_test.cpp342 clockid_t invalid_clock = 16; in TEST()
517 clockid_t clockid; in TEST()
Dpthread_test.cpp468 clockid_t c; in TEST()
478 clockid_t c; in TEST()
999 clockid_t clock; in TEST()
1013 clockid_t clock; in TEST()
1039 clockid_t clock; in TEST()