Home
last modified time | relevance | path

Searched defs:MutexGuard (Results 1 – 15 of 15) 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/trusty/lk/lib/rust_support/
Dsync.rs135 pub struct MutexGuard<'a, T: ?Sized> { struct
140 pub fn lock(&self) -> MutexGuard<'_, T> { in lock() argument
148 impl<T: ?Sized> Drop for MutexGuard<'_, T> { implementation
156 impl<T: ?Sized> Deref for MutexGuard<'_, T> { implementation
165 impl<T: ?Sized> DerefMut for MutexGuard<'_, T> { implementation
/external/rust/crates/lock_api/src/
Dmutex.rs500 pub struct MutexGuard<'a, R: RawMutex, T: ?Sized> { struct
505 unsafe impl<'a, R: RawMutex + Sync + 'a, T: ?Sized + Sync + 'a> Sync for MutexGuard<'a, R, T> {} argument
507 impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> MutexGuard<'a, R, T> { implementation
592 impl<'a, R: RawMutexFair + 'a, T: ?Sized + 'a> MutexGuard<'a, R, T> { impl
647 impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> Deref for MutexGuard<'a, R, T> { implementation
655 impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> DerefMut for MutexGuard<'a, R, T> { implementation
662 impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> Drop for MutexGuard<'a, R, T> { implementation
672 impl<'a, R: RawMutex + 'a, T: fmt::Debug + ?Sized + 'a> fmt::Debug for MutexGuard<'a, R, T> { implementation
678 impl<'a, R: RawMutex + 'a, T: fmt::Display + ?Sized + 'a> fmt::Display for MutexGuard<'a, R, T> { implementation
685 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> { 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/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
167 impl<'a, T: ?Sized + fmt::Display> fmt::Display for MutexGuard<'a, T> { implementation
/external/rust/crates/tokio/src/sync/
Dmutex.rs147 pub struct MutexGuard<'a, T: ?Sized> { struct
158 /// is identical to `MutexGuard`, except that rather than borrowing the `Mutex`, argument
256 unsafe impl<T> Sync for MutexGuard<'_, T> where T: ?Sized + Send + Sync {} implementation
804 impl<'a, T: ?Sized> MutexGuard<'a, T> { implementation
940 impl<T: ?Sized> Drop for MutexGuard<'_, T> { implementation
954 impl<T: ?Sized> Deref for MutexGuard<'_, T> { implementation
961 impl<T: ?Sized> DerefMut for MutexGuard<'_, T> { implementation
967 impl<T: ?Sized + fmt::Debug> fmt::Debug for MutexGuard<'_, T> { implementation
973 impl<T: ?Sized + fmt::Display> fmt::Display for MutexGuard<'_, 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/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/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