/llvm-project/libcxx/src/ |
H A D | mutex.cpp | 34 bool mutex::try_lock() noexcept { return __libcpp_mutex_trylock(&__m_); } in try_lock() function in mutex 70 bool recursive_mutex::try_lock() noexcept { return __libcpp_recursive_mutex_trylock(&__m_); } in try_lock() function in recursive_mutex 85 bool timed_mutex::try_lock() noexcept { in try_lock() function in timed_mutex 121 bool recursive_timed_mutex::try_lock() noexcept { in try_lock() function in recursive_timed_mutex
|
H A D | shared_mutex.cpp | 31 bool __shared_mutex_base::try_lock() { in try_lock() function in __shared_mutex_base 87 bool shared_timed_mutex::try_lock() { return __base_.try_lock(); } try_lock() function in shared_timed_mutex
|
/llvm-project/llvm/lib/Support/ |
H A D | RWMutex.cpp | 32 bool RWMutexImpl::try_lock() { return true; } try_lock() function in RWMutexImpl 120 bool RWMutexImpl::try_lock() { try_lock() function in RWMutexImpl 156 bool RWMutexImpl::try_lock() { try_lock() function in RWMutexImpl
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | Mutex.h | 58 bool try_lock() { in try_lock() function
|
H A D | RWMutex.h | 162 bool try_lock() { return impl.try_lock(); } in try_lock() function
|
/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
H A D | try_lock.pass.cpp | 29 bool try_lock() try_lock() function
|
/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/ |
H A D | mutex.pass.cpp | 28 bool try_lock() { if (locked) return false; locked = true; return true; } in try_lock() function 51 bool try_lock() { in try_lock() function
|
H A D | adopt_lock.pass.cpp | 27 bool try_lock() { if (locked) return false; locked = true; return true; } in try_lock() function
|
/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/ |
H A D | lock.pass.cpp | 42 bool try_lock() in try_lock() function in L0 65 bool try_lock() in try_lock() function in L1 88 bool try_lock() in try_lock() function in L2
|
H A D | try_lock.pass.cpp | 28 bool try_lock() in try_lock() function in L0 46 bool try_lock() in try_lock() function in L1 64 bool try_lock() in try_lock() function in L2
|
/llvm-project/libc/src/__support/threads/linux/ |
H A D | raw_mutex.h | 99 [[nodiscard]] LIBC_INLINE bool try_lock() { try_lock() function
|
H A D | mutex.h | 80 LIBC_INLINE MutexError try_lock() { try_lock() function
|
H A D | rwlock.h | 341 template <Role role> LIBC_INLINE LockResult try_lock(RwState &old) { in try_lock() function
|
/llvm-project/compiler-rt/test/tsan/ |
H A D | deadlock_detector_stress_test.cpp | 43 bool try_lock() { return 0 == pthread_mutex_trylock(&mu_); } in try_lock() function in PthreadMutex 71 bool try_lock() { return 0 == pthread_spin_trylock(&mu_); } in try_lock() function in PthreadSpinLock 95 bool try_lock() { return 0 == pthread_rwlock_trywrlock(&mu_); } in try_lock() function in PthreadRWLock
|
/llvm-project/clang-tools-extra/clangd/support/ |
H A D | Threading.cpp | 45 bool Semaphore::try_lock() { in try_lock() function in clang::clangd::Semaphore
|
/llvm-project/libcxx/include/__mutex/ |
H A D | unique_lock.h | 129 __throw_system_error(EPERM, "unique_lock::try_lock: references null mutex"); in try_lock() function
|
/llvm-project/libc/src/__support/RPC/ |
H A D | rpc.h |
|
/llvm-project/libcxx/test/support/ |
H A D | nasty_containers.h | 327 bool try_lock() TEST_NOEXCEPT { return true; } in try_lock() function
|