Home
last modified time | relevance | path

Searched defs:TryLock (Results 1 – 25 of 33) sorted by relevance

12

/external/rust/crates/tokio/src/util/
Dtry_lock.rs8 pub(crate) struct TryLock<T> { struct
14 lock: &'a TryLock<T>, argument
18 unsafe impl<T: Send> Send for TryLock<T> {} implementation
19 unsafe impl<T: Send> Sync for TryLock<T> {} implementation
32 impl<T> TryLock<T> { impl
/external/rust/crates/futures-channel/src/
Dlock.rs24 pub(crate) struct TryLock<'a, T> { struct
25 __ptr: &'a Lock<T>,
64 impl<T> Deref for TryLock<'_, T> { implementation
73 impl<T> DerefMut for TryLock<'_, T> { implementation
84 impl<T> Drop for TryLock<'_, T> { implementation
/external/gflags/src/
Dmutex.h225 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } in TryLock() function
244 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function
268 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function
293 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function
/external/webrtc/rtc_base/synchronization/
Dmutex_abseil.h26 RTC_WARN_UNUSED_RESULT bool TryLock() RTC_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
Dmutex_critical_section.h40 RTC_WARN_UNUSED_RESULT bool TryLock() RTC_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
Dmutex_pthread.h42 RTC_WARN_UNUSED_RESULT bool TryLock() RTC_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
Dmutex.h48 RTC_WARN_UNUSED_RESULT bool TryLock() RTC_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/llvm-project/lldb/include/lldb/Host/
DProcessRunLock.h43 bool TryLock(ProcessRunLock *lock) { in TryLock() function
/external/llvm-project/compiler-rt/test/tsan/
Dcustom_mutex.h27 bool TryLock() { in TryLock() function
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc75 bool MutexImpl::TryLock() { in TryLock() function in absl::synchronization_internal::MutexImpl
134 bool MutexImpl::TryLock() { in TryLock() function in absl::synchronization_internal::MutexImpl
207 bool Mutex::TryLock() { return impl()->TryLock(); } in TryLock() function in absl::Mutex
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc70 bool MutexImpl::TryLock() { in TryLock() function in absl::synchronization_internal::MutexImpl
129 bool MutexImpl::TryLock() { in TryLock() function in absl::synchronization_internal::MutexImpl
202 bool Mutex::TryLock() { return impl()->TryLock(); } in TryLock() function in absl::Mutex
/external/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc70 bool MutexImpl::TryLock() { in TryLock() function in absl::synchronization_internal::MutexImpl
129 bool MutexImpl::TryLock() { in TryLock() function in absl::synchronization_internal::MutexImpl
202 bool Mutex::TryLock() { return impl()->TryLock(); } in TryLock() function in absl::Mutex
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dspinlock.h86 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dspinlock.h89 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dspinlock.h89 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dspinlock.h89 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dspinlock.h95 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/abseil-cpp/absl/base/internal/
Dspinlock.h95 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h35 bool TryLock() { in TryLock() function
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h34 bool TryLock() { in TryLock() function
/external/llvm-project/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_posix.cpp150 bool Mutex::TryLock() { in TryLock() function in Mutex
458 bool ScopedThread::TryLock(const Mutex &m) { in TryLock() function in ScopedThread
/external/sfntly/cpp/src/test/
Dlock_test.cc237 TEST(LockTest, TryLock) { in TEST() argument
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_posix.cc194 bool Mutex::TryLock() { in TryLock() function in Mutex
482 bool ScopedThread::TryLock(const Mutex &m) { in TryLock() function in ScopedThread
/external/libchrome/base/synchronization/
Dlock_unittest.cc113 TEST(LockTest, TryLock) { in TEST() argument
/external/toolchain-utils/
Dfile_lock_machine.py298 def TryLock(self, timeout=300, exclusive=False, reason=''): member in Machine

12