/bionic/libc/bionic/ |
D | pthread_cond.cpp | 88 int pthread_condattr_getclock(const pthread_condattr_t* attr, clockid_t* clock) { in pthread_condattr_getclock() argument 89 *clock = COND_GET_CLOCK(*attr); in pthread_condattr_getclock() 93 int pthread_condattr_setclock(pthread_condattr_t* attr, clockid_t clock) { in pthread_condattr_setclock() argument 94 if (clock != CLOCK_MONOTONIC && clock != CLOCK_REALTIME) { in pthread_condattr_setclock() 98 *attr = COND_SET_CLOCK(*attr, 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() argument 220 switch (clock) { in pthread_cond_clockwait()
|
D | time64.c | 64 # define LOCALTIME_R(clock, result) localtime_r(clock, result) argument 66 # define LOCALTIME_R(clock, result) fake_localtime_r(clock, result) argument 69 # define GMTIME_R(clock, result) gmtime_r(clock, result) argument 71 # define GMTIME_R(clock, result) fake_gmtime_r(clock, result) argument 427 struct tm * fake_localtime_r(const time_t *clock, struct tm *result) { in fake_localtime_r() argument 428 const struct tm *static_result = localtime(clock); in fake_localtime_r() 445 struct tm * fake_gmtime_r(const time_t *clock, struct tm *result) { in fake_gmtime_r() argument 446 const struct tm *static_result = gmtime(clock); in fake_gmtime_r()
|
D | clock.cpp | 36 clock_t clock() { in clock() function
|
D | pthread_rwlock.cpp | 432 int pthread_rwlock_clockrdlock(pthread_rwlock_t* rwlock_interface, clockid_t clock, in pthread_rwlock_clockrdlock() argument 434 switch (clock) { in pthread_rwlock_clockrdlock() 470 int pthread_rwlock_clockwrlock(pthread_rwlock_t* rwlock_interface, clockid_t clock, in pthread_rwlock_clockwrlock() argument 472 switch (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() argument 279 switch (clock) { in sem_clockwait()
|
D | pthread_mutex.cpp | 992 int pthread_mutex_clocklock(pthread_mutex_t* mutex_interface, clockid_t clock, in pthread_mutex_clocklock() argument 994 switch (clock) { in pthread_mutex_clocklock()
|
/bionic/libc/private/ |
D | bionic_time_conversions.h | 66 …nline void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, clockid_t clock) { in absolute_timespec_from_timespec() argument 67 clock_gettime(clock, &abs_ts); in absolute_timespec_from_timespec()
|
/bionic/tests/ |
D | pthread_test.cpp | 929 clockid_t clock; member 1087 ASSERT_EQ(0, clock_gettime(arg->clock, &ts)); in pthread_rwlock_wakeup_timeout_helper() 1096 ASSERT_EQ(0, clock_gettime(arg->clock, &ts)); in pthread_rwlock_wakeup_timeout_helper() 1104 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedrdlock_timeout_helper() argument 1112 wakeup_arg.clock = clock; 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() argument 1180 wakeup_arg.clock = clock; in pthread_rwlock_timedwrlock_timeout_helper() 1418 clockid_t clock; in TEST() local 1419 ASSERT_EQ(0, pthread_condattr_getclock(&attr, &clock)); in TEST() 1420 ASSERT_EQ(CLOCK_REALTIME, clock); in TEST() [all …]
|
D | semaphore_test.cpp | 104 static void sem_timedwait_helper(clockid_t clock, in sem_timedwait_helper() argument 110 ASSERT_EQ(0, clock_gettime(clock, &ts)); in sem_timedwait_helper()
|
D | time_test.cpp | 754 TEST(time, clock) { in TEST() argument 756 clock_t t0 = clock(); in TEST() 758 clock_t t1 = clock(); in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | scc.h | 127 long clock; member
|
D | kvm.h | 872 __u64 clock; member
|
/bionic/libc/include/ |
D | time.h | 92 clock_t clock(void);
|
/bionic/tests/headers/posix/ |
D | time_h.c | 78 FUNCTION(clock, clock_t (*f)(void)); in time_h()
|
/bionic/libc/kernel/uapi/drm/ |
D | drm_mode.h | 110 __u32 clock; member
|
/bionic/libc/tools/ |
D | posix-2013.txt | 115 clock
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 271 clock;
|
/bionic/libc/ |
D | libc.map.txt | 271 clock;
|
D | Android.bp | 1020 "bionic/clock.cpp",
|