Home
last modified time | relevance | path

Searched defs:TryLock (Results 1 – 25 of 36) 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/try-lock/src/
Dlib.rs65 pub struct TryLock<T> { struct
70 impl<T> TryLock<T> { impl
187 unsafe impl<T: Send> Send for TryLock<T> {} implementation
188 unsafe impl<T: Send> Sync for TryLock<T> {} implementation
190 impl<T: fmt::Debug> fmt::Debug for TryLock<T> { implementation
/external/rust/crates/futures-channel/src/
Dlock.rs24 pub(crate) struct TryLock<'a, T> { struct
25 __ptr: &'a Lock<T>,
61 impl<T> Deref for TryLock<'_, T> { implementation
70 impl<T> DerefMut for TryLock<'_, T> { implementation
81 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/rust/crates/try-lock/
DREADME.md1 # TryLock chapter
/external/webrtc/rtc_base/synchronization/
Dmutex_abseil.h27 ABSL_MUST_USE_RESULT bool TryLock() RTC_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
Dmutex_critical_section.h41 ABSL_MUST_USE_RESULT bool TryLock() RTC_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
Dmutex.h44 ABSL_MUST_USE_RESULT bool TryLock() RTC_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
Dmutex_pthread.h47 ABSL_MUST_USE_RESULT bool TryLock() RTC_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/
Dvalidator_runner.h129 bool TryLock() { 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.h84 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dspinlock.h84 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.h84 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/tensorflow/third_party/absl/abseil-cpp/absl/base/internal/
Dspinlock.h88 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/base/internal/
Dspinlock.h84 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/abseil-cpp/absl/base/internal/
Dspinlock.h92 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/cronet/third_party/abseil-cpp/absl/base/internal/
Dspinlock.h92 inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dspinlock.h92 ABSL_MUST_USE_RESULT inline bool TryLock() in TryLock() function
/external/rust/crates/jni/0.20.0/src/wrapper/
Derrors.rs31 TryLock, enumerator
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h35 bool TryLock() { in TryLock() function
/external/rust/crates/jni/src/wrapper/
Derrors.rs31 TryLock, enumerator
/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/cronet/base/synchronization/
Dlock_unittest.cc118 TEST(LockTest, TryLock) { in TEST() argument

12