Searched defs:old_state (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/private/ |
D | bionic_lock.h | 54 LockState old_state = Unlocked; in trylock() local 60 LockState old_state = Unlocked; in lock() local
|
/bionic/libc/bionic/ |
D | pthread_rwlock.cpp | 264 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
|
D | pthread_mutex.cpp | 560 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
|
D | pthread_detach.cpp | 42 ThreadJoinState old_state = THREAD_NOT_JOINED; in pthread_detach() local
|
D | pthread_join.cpp | 48 ThreadJoinState old_state = THREAD_NOT_JOINED; in pthread_join() local
|
D | pthread_exit.cpp | 102 ThreadJoinState old_state = THREAD_NOT_JOINED; in pthread_exit() local
|
D | pthread_cond.cpp | 191 unsigned int old_state = atomic_load_explicit(&cond->state, memory_order_relaxed); in __pthread_cond_timedwait() local
|
/bionic/libc/stdio/ |
D | stdio_ext.cpp | 86 int old_state = _EXT(fp)->_caller_handles_locking ? FSETLOCKING_BYCALLER : FSETLOCKING_INTERNAL; in __fsetlocking() local
|
/bionic/tests/ |
D | stdio_ext_test.cpp | 246 int old_state = __fsetlocking(stdout, FSETLOCKING_BYCALLER); in TEST() local
|