Home
last modified time | relevance | path

Searched refs:try_lock_shared (Results 1 – 23 of 23) 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/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
Dtry_lock_shared.pass.cpp53 assert(!m.try_lock_shared()); in f()
54 assert(!m.try_lock_shared()); in f()
55 assert(!m.try_lock_shared()); in f()
56 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/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dtry_lock_shared.pass.cpp53 assert(!m.try_lock_shared()); in f()
54 assert(!m.try_lock_shared()); in f()
55 assert(!m.try_lock_shared()); in f()
56 while(!m.try_lock_shared()) in f()
Dtry_lock_until_deadlock_bug.pass.cpp45 while (m.try_lock_shared()) { in blocked_reader()
/external/cronet/buildtools/third_party/libc++/trunk/src/
Dshared_mutex.cpp74 __shared_mutex_base::try_lock_shared() in try_lock_shared() function in __shared_mutex_base
115 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/cronet/buildtools/third_party/libc++/trunk/include/
Dshared_mutex37 bool try_lock_shared();
64 bool try_lock_shared();
181 bool try_lock_shared() _LIBCPP_THREAD_SAFETY_ANNOTATION(try_acquire_shared_capability(true));
207 _LIBCPP_INLINE_VISIBILITY bool try_lock_shared() { return __base_.try_lock_shared(); }
244 bool try_lock_shared();
351 __owns_(__m.try_lock_shared())
466 __owns_ = __m_->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/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock.pass.cpp31 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/tsl/platform/default/
Dmutex.h44 inline bool mutex::try_lock_shared() TF_SHARED_TRYLOCK_FUNCTION(true) { in try_lock_shared() function
Dmutex.cc51 bool mutex::try_lock_shared() { in try_lock_shared() function in tensorflow::mutex
/external/rust/crates/lock_api/src/
Drwlock.rs53 fn try_lock_shared(&self) -> bool; in try_lock_shared() method
90 let acquired_lock = self.try_lock_shared(); in is_locked_exclusive()
462 if self.raw.try_lock_shared() { in try_read()
629 if self.raw.try_lock_shared() { in try_read_arc()
/external/libcxx/test/support/
Dnasty_containers.hpp309 bool try_lock_shared() { return true; } in try_lock_shared() function in nasty_mutex
/external/cronet/buildtools/third_party/libc++/trunk/test/support/
Dnasty_containers.h310 bool try_lock_shared() { return true; } in try_lock_shared() function
/external/rust/crates/parking_lot/src/
Draw_rwlock.rs116 fn try_lock_shared(&self) -> bool { in try_lock_shared() method
/external/rust/crates/spin/src/
Drwlock.rs836 fn try_lock_shared(&self) -> bool { in try_lock_shared() method
/external/skia/vma_android/include/
Dvk_mem_alloc.h2852 bool TryLockRead() { return m_Mutex.try_lock_shared(); } in TryLockRead()
/external/angle/third_party/vulkan_memory_allocator/include/
Dvk_mem_alloc.h2668 bool TryLockRead() { return m_Mutex.try_lock_shared(); } in TryLockRead()