Home
last modified time | relevance | path

Searched refs:abs_timeout (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/bionic/
Dbionic_futex.cpp37 const timespec* abs_timeout, int bitset) { in FutexWithTimeout() argument
38 const timespec* futex_abs_timeout = abs_timeout; in FutexWithTimeout()
50 if (abs_timeout && use_realtime_clock) { in FutexWithTimeout()
51 monotonic_time_from_realtime_time(converted_monotonic_abs_timeout, *abs_timeout); in FutexWithTimeout()
62 const timespec* abs_timeout) { in __futex_wait_ex() argument
64 use_realtime_clock, abs_timeout, FUTEX_BITSET_MATCH_ANY); in __futex_wait_ex()
68 const timespec* abs_timeout) { in __futex_pi_lock_ex() argument
70 use_realtime_clock, abs_timeout, 0); in __futex_pi_lock_ex()
Dsemaphore.cpp233 static int __sem_timedwait(sem_t* sem, const timespec* abs_timeout, bool use_realtime_clock) { in __sem_timedwait() argument
244 int result = check_timespec(abs_timeout, false); in __sem_timedwait()
260 use_realtime_clock, abs_timeout); in __sem_timedwait()
270 int sem_timedwait(sem_t* sem, const timespec* abs_timeout) { in sem_timedwait() argument
271 return __sem_timedwait(sem, abs_timeout, true); in sem_timedwait()
274 int sem_timedwait_monotonic_np(sem_t* sem, const timespec* abs_timeout) { in sem_timedwait_monotonic_np() argument
275 return __sem_timedwait(sem, abs_timeout, false); in sem_timedwait_monotonic_np()
Dpthread_cond.cpp214 const timespec* abs_timeout) { in pthread_cond_timedwait_monotonic_np() argument
215 return __pthread_cond_timedwait(__get_internal_cond(cond_interface), mutex, false, abs_timeout); in pthread_cond_timedwait_monotonic_np()
222 const timespec* abs_timeout) { in pthread_cond_timedwait_monotonic() argument
223 return pthread_cond_timedwait_monotonic_np(cond_interface, mutex, abs_timeout); in pthread_cond_timedwait_monotonic()
232 timespec* abs_timeout = nullptr; in pthread_cond_timedwait_relative_np() local
235 abs_timeout = &ts; in pthread_cond_timedwait_relative_np()
237 return __pthread_cond_timedwait(__get_internal_cond(cond_interface), mutex, false, abs_timeout); in pthread_cond_timedwait_relative_np()
Dpthread_rwlock.cpp419 int pthread_rwlock_timedrdlock(pthread_rwlock_t* rwlock_interface, const timespec* abs_timeout) { in pthread_rwlock_timedrdlock() argument
422 return __pthread_rwlock_timedrdlock(rwlock, true, abs_timeout); in pthread_rwlock_timedrdlock()
426 const timespec* abs_timeout) { in pthread_rwlock_timedrdlock_monotonic_np() argument
429 return __pthread_rwlock_timedrdlock(rwlock, false, abs_timeout); in pthread_rwlock_timedrdlock_monotonic_np()
445 int pthread_rwlock_timedwrlock(pthread_rwlock_t* rwlock_interface, const timespec* abs_timeout) { in pthread_rwlock_timedwrlock() argument
448 return __pthread_rwlock_timedwrlock(rwlock, true, abs_timeout); in pthread_rwlock_timedwrlock()
452 const timespec* abs_timeout) { in pthread_rwlock_timedwrlock_monotonic_np() argument
455 return __pthread_rwlock_timedwrlock(rwlock, false, abs_timeout); in pthread_rwlock_timedwrlock_monotonic_np()
Dpthread_mutex.cpp179 const timespec* abs_timeout) { in PIMutexTimedLock() argument
186 ret = -__futex_pi_lock_ex(&mutex.owner_tid, mutex.shared, use_realtime_clock, abs_timeout); in PIMutexTimedLock()
680 const timespec* abs_timeout) { in RecursiveOrErrorcheckMutexWait() argument
687 return __futex_wait_ex(&mutex->state, shared, old_state, use_realtime_clock, abs_timeout); in RecursiveOrErrorcheckMutexWait()
697 use_realtime_clock, abs_timeout); in RecursiveOrErrorcheckMutexWait()
942 timespec abs_timeout; in pthread_mutex_lock_timeout_np() local
943 absolute_timespec_from_timespec(abs_timeout, ts, CLOCK_MONOTONIC); in pthread_mutex_lock_timeout_np()
945 &abs_timeout); in pthread_mutex_lock_timeout_np()
954 const timespec* abs_timeout, const char* function) { in __pthread_mutex_timedlock() argument
966 return PIMutexTimedLock(mutex->ToPIMutex(), use_realtime_clock, abs_timeout); in __pthread_mutex_timedlock()
[all …]
/bionic/libc/private/
Dbionic_futex.h71 bool use_realtime_clock, const timespec* abs_timeout);
78 const timespec* abs_timeout);