Home
last modified time | relevance | path

Searched defs:MutexGuard (Results 1 – 19 of 19) sorted by relevance

/external/rust/android-crates-io/crates/tracing-core/src/spin/
Dmutex.rs20 pub(crate) struct MutexGuard<'a, T: ?Sized> { struct
21 lock: &'a AtomicBool,
22 data: &'a mut T,
100 impl<'a, T: ?Sized> Deref for MutexGuard<'a, T> { implementation
107 impl<'a, T: ?Sized> DerefMut for MutexGuard<'a, T> { implementation
113 impl<'a, T: ?Sized> Drop for MutexGuard<'a, T> { implementation
/external/rust/android-crates-io/crates/spin/src/
Dmutex.rs127 pub struct MutexGuard<'a, T: 'a + ?Sized> { struct
128 inner: InnerMutexGuard<'a, T>, argument
273 impl<'a, T: ?Sized> MutexGuard<'a, T> { implementation
292 impl<'a, T: ?Sized + fmt::Debug> fmt::Debug for MutexGuard<'a, T> { implementation
298 impl<'a, T: ?Sized + fmt::Display> fmt::Display for MutexGuard<'a, T> { implementation
304 impl<'a, T: ?Sized> Deref for MutexGuard<'a, T> { implementation
311 impl<'a, T: ?Sized> DerefMut for MutexGuard<'a, T> { implementation
Dlib.rs175 pub type MutexGuard<'a, T> = lock_api_crate::MutexGuard<'a, crate::Mutex<()>, T>; typedef
/external/pigweed/pw_kernel/kernel/sync/
Dmutex.rs38 pub struct MutexGuard<'lock, T> { struct
42 impl<T> Deref for MutexGuard<'_, T> { argument
50 impl<T> DerefMut for MutexGuard<'_, T> { implementation
56 impl<T> Drop for MutexGuard<'_, T> { implementation
/external/trusty/lk/lib/rust_support/
Dsync.rs130 pub struct MutexGuard<'a, T: ?Sized> { struct
135 pub fn lock(&self) -> MutexGuard<'_, T> { in lock() argument
143 impl<T: ?Sized> Drop for MutexGuard<'_, T> { implementation
151 impl<T: ?Sized> Deref for MutexGuard<'_, T> { implementation
160 impl<T: ?Sized> DerefMut for MutexGuard<'_, T> { implementation
/external/rust/android-crates-io/crates/lock_api/src/
Dmutex.rs504 pub struct MutexGuard<'a, R: RawMutex, T: ?Sized> { struct
509 unsafe impl<'a, R: RawMutex + Sync + 'a, T: ?Sized + Sync + 'a> Sync for MutexGuard<'a, R, T> {} argument
511 impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> MutexGuard<'a, R, T> { impl
596 impl<'a, R: RawMutexFair + 'a, T: ?Sized + 'a> MutexGuard<'a, R, T> { impl
651 impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> Deref for MutexGuard<'a, R, T> { implementation
659 impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> DerefMut for MutexGuard<'a, R, T> { implementation
666 impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> Drop for MutexGuard<'a, R, T> { implementation
676 impl<'a, R: RawMutex + 'a, T: fmt::Debug + ?Sized + 'a> fmt::Debug for MutexGuard<'a, R, T> { implementation
682 impl<'a, R: RawMutex + 'a, T: fmt::Display + ?Sized + 'a> fmt::Display for MutexGuard<'a, R, T> { implementation
689 unsafe impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> StableAddress for MutexGuard<'a, R, T> {} implementation
/external/rust/android-crates-io/crates/futures-util/src/lock/
Dmutex.rs388 pub struct MutexGuard<'a, T: ?Sized> { struct
392 impl<'a, T: ?Sized> MutexGuard<'a, T> { argument
422 impl<T: ?Sized + fmt::Debug> fmt::Debug for MutexGuard<'_, T> { implementation
428 impl<T: ?Sized> Drop for MutexGuard<'_, T> { implementation
434 impl<T: ?Sized> Deref for MutexGuard<'_, T> { implementation
441 impl<T: ?Sized> DerefMut for MutexGuard<'_, T> { implementation
535 unsafe impl<T: ?Sized + Send> Send for MutexGuard<'_, T> {} implementation
536 unsafe impl<T: ?Sized + Sync> Sync for MutexGuard<'_, T> {} implementation
/external/rust/android-crates-io/crates/tokio/src/sync/
Dmutex.rs151 pub struct MutexGuard<'a, T: ?Sized> { struct
162 /// is identical to `MutexGuard`, except that rather than borrowing the `Mutex`, argument
260 unsafe impl<T> Sync for MutexGuard<'_, T> where T: ?Sized + Send + Sync {} implementation
825 impl<'a, T: ?Sized> MutexGuard<'a, T> { impl
963 impl<T: ?Sized> Drop for MutexGuard<'_, T> { implementation
977 impl<T: ?Sized> Deref for MutexGuard<'_, T> { implementation
984 impl<T: ?Sized> DerefMut for MutexGuard<'_, T> { implementation
990 impl<T: ?Sized + fmt::Debug> fmt::Debug for MutexGuard<'_, T> { implementation
996 impl<T: ?Sized + fmt::Display> fmt::Display for MutexGuard<'_, T> { implementation
/external/rust/android-crates-io/crates/tokio/src/loom/std/
Dparking_lot.rs31 pub(crate) struct MutexGuard<'a, T: ?Sized>( struct
81 impl<'a, T: ?Sized> Deref for MutexGuard<'a, T> { implementation
88 impl<'a, T: ?Sized> DerefMut for MutexGuard<'a, T> { implementation
175 impl<'a, T: ?Sized + fmt::Display> fmt::Display for MutexGuard<'a, T> { implementation
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMutexGuard.h32 MutexGuard(sys::Mutex &m) : M(m) { M.lock(); } in MutexGuard() function
/external/llvm/include/llvm/Support/
DMutexGuard.h32 MutexGuard(sys::Mutex &m) : M(m) { M.lock(); } in MutexGuard() function
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/regex-automata-0.4.9/src/util/
Dpool.rs1012 struct MutexGuard<'a, T> { struct
1013 locked: &'a AtomicBool,
1014 data: &'a mut T,
1017 impl<'a, T> core::ops::Deref for MutexGuard<'a, T> { implementation
1026 impl<'a, T> core::ops::DerefMut for MutexGuard<'a, T> { implementation
1033 impl<'a, T> Drop for MutexGuard<'a, T> { implementation
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/regex-automata-0.4.9/src/util/
Dpool.rs1012 struct MutexGuard<'a, T> { struct
1013 locked: &'a AtomicBool,
1014 data: &'a mut T,
1017 impl<'a, T> core::ops::Deref for MutexGuard<'a, T> { implementation
1026 impl<'a, T> core::ops::DerefMut for MutexGuard<'a, T> { implementation
1033 impl<'a, T> Drop for MutexGuard<'a, T> { implementation
/external/rust/beto-rust/common/lock_adapter/src/
Dlib.rs40 type MutexGuard<'a> typedef
Dspin.rs21 type MutexGuard<'a> = spin::MutexGuard<'a, T> where T: 'a; typedef
Dstdlib.rs22 type MutexGuard<'a> = std::sync::MutexGuard<'a, T> where T: 'a; typedef
/external/rust/android-crates-io/crates/stable_deref_trait/src/
Dlib.rs181 unsafe impl<'a, T: ?Sized> StableDeref for MutexGuard<'a, T> {} implementation
/external/rust/android-crates-io/crates/parking_lot/src/
Dmutex.rs100 pub type MutexGuard<'a, T> = lock_api::MutexGuard<'a, RawMutex, T>; typedef
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h47 class MutexGuard; variable