Home
last modified time | relevance | path

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

/external/rust/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/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/rust/crates/tokio/src/sync/
Dmutex.rs145 pub struct MutexGuard<'a, T: ?Sized> { struct
154 /// is identical to `MutexGuard`, except that rather than borrowing the `Mutex`, argument
190 unsafe impl<T> Sync for MutexGuard<'_, T> where T: ?Sized + Send + Sync {} implementation
712 impl<'a, T: ?Sized> MutexGuard<'a, T> { implementation
835 impl<T: ?Sized> Drop for MutexGuard<'_, T> { implementation
848 impl<T: ?Sized> Deref for MutexGuard<'_, T> { implementation
855 impl<T: ?Sized> DerefMut for MutexGuard<'_, T> { implementation
861 impl<T: ?Sized + fmt::Debug> fmt::Debug for MutexGuard<'_, T> { implementation
867 impl<T: ?Sized + fmt::Display> fmt::Display for MutexGuard<'_, T> { implementation
/external/rust/crates/lock_api/src/
Dmutex.rs489 pub struct MutexGuard<'a, R: RawMutex, T: ?Sized> { struct
494 unsafe impl<'a, R: RawMutex + Sync + 'a, T: ?Sized + Sync + 'a> Sync for MutexGuard<'a, R, T> {} argument
496 impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> MutexGuard<'a, R, T> { impl
581 impl<'a, R: RawMutexFair + 'a, T: ?Sized + 'a> MutexGuard<'a, R, T> { implementation
636 impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> Deref for MutexGuard<'a, R, T> { implementation
644 impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> DerefMut for MutexGuard<'a, R, T> { implementation
651 impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> Drop for MutexGuard<'a, R, T> { implementation
661 impl<'a, R: RawMutex + 'a, T: fmt::Debug + ?Sized + 'a> fmt::Debug for MutexGuard<'a, R, T> { implementation
667 impl<'a, R: RawMutex + 'a, T: fmt::Display + ?Sized + 'a> fmt::Display for MutexGuard<'a, R, T> { implementation
674 unsafe impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> StableAddress for MutexGuard<'a, R, T> {} implementation
/external/rust/crates/futures-util/src/lock/
Dmutex.rs388 pub struct MutexGuard<'a, T: ?Sized> { struct
392 impl<'a, T: ?Sized> MutexGuard<'a, T> { implementation
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/crates/tokio/src/loom/std/
Dparking_lot.rs31 pub(crate) struct MutexGuard<'a, T: ?Sized>( struct
82 impl<'a, T: ?Sized> Deref for MutexGuard<'a, T> { implementation
89 impl<'a, T: ?Sized> DerefMut for MutexGuard<'a, T> { implementation
168 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/libchromeos-rs/src/sync/
Dmu.rs936 pub struct MutexGuard<'a, T: ?Sized + 'a> { struct
941 impl<'a, T: ?Sized> MutexGuard<'a, T> { impl
951 impl<'a, T: ?Sized> Deref for MutexGuard<'a, T> { implementation
959 impl<'a, T: ?Sized> DerefMut for MutexGuard<'a, T> { implementation
965 impl<'a, T: ?Sized> Drop for MutexGuard<'a, T> { implementation
/external/crosvm/cros_async/src/sync/
Dmu.rs820 pub struct MutexGuard<'a, T: ?Sized + 'a> { struct
825 impl<'a, T: ?Sized> MutexGuard<'a, T> { argument
835 impl<'a, T: ?Sized> Deref for MutexGuard<'a, T> { implementation
843 impl<'a, T: ?Sized> DerefMut for MutexGuard<'a, T> { implementation
849 impl<'a, T: ?Sized> Drop for MutexGuard<'a, T> { implementation
/external/rust/crates/parking_lot/src/
Dmutex.rs101 pub type MutexGuard<'a, T> = lock_api::MutexGuard<'a, RawMutex, T>; typedef
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h47 class MutexGuard; variable