Home
last modified time | relevance | path

Searched defs:old_state (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/private/
Dbionic_lock.h54 LockState old_state = Unlocked; in trylock() local
60 LockState old_state = Unlocked; in lock() local
/bionic/libc/bionic/
Dpthread_rwlock.cpp264 static inline __always_inline bool __can_acquire_read_lock(int old_state, in __can_acquire_read_lock()
274 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); in __pthread_rwlock_tryrdlock() local
306 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); in __pthread_rwlock_timedrdlock() local
344 static inline __always_inline bool __can_acquire_write_lock(int old_state) { in __can_acquire_write_lock()
349 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); in __pthread_rwlock_trywrlock() local
377 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); in __pthread_rwlock_timedwrlock() local
490 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); in pthread_rwlock_unlock() local
Dpthread_mutex.cpp560 uint16_t old_state = unlocked; in NormalMutexTryLock() local
669 uint16_t old_state) { in RecursiveIncrement()
687 uint16_t old_state, in RecursiveOrErrorcheckMutexWait()
713 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); in MutexLockWithTimeout() local
819 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); in pthread_mutex_lock() local
853 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); in pthread_mutex_unlock() local
903 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); in pthread_mutex_trylock() local
967 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); in __pthread_mutex_timedlock() local
1003 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); in pthread_mutex_clocklock() local
1014 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); in pthread_mutex_destroy() local
Dpthread_detach.cpp42 ThreadJoinState old_state = THREAD_NOT_JOINED; in pthread_detach() local
Dpthread_join.cpp48 ThreadJoinState old_state = THREAD_NOT_JOINED; in pthread_join() local
Dpthread_exit.cpp102 ThreadJoinState old_state = THREAD_NOT_JOINED; in pthread_exit() local
Dpthread_cond.cpp191 unsigned int old_state = atomic_load_explicit(&cond->state, memory_order_relaxed); in __pthread_cond_timedwait() local
/bionic/libc/stdio/
Dstdio_ext.cpp86 int old_state = _EXT(fp)->_caller_handles_locking ? FSETLOCKING_BYCALLER : FSETLOCKING_INTERNAL; in __fsetlocking() local
/bionic/tests/
Dstdio_ext_test.cpp246 int old_state = __fsetlocking(stdout, FSETLOCKING_BYCALLER); in TEST() local