Home
last modified time | relevance | path

Searched defs:try_lock (Results 1 – 25 of 200) sorted by relevance

12345678

/aosp_15_r20/external/sdv/vsomeip/third_party/boost/thread/include/boost/thread/
Dlock_algorithms.hpp314 typename detail::try_lock_impl_return<MutexType1>::type try_lock(MutexType1& m1, MutexType2& m2) in try_lock() function
320 …typename detail::try_lock_impl_return<MutexType1>::type try_lock(const MutexType1& m1, MutexType2&… in try_lock() function
326 …typename detail::try_lock_impl_return<MutexType1>::type try_lock(MutexType1& m1, const MutexType2&… in try_lock() function
332 …typename detail::try_lock_impl_return<MutexType1>::type try_lock(const MutexType1& m1, const Mutex… in try_lock() function
338 int try_lock(MutexType1& m1, MutexType2& m2, MutexType3& m3) in try_lock() function
344 int try_lock(MutexType1& m1, MutexType2& m2, MutexType3& m3, MutexType4& m4) in try_lock() function
350 int try_lock(MutexType1& m1, MutexType2& m2, MutexType3& m3, MutexType4& m4, MutexType5& m5) in try_lock() function
Dlock_types.hpp349 bool try_lock() in try_lock() function in boost::unique_lock
648 bool try_lock() in try_lock() function in boost::shared_lock
947 bool try_lock() in try_lock() function in boost::upgrade_lock
1182 bool try_lock() in try_lock() function in boost::detail::try_lock_wrapper
Dexternally_locked.hpp180 bool try_lock() in try_lock() function in boost::externally_locked
330 bool try_lock() in try_lock() function in boost::externally_locked
/aosp_15_r20/external/cronet/third_party/libc++/src/src/
H A Dmutex.cpp34 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 Dshared_mutex.cpp31 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(); } in try_lock() function in shared_timed_mutex
/aosp_15_r20/external/libcxx/src/
H A Dmutex.cpp37 mutex::try_lock() _NOEXCEPT in try_lock() function in mutex
83 recursive_mutex::try_lock() _NOEXCEPT in try_lock() function in recursive_mutex
110 timed_mutex::try_lock() _NOEXCEPT in try_lock() function in timed_mutex
161 recursive_timed_mutex::try_lock() _NOEXCEPT in try_lock() function in recursive_timed_mutex
H A Dshared_mutex.cpp37 __shared_mutex_base::try_lock() in try_lock() function in __shared_mutex_base
108 bool shared_timed_mutex::try_lock() { return __base.try_lock(); } in try_lock() function in shared_timed_mutex
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/thread/include/boost/thread/pthread/
Drecursive_mutex.hpp116 bool try_lock() BOOST_NOEXCEPT in try_lock() function in boost::recursive_mutex
158 bool try_lock() in try_lock() function in boost::recursive_mutex
281 bool try_lock() in try_lock() function in boost::recursive_timed_mutex
Dmutex.hpp73 bool try_lock() BOOST_THREAD_TRY_ACQUIRE(true) in try_lock() function in boost::mutex
182 bool try_lock() in try_lock() function in boost::timed_mutex
/aosp_15_r20/external/rust/android-crates-io/crates/spin/src/mutex/
Dfair.rs265 pub fn try_lock(&self) -> Option<FairMutexGuard<T>> { in try_lock() method
500 pub fn try_lock(self) -> Result<FairMutexGuard<'a, T>, Self> { in try_lock() method
563 fn try_lock(&self) -> bool { in try_lock() method
636 fn try_lock() { in try_lock() function
Dspin.rs237 pub fn try_lock(&self) -> Option<SpinMutexGuard<T>> { in try_lock() method
365 fn try_lock(&self) -> bool { in try_lock() method
443 fn try_lock() { in try_lock() function
Dticket.rs245 pub fn try_lock(&self) -> Option<TicketMutexGuard<T>> { in try_lock() method
365 fn try_lock(&self) -> bool { in try_lock() method
438 fn try_lock() { in try_lock() function
/aosp_15_r20/external/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/
H A Dlock.pass.cpp39 bool try_lock() in try_lock() function in L0
62 bool try_lock() in try_lock() function in L1
85 bool try_lock() in try_lock() function in L2
H A Dtry_lock.pass.cpp29 bool try_lock() in try_lock() function in L0
47 bool try_lock() in try_lock() function in L1
65 bool try_lock() in try_lock() function in L2
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/thread/thread.mutex/thread.lock.algorithm/
H A Dlock.pass.cpp42 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 Dtry_lock.pass.cpp28 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
/aosp_15_r20/external/compiler-rt/test/tsan/
H A Ddeadlock_detector_stress_test.cc43 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
/aosp_15_r20/system/media/audio_utils/benchmarks/
H A Daudio_mutex_benchmark.cpp309 bool try_lock() { return tryReadLock() == 0; } in try_lock() function in RWReadMutex
317 bool try_lock() { return tryWriteLock() == 0; } in try_lock() function in RWWriteMutex
332 bool try_lock() { return std::shared_mutex::try_lock_shared(); } in try_lock() function in SharedReadMutex
/aosp_15_r20/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
H A Dmutex.pass.cpp29 bool try_lock() { if (locked) return false; locked = true; return true; } in try_lock() function
52 bool try_lock() { in try_lock() function
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
H A Dmutex.pass.cpp28 bool try_lock() { if (locked) return false; locked = true; return true; } in try_lock() function
51 bool try_lock() { in try_lock() function
/aosp_15_r20/external/rust/android-crates-io/crates/spin/src/
Dmutex.rs230 pub fn try_lock(&self) -> Option<MutexGuard<T>> { in try_lock() method
328 fn try_lock(&self) -> bool { in try_lock() method
/aosp_15_r20/external/rust/android-crates-io/crates/parking_lot/src/
Draw_rwlock.rs613 let try_lock = |state: &mut usize| { in lock_exclusive_slow() localVariable
677 let try_lock = |state: &mut usize| { in lock_shared_slow() localVariable
744 let try_lock = |state: &mut usize| { in lock_upgradable_slow() localVariable
/aosp_15_r20/external/rust/android-crates-io/crates/tracing-subscriber/src/
Dmacros.rs2 macro_rules! try_lock { macro
/aosp_15_r20/external/pigweed/pw_sync_freertos/public/pw_sync_freertos/
H A Dinterrupt_spin_lock_inline.h28 inline bool InterruptSpinLock::try_lock() { in try_lock() function
/aosp_15_r20/external/pigweed/pw_sync_threadx/public/pw_sync_threadx/
H A Dinterrupt_spin_lock_inline.h30 inline bool InterruptSpinLock::try_lock() { in try_lock() function

12345678