Searched refs:clockid_t (Results 1 – 16 of 16) sorted by relevance
/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 | 33 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()
|
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() 188 const timespec* abs_timeout_or_null, clockid_t clock) { in __pthread_cond_timedwait()
|
D | bionic_time_conversions.cpp | 57 bool timespec_from_absolute_timespec(timespec& ts, const timespec& abs_ts, clockid_t clock) { in timespec_from_absolute_timespec()
|
D | posix_timers.cpp | 41 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()
|
D | sysconf.cpp | 50 static bool __sysconf_has_clock(clockid_t clock_id) { in __sysconf_has_clock()
|
D | pthread_mutex.cpp | 300 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/ |
D | time.h | 88 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__;
|
D | pthread.h | 136 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/ |
D | timerfd.h | 44 extern int timerfd_create(clockid_t, int);
|
D | types.h | 54 typedef __clockid_t clockid_t; typedef
|
/bionic/libc/private/ |
D | bionic_time_conversions.h | 42 …DDEN__ bool timespec_from_absolute_timespec(timespec& ts, const timespec& abs_ts, clockid_t clock);
|
/bionic/libc/ |
D | SYSCALLS.TXT | 204 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/ |
D | time_test.cpp | 342 clockid_t invalid_clock = 16; in TEST() 517 clockid_t clockid; in TEST()
|
D | pthread_test.cpp | 468 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()
|