Home
last modified time | relevance | path

Searched refs:try_lock_shared (Results 1 – 22 of 22) sorted by relevance

/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
Dtry_lock_shared.pass.cpp38 assert(!m.try_lock_shared()); in f()
39 assert(!m.try_lock_shared()); in f()
40 assert(!m.try_lock_shared()); in f()
41 while(!m.try_lock_shared()) in f()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
Dtry_lock_shared.pass.cpp45 assert(!m.try_lock_shared()); in f()
46 assert(!m.try_lock_shared()); in f()
47 assert(!m.try_lock_shared()); in f()
48 while(!m.try_lock_shared()) in f()
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dtry_lock_shared.pass.cpp47 assert(!m.try_lock_shared()); in f()
48 assert(!m.try_lock_shared()); in f()
49 assert(!m.try_lock_shared()); in f()
50 while(!m.try_lock_shared()) in f()
Dtry_lock_until_deadlock_bug.pass.cpp41 while (m.try_lock_shared()) { in blocked_reader()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dtry_lock_shared.pass.cpp52 assert(!m.try_lock_shared()); in f()
53 assert(!m.try_lock_shared()); in f()
54 assert(!m.try_lock_shared()); in f()
55 while(!m.try_lock_shared()) in f()
Dtry_lock_until_deadlock_bug.pass.cpp48 while (m.try_lock_shared()) { in blocked_reader()
/external/llvm-project/libcxx/src/
Dshared_mutex.cpp72 __shared_mutex_base::try_lock_shared() in try_lock_shared() function in __shared_mutex_base
113 bool shared_timed_mutex::try_lock_shared() { return __base.try_lock_shared(); } in try_lock_shared() function in shared_timed_mutex
/external/libcxx/src/
Dshared_mutex.cpp70 __shared_mutex_base::try_lock_shared() in try_lock_shared() function in __shared_mutex_base
111 bool shared_timed_mutex::try_lock_shared() { return __base.try_lock_shared(); } in try_lock_shared() function in shared_timed_mutex
/external/icing/icing/absl_ports/
Dmutex.h38 bool try_lock_shared() ICING_SHARED_TRYLOCK_FUNCTION(true) { in try_lock_shared() function
39 return m_.try_lock_shared(); in try_lock_shared()
/external/libcxx/include/
Dshared_mutex38 bool try_lock_shared();
65 bool try_lock_shared();
171 bool try_lock_shared() _LIBCPP_THREAD_SAFETY_ANNOTATION(try_acquire_shared_capability(true));
197 _LIBCPP_INLINE_VISIBILITY bool try_lock_shared() { return __base.try_lock_shared(); }
234 bool try_lock_shared();
341 __owns_(__m.try_lock_shared())
455 __owns_ = __m_->try_lock_shared();
/external/llvm-project/libcxx/include/
Dshared_mutex37 bool try_lock_shared();
64 bool try_lock_shared();
171 bool try_lock_shared() _LIBCPP_THREAD_SAFETY_ANNOTATION(try_acquire_shared_capability(true));
197 _LIBCPP_INLINE_VISIBILITY bool try_lock_shared() { return __base.try_lock_shared(); }
234 bool try_lock_shared();
341 __owns_(__m.try_lock_shared())
455 __owns_ = __m_->try_lock_shared();
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock.pass.cpp29 bool try_lock_shared() in try_lock_shared() function
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock.pass.cpp28 bool try_lock_shared() in try_lock_shared() function
/external/tensorflow/tensorflow/core/platform/
Dmutex.h63 bool try_lock_shared() TF_SHARED_TRYLOCK_FUNCTION(true);
196 if (!mu.try_lock_shared()) { in tf_shared_lock()
/external/tensorflow/tensorflow/core/platform/default/
Dmutex.cc51 bool mutex::try_lock_shared() { in try_lock_shared() function in tensorflow::mutex
/external/libcxx/test/support/
Dnasty_containers.hpp309 bool try_lock_shared() { return true; } in try_lock_shared() function in nasty_mutex
/external/llvm-project/libcxx/test/support/
Dnasty_containers.h308 bool try_lock_shared() { return true; } in try_lock_shared() function
/external/rust/crates/lock_api/src/
Drwlock.rs46 fn try_lock_shared(&self) -> bool; in try_lock_shared() method
443 if self.raw.try_lock_shared() { in try_read()
/external/rust/crates/parking_lot/src/
Draw_rwlock.rs117 fn try_lock_shared(&self) -> bool { in try_lock_shared() method
/external/rust/crates/spin/src/
Drw_lock.rs756 fn try_lock_shared(&self) -> bool { in try_lock_shared() method
/external/angle/third_party/vulkan_memory_allocator/src/
Dvk_mem_alloc.h4098 bool TryLockRead() { return m_Mutex.try_lock_shared(); } in TryLockRead()
/external/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h4079 bool TryLockRead() { return m_Mutex.try_lock_shared(); } in TryLockRead()