Home
last modified time | relevance | path

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

12

/external/rust/android-crates-io/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/android-crates-io/crates/try-lock/src/
Dlib.rs63 pub struct TryLock<T> { struct
68 impl<T> TryLock<T> { implementation
185 unsafe impl<T: Send> Send for TryLock<T> {} implementation
186 unsafe impl<T: Send> Sync for TryLock<T> {} implementation
188 impl<T: fmt::Debug> fmt::Debug for TryLock<T> { implementation
/external/rust/android-crates-io/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/android-crates-io/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/rust/android-crates-io/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/angle/third_party/abseil-cpp/absl/base/internal/
Dspinlock.h92 [[nodiscard]] inline bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { in TryLock() function
/external/cronet/stable/third_party/abseil-cpp/absl/base/internal/
Dspinlock.h92 ABSL_MUST_USE_RESULT inline bool TryLock() in TryLock() function
/external/abseil-cpp/absl/base/internal/
Dspinlock.h92 ABSL_MUST_USE_RESULT inline bool TryLock() in TryLock() function
/external/cronet/tot/third_party/abseil-cpp/absl/base/internal/
Dspinlock.h92 ABSL_MUST_USE_RESULT inline bool TryLock() in TryLock() function
/external/rust/android-crates-io/extra_versions/crates/jni/src/wrapper/
Derrors.rs31 TryLock, enumerator
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h35 bool TryLock() { in TryLock() function
/external/rust/android-crates-io/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/tot/base/synchronization/
Dlock_unittest.cc126 TEST(LockTest, TryLock) { in TEST() argument
/external/cronet/stable/base/synchronization/
Dlock_unittest.cc126 TEST(LockTest, TryLock) { in TEST() argument
/external/angle/third_party/abseil-cpp/absl/synchronization/
Dmutex.cc1609 bool Mutex::TryLock() { in TryLock() function in absl::Mutex
/external/cronet/tot/third_party/abseil-cpp/absl/synchronization/
Dmutex.cc1609 bool Mutex::TryLock() { in TryLock() function in absl::Mutex

12