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_detach.cpp | 40 ThreadJoinState old_state = THREAD_NOT_JOINED; in pthread_detach() local
|
D | pthread_mutex.cpp | 280 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
|
D | pthread_rwlock.cpp | 263 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
|
D | pthread_join.cpp | 44 ThreadJoinState old_state = THREAD_NOT_JOINED; in pthread_join() local
|
D | pthread_exit.cpp | 94 ThreadJoinState old_state = THREAD_NOT_JOINED; in pthread_exit() local
|
D | pthread_cond.cpp | 180 unsigned int old_state = atomic_load_explicit(&cond->state, memory_order_relaxed); in __pthread_cond_timedwait() local
|
/bionic/libc/stdio/ |
D | stdio_ext.cpp | 79 int old_state = _EXT(fp)->_caller_handles_locking ? FSETLOCKING_BYCALLER : FSETLOCKING_INTERNAL; in __fsetlocking() local
|
/bionic/tests/ |
D | stdio_ext_test.cpp | 153 int old_state = __fsetlocking(stdout, FSETLOCKING_BYCALLER); in TEST() local
|