/aosp_15_r20/external/rust/android-crates-io/crates/spin/src/ |
D | mutex.rs | 113 pub struct Mutex<T: ?Sized, R = Spin> { struct 114 inner: InnerMutex<T, R>, argument 117 unsafe impl<T: ?Sized + Send, R> Sync for Mutex<T, R> {} implementation 118 unsafe impl<T: ?Sized + Send, R> Send for Mutex<T, R> {} implementation 131 impl<T, R> Mutex<T, R> { impl 168 impl<T: ?Sized, R: RelaxStrategy> Mutex<T, R> { impl 191 impl<T: ?Sized, R> Mutex<T, R> { implementation 255 impl<T: ?Sized + fmt::Debug, R> fmt::Debug for Mutex<T, R> { implementation 261 impl<T: ?Sized + Default, R> Default for Mutex<T, R> { implementation 267 impl<T, R> From<T> for Mutex<T, R> { implementation [all …]
|
/aosp_15_r20/external/trusty/lk/lib/rust_support/ |
D | sync.rs | 109 pub struct Mutex<T: ?Sized> { struct 110 mutex: LoneMutex, argument 114 impl<T> Mutex<T> { impl 124 impl<T: ?Sized> Mutex<T> { impl 134 impl<T: ?Sized> Mutex<T> { impl 168 unsafe impl<T: ?Sized + Send> Send for Mutex<T> {} implementation 171 unsafe impl<T: ?Sized + Send> Sync for Mutex<T> {} implementation 177 impl<T> From<T> for Mutex<T> { implementation
|
/aosp_15_r20/external/rust/android-crates-io/crates/tracing-core/src/spin/ |
D | mutex.rs | 11 pub(crate) struct Mutex<T: ?Sized> { struct 25 // Same unsafe impls as `std::sync::Mutex` argument 26 unsafe impl<T: ?Sized + Send> Sync for Mutex<T> {} implementation 27 unsafe impl<T: ?Sized + Send> Send for Mutex<T> {} implementation 29 impl<T> Mutex<T> { implementation 39 impl<T: ?Sized> Mutex<T> { implementation 83 impl<T: ?Sized + fmt::Debug> fmt::Debug for Mutex<T> { implementation 94 impl<T: ?Sized + Default> Default for Mutex<T> { implementation
|
/aosp_15_r20/external/rust/android-crates-io/crates/lock_api/src/ |
D | mutex.rs | 142 pub struct Mutex<R, T: ?Sized> { struct 147 unsafe impl<R: RawMutex + Send, T: ?Sized + Send> Send for Mutex<R, T> {} argument 148 unsafe impl<R: RawMutex + Sync, T: ?Sized + Send> Sync for Mutex<R, T> {} implementation 150 impl<R: RawMutex, T> Mutex<R, T> { implementation 178 impl<R, T> Mutex<R, T> { impl 191 impl<R: RawMutex, T: ?Sized> Mutex<R, T> { impl 347 impl<R: RawMutexFair, T: ?Sized> Mutex<R, T> { implementation 365 impl<R: RawMutexTimed, T: ?Sized> Mutex<R, T> { implementation 430 impl<R: RawMutex, T: ?Sized + Default> Default for Mutex<R, T> { implementation 437 impl<R: RawMutex, T> From<T> for Mutex<R, T> { implementation [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sync/ |
H A D | mutex.rs | 178 pub struct Mutex<T: ?Sized> { struct 179 inner: sys::Mutex, argument 187 unsafe impl<T: ?Sized + Send> Send for Mutex<T> {} argument 189 unsafe impl<T: ?Sized + Send> Sync for Mutex<T> {} implementation 260 impl<T> Mutex<T> { implementation 278 impl<T: ?Sized> Mutex<T> { impl 487 impl<T> From<T> for Mutex<T> { implementation 496 impl<T: ?Sized + Default> Default for Mutex<T> { implementation 504 impl<T: ?Sized + fmt::Debug> fmt::Debug for Mutex<T> { implementation 570 pub fn guard_lock<'a, T: ?Sized>(guard: &MutexGuard<'a, T>) -> &'a sys::Mutex { in guard_lock()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sync/ |
H A D | mutex.rs | 178 pub struct Mutex<T: ?Sized> { struct 179 inner: sys::Mutex, argument 187 unsafe impl<T: ?Sized + Send> Send for Mutex<T> {} implementation 189 unsafe impl<T: ?Sized + Send> Sync for Mutex<T> {} implementation 260 impl<T> Mutex<T> { impl 278 impl<T: ?Sized> Mutex<T> { implementation 487 impl<T> From<T> for Mutex<T> { implementation 496 impl<T: ?Sized + Default> Default for Mutex<T> { implementation 504 impl<T: ?Sized + fmt::Debug> fmt::Debug for Mutex<T> { implementation 570 pub fn guard_lock<'a, T: ?Sized>(guard: &MutexGuard<'a, T>) -> &'a sys::Mutex { in guard_lock()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sync/ |
H A D | mutex.rs | 178 pub struct Mutex<T: ?Sized> { struct 179 inner: sys::Mutex, argument 187 unsafe impl<T: ?Sized + Send> Send for Mutex<T> {} argument 189 unsafe impl<T: ?Sized + Send> Sync for Mutex<T> {} implementation 260 impl<T> Mutex<T> { impl 278 impl<T: ?Sized> Mutex<T> { implementation 487 impl<T> From<T> for Mutex<T> { implementation 496 impl<T: ?Sized + Default> Default for Mutex<T> { implementation 504 impl<T: ?Sized + fmt::Debug> fmt::Debug for Mutex<T> { implementation 570 pub fn guard_lock<'a, T: ?Sized>(guard: &MutexGuard<'a, T>) -> &'a sys::Mutex { in guard_lock()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sync/ |
H A D | mutex.rs | 178 pub struct Mutex<T: ?Sized> { struct 179 inner: sys::Mutex, argument 187 unsafe impl<T: ?Sized + Send> Send for Mutex<T> {} argument 189 unsafe impl<T: ?Sized + Send> Sync for Mutex<T> {} implementation 260 impl<T> Mutex<T> { impl 278 impl<T: ?Sized> Mutex<T> { implementation 487 impl<T> From<T> for Mutex<T> { implementation 496 impl<T: ?Sized + Default> Default for Mutex<T> { implementation 504 impl<T: ?Sized + fmt::Debug> fmt::Debug for Mutex<T> { implementation 570 pub fn guard_lock<'a, T: ?Sized>(guard: &MutexGuard<'a, T>) -> &'a sys::Mutex { in guard_lock()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/sync/ |
H A D | mutex.rs | 178 pub struct Mutex<T: ?Sized> { struct 179 inner: sys::Mutex, argument 187 unsafe impl<T: ?Sized + Send> Send for Mutex<T> {} argument 189 unsafe impl<T: ?Sized + Send> Sync for Mutex<T> {} implementation 260 impl<T> Mutex<T> { implementation 278 impl<T: ?Sized> Mutex<T> { impl 487 impl<T> From<T> for Mutex<T> { implementation 496 impl<T: ?Sized + Default> Default for Mutex<T> { implementation 504 impl<T: ?Sized + fmt::Debug> fmt::Debug for Mutex<T> { implementation 570 pub fn guard_lock<'a, T: ?Sized>(guard: &MutexGuard<'a, T>) -> &'a sys::Mutex { in guard_lock()
|
/aosp_15_r20/external/llvm-libc/test/src/__support/CPP/ |
H A D | mutex_test.cpp | 17 struct Mutex { struct 27 Mutex() {} in Mutex() function 45 Mutex m; in TEST() argument
|
/aosp_15_r20/external/gflags/src/ |
H A D | mutex.h | 200 explicit Mutex(Mutex* /*ignored*/) {} in Mutex() argument 219 Mutex::Mutex() : mutex_(0) { } in Mutex() function 220 Mutex::Mutex(Mutex::LinkerInitialized) : mutex_(0) { } in Mutex() function 232 Mutex::Mutex() : destroy_(true) { in Mutex() function 236 Mutex::Mutex(LinkerInitialized) : destroy_(false) { in Mutex() function 256 Mutex::Mutex() : destroy_(true) { in Mutex() function 260 Mutex::Mutex(Mutex::LinkerInitialized) : destroy_(false) { in Mutex() function 281 Mutex::Mutex() : destroy_(true) { in Mutex() function 285 Mutex::Mutex(Mutex::LinkerInitialized) : destroy_(false) { in Mutex() function
|
/aosp_15_r20/prebuilts/go/linux-x86/src/sync/ |
D | mutex.go | 36 type Mutex struct { struct 37 state int32 38 sema uint32 83 func (m *Mutex) Lock() { 100 func (m *Mutex) TryLock() bool { 119 func (m *Mutex) lockSlow() { 214 func (m *Mutex) Unlock() { 229 func (m *Mutex) unlockSlow(new int32) {
|
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/synchronization/ |
H A D | mutex_test.cc | 431 TEST(Mutex, CondVarWaitSignalsAwait) { in TEST() argument 472 TEST(Mutex, CondVarWaitWithTimeoutSignalsAwait) { in TEST() argument 516 TEST(Mutex, MutexTimeoutBug) { in TEST() argument 657 TEST(Mutex, MutexReaderWakeupBug) { in TEST() argument 702 TEST(Mutex, LockWhen) { in TEST() argument 716 TEST(Mutex, LockWhenGuard) { in TEST() argument 814 TEST(Mutex, MutexReaderDecrementBug) ABSL_NO_THREAD_SAFETY_ANALYSIS { in TEST() argument 861 TEST(Mutex, DISABLED_LockedMutexDestructionBug) ABSL_NO_THREAD_SAFETY_ANALYSIS { argument 899 TEST(Mutex, FunctionPointerCondition) { argument 950 TEST(Mutex, FunctionPointerConditionWithDerivedToBaseConversion) { argument [all …]
|
/aosp_15_r20/external/cronet/third_party/abseil-cpp/absl/synchronization/ |
H A D | mutex_test.cc | 431 TEST(Mutex, CondVarWaitSignalsAwait) { in TEST() argument 472 TEST(Mutex, CondVarWaitWithTimeoutSignalsAwait) { in TEST() argument 516 TEST(Mutex, MutexTimeoutBug) { in TEST() argument 657 TEST(Mutex, MutexReaderWakeupBug) { in TEST() argument 702 TEST(Mutex, LockWhen) { in TEST() argument 716 TEST(Mutex, LockWhenGuard) { in TEST() argument 814 TEST(Mutex, MutexReaderDecrementBug) ABSL_NO_THREAD_SAFETY_ANALYSIS { in TEST() argument 861 TEST(Mutex, DISABLED_LockedMutexDestructionBug) ABSL_NO_THREAD_SAFETY_ANALYSIS { argument 899 TEST(Mutex, FunctionPointerCondition) { argument 950 TEST(Mutex, FunctionPointerConditionWithDerivedToBaseConversion) { argument [all …]
|
/aosp_15_r20/external/abseil-cpp/absl/synchronization/ |
H A D | mutex_test.cc | 431 TEST(Mutex, CondVarWaitSignalsAwait) { in TEST() argument 472 TEST(Mutex, CondVarWaitWithTimeoutSignalsAwait) { in TEST() argument 516 TEST(Mutex, MutexTimeoutBug) { in TEST() argument 657 TEST(Mutex, MutexReaderWakeupBug) { in TEST() argument 702 TEST(Mutex, LockWhen) { in TEST() argument 716 TEST(Mutex, LockWhenGuard) { in TEST() argument 814 TEST(Mutex, MutexReaderDecrementBug) ABSL_NO_THREAD_SAFETY_ANALYSIS { in TEST() argument 861 TEST(Mutex, DISABLED_LockedMutexDestructionBug) ABSL_NO_THREAD_SAFETY_ANALYSIS { argument 899 TEST(Mutex, FunctionPointerCondition) { argument 950 TEST(Mutex, FunctionPointerConditionWithDerivedToBaseConversion) { argument [all …]
|
/aosp_15_r20/external/crosvm/common/sync/src/ |
H A D | mutex.rs | 35 pub struct Mutex<T: ?Sized> { struct 36 std: StdMutex<T>, argument 39 impl<T> Mutex<T> { implementation 56 impl<T: ?Sized> Mutex<T> { implementation 97 impl<T> From<T> for Mutex<T> { implementation 105 impl<T: ?Sized + Debug> Debug for Mutex<T> { implementation
|
/aosp_15_r20/external/llvm-libc/src/__support/threads/gpu/ |
H A D | mutex.h | 22 struct Mutex { struct 23 LIBC_INLINE constexpr Mutex(bool, bool, bool, bool) {} in Mutex() function 25 LIBC_INLINE MutexError lock() { return MutexError::NONE; } in lock() argument 26 LIBC_INLINE MutexError unlock() { return MutexError::NONE; } in unlock() argument 27 LIBC_INLINE MutexError reset() { return MutexError::NONE; } in reset() argument
|
/aosp_15_r20/external/rust/android-crates-io/crates/futures-util/src/lock/ |
D | mutex.rs | 22 pub struct Mutex<T: ?Sized> { struct 24 waiters: StdMutex<Slab<Waiter>>, argument 28 impl<T: ?Sized> fmt::Debug for Mutex<T> { implementation 38 impl<T> From<T> for Mutex<T> { implementation 44 impl<T: Default> Default for Mutex<T> { implementation 74 impl<T> Mutex<T> { impl 99 impl<T: ?Sized> Mutex<T> { impl 516 unsafe impl<T: ?Sized + Send> Send for Mutex<T> {} implementation 517 unsafe impl<T: ?Sized + Send> Sync for Mutex<T> {} implementation
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/sync/mutex/ |
H A D | no_threads.rs | 3 pub struct Mutex { struct 8 unsafe impl Send for Mutex {} argument 9 unsafe impl Sync for Mutex {} // no threads on this platform implementation 11 impl Mutex { impl
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/sync/mutex/ |
H A D | no_threads.rs | 3 pub struct Mutex { struct 8 unsafe impl Send for Mutex {} argument 9 unsafe impl Sync for Mutex {} // no threads on this platform implementation 11 impl Mutex { implementation
|
H A D | windows7.rs | 20 pub struct Mutex { struct 24 unsafe impl Send for Mutex {} argument 25 unsafe impl Sync for Mutex {} implementation 32 impl Mutex { impl
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys/sync/mutex/ |
H A D | no_threads.rs | 3 pub struct Mutex { struct 8 unsafe impl Send for Mutex {} argument 9 unsafe impl Sync for Mutex {} // no threads on this platform implementation 11 impl Mutex { implementation
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys/sync/mutex/ |
H A D | no_threads.rs | 3 pub struct Mutex { struct 8 unsafe impl Send for Mutex {} argument 9 unsafe impl Sync for Mutex {} // no threads on this platform implementation 11 impl Mutex { implementation
|
H A D | windows7.rs | 20 pub struct Mutex { struct 24 unsafe impl Send for Mutex {} implementation 25 unsafe impl Sync for Mutex {} implementation 32 impl Mutex { implementation
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/sys/sync/mutex/ |
H A D | no_threads.rs | 3 pub struct Mutex { struct 8 unsafe impl Send for Mutex {} implementation 9 unsafe impl Sync for Mutex {} // no threads on this platform implementation 11 impl Mutex { implementation
|