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_detach.cpp40 ThreadJoinState old_state = THREAD_NOT_JOINED; in pthread_detach() local
Dpthread_mutex.cpp280 uint16_t old_state = unlocked; in __pthread_normal_mutex_trylock() local
380 uint16_t old_state) { in __recursive_increment()
398 uint16_t old_state, in __recursive_or_errorcheck_mutex_wait()
424 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); in __pthread_mutex_lock_with_timeout() local
512 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); in pthread_mutex_lock() local
533 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); in pthread_mutex_unlock() local
577 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); in pthread_mutex_trylock() local
636 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); in pthread_mutex_destroy() local
Dpthread_rwlock.cpp263 static inline __always_inline bool __can_acquire_read_lock(int old_state, in __can_acquire_read_lock()
273 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
378 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); in __pthread_rwlock_timedwrlock() local
453 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); in pthread_rwlock_unlock() local
Dpthread_join.cpp44 ThreadJoinState old_state = THREAD_NOT_JOINED; in pthread_join() local
Dpthread_exit.cpp94 ThreadJoinState old_state = THREAD_NOT_JOINED; in pthread_exit() local
Dpthread_cond.cpp180 unsigned int old_state = atomic_load_explicit(&cond->state, memory_order_relaxed); in __pthread_cond_timedwait() local
/bionic/libc/stdio/
Dstdio_ext.cpp79 int old_state = _EXT(fp)->_caller_handles_locking ? FSETLOCKING_BYCALLER : FSETLOCKING_INTERNAL; in __fsetlocking() local
/bionic/tests/
Dstdio_ext_test.cpp153 int old_state = __fsetlocking(stdout, FSETLOCKING_BYCALLER); in TEST() local