/bionic/libc/bionic/ |
H A D | bionic_futex.cpp | 37 const timespec* abs_timeout, int bitset) { 38 const timespec* futex_abs_timeout = abs_timeout; 50 if (abs_timeout && use_realtime_clock) { 51 monotonic_time_from_realtime_time(converted_monotonic_abs_timeout, *abs_timeout); 62 const timespec* abs_timeout) { 64 use_realtime_clock, abs_timeout, FUTEX_BITSET_MATCH_ANY); 68 const timespec* abs_timeout) { 70 use_realtime_clock, abs_timeout, 0); 35 FutexWithTimeout(volatile void* ftx, int op, int value, bool use_realtime_clock, const timespec* abs_timeout, int bitset) argument 61 __futex_wait_ex(volatile void* ftx, bool shared, int value, bool use_realtime_clock, const timespec* abs_timeout) argument 67 __futex_pi_lock_ex(volatile void* ftx, bool shared, bool use_realtime_clock, const timespec* abs_timeout) argument
|
H A D | semaphore.cpp | 234 static int __sem_timedwait(sem_t* sem, const timespec* abs_timeout, bool use_realtime_clock) { argument 245 int result = check_timespec(abs_timeout, false); 261 use_realtime_clock, abs_timeout); 271 int sem_timedwait(sem_t* sem, const timespec* abs_timeout) { argument 272 return __sem_timedwait(sem, abs_timeout, true); 275 int sem_timedwait_monotonic_np(sem_t* sem, const timespec* abs_timeout) { argument 276 return __sem_timedwait(sem, abs_timeout, false);
|
H A D | pthread_cond.cpp | 214 const timespec* abs_timeout) { 215 return __pthread_cond_timedwait(__get_internal_cond(cond_interface), mutex, false, abs_timeout); 222 const timespec* abs_timeout) { 223 return pthread_cond_timedwait_monotonic_np(cond_interface, mutex, abs_timeout); 232 timespec* abs_timeout = nullptr; local 235 abs_timeout = &ts; 237 return __pthread_cond_timedwait(__get_internal_cond(cond_interface), mutex, false, abs_timeout); 212 pthread_cond_timedwait_monotonic_np(pthread_cond_t* cond_interface, pthread_mutex_t* mutex, const timespec* abs_timeout) argument 220 pthread_cond_timedwait_monotonic(pthread_cond_t* cond_interface, pthread_mutex_t* mutex, const timespec* abs_timeout) argument
|
H A D | pthread_rwlock.cpp | 419 int pthread_rwlock_timedrdlock(pthread_rwlock_t* rwlock_interface, const timespec* abs_timeout) { argument 422 return __pthread_rwlock_timedrdlock(rwlock, true, abs_timeout); 426 const timespec* abs_timeout) { 429 return __pthread_rwlock_timedrdlock(rwlock, false, abs_timeout); 445 int pthread_rwlock_timedwrlock(pthread_rwlock_t* rwlock_interface, const timespec* abs_timeout) { argument 448 return __pthread_rwlock_timedwrlock(rwlock, true, abs_timeout); 452 const timespec* abs_timeout) { 455 return __pthread_rwlock_timedwrlock(rwlock, false, abs_timeout); 425 pthread_rwlock_timedrdlock_monotonic_np(pthread_rwlock_t* rwlock_interface, const timespec* abs_timeout) argument 451 pthread_rwlock_timedwrlock_monotonic_np(pthread_rwlock_t* rwlock_interface, const timespec* abs_timeout) argument
|
H A D | pthread_mutex.cpp | 180 const timespec* abs_timeout) { 187 ret = -__futex_pi_lock_ex(&mutex.owner_tid, mutex.shared, use_realtime_clock, abs_timeout); 679 const timespec* abs_timeout) { 686 return __futex_wait_ex(&mutex->state, shared, old_state, use_realtime_clock, abs_timeout); 696 use_realtime_clock, abs_timeout); 941 timespec abs_timeout; local 942 absolute_timespec_from_timespec(abs_timeout, ts, CLOCK_MONOTONIC); 944 &abs_timeout); 953 const timespec* abs_timeout, const char* function) { 965 return PIMutexTimedLock(mutex->ToPIMutex(), use_realtime_clock, abs_timeout); 178 PIMutexTimedLock(PIMutex& mutex, bool use_realtime_clock, const timespec* abs_timeout) argument 675 RecursiveOrErrorcheckMutexWait(pthread_mutex_internal_t* mutex, uint16_t shared, uint16_t old_state, bool use_realtime_clock, const timespec* abs_timeout) argument 952 __pthread_mutex_timedlock(pthread_mutex_t* mutex_interface, bool use_realtime_clock, const timespec* abs_timeout, const char* function) argument 973 pthread_mutex_timedlock(pthread_mutex_t* mutex_interface, const struct timespec* abs_timeout) argument 977 pthread_mutex_timedlock_monotonic_np(pthread_mutex_t* mutex_interface, const struct timespec* abs_timeout) argument [all...] |