Home
last modified time | relevance | path

Searched refs:_guard (Results 1 – 20 of 20) sorted by relevance

/external/rust/crates/async-trait/tests/ui/
Dsend-not-implemented.stderr7 10 | | let _guard = mutex.lock().unwrap();
16 10 | let _guard = mutex.lock().unwrap();
19 | ^^^^^^^^^ await occurs here, with `_guard` maybe used later
21 | - `_guard` is later dropped here
30 16 | | let _guard = mutex.lock().unwrap();
40 16 | let _guard = mutex.lock().unwrap();
43 | ^^^^^^^^^ await occurs here, with `_guard` maybe used later
46 | - `_guard` is later dropped here
Dsend-not-implemented.rs10 let _guard = mutex.lock().unwrap(); in test() localVariable
16 let _guard = mutex.lock().unwrap(); in test_ret() localVariable
/external/rust/crates/parking_lot/src/
Ddeadlock.rs58 let _guard = DEADLOCK_DETECTION_LOCK.lock(); in test_mutex_deadlock() localVariable
103 let _guard = DEADLOCK_DETECTION_LOCK.lock(); in test_mutex_deadlock_reentrant() localVariable
122 let _guard = DEADLOCK_DETECTION_LOCK.lock(); in test_remutex_deadlock() localVariable
170 let _guard = DEADLOCK_DETECTION_LOCK.lock(); in test_rwlock_deadlock() localVariable
216 let _guard = DEADLOCK_DETECTION_LOCK.lock(); in test_rwlock_deadlock_reentrant() localVariable
Dcondvar.rs622 let _guard = PanicGuard(&*c); in two_mutexes() localVariable
/external/rust/crates/crossbeam-utils/src/sync/
Dsharded_lock.rs233 _guard: guard, in try_read()
239 _guard: err.into_inner(), in try_read()
293 _guard: guard, in read()
298 _guard: err.into_inner(), in read()
485 _guard: RwLockReadGuard<'a, ()>, field
/external/rust/crates/crossbeam-utils/src/atomic/
Datomic_cell.rs286 let _guard = lock(self.value.get() as usize).write(); localVariable
314 let _guard = lock(self.value.get() as usize).write(); localVariable
340 let _guard = lock(self.value.get() as usize).write(); localVariable
366 let _guard = lock(self.value.get() as usize).write(); localVariable
392 let _guard = lock(self.value.get() as usize).write(); localVariable
902 let _guard = lock(dst as usize).write(); in atomic_store() localVariable
922 let _guard = lock(dst as usize).write(); in atomic_swap() localVariable
/external/rust/crates/getrandom/src/
Duse_file.rs70 let _guard = DropGuard(|| unsafe { MUTEX.unlock() }); in get_rng_fd() localVariable
98 let _guard = DropGuard(|| unsafe { in wait_until_rng_ready() localVariable
/external/rust/crates/scopeguard/src/
Dlib.rs253 let _guard = $crate::guard((), |()| { $($t)* }); localVariable
267 let _guard = $crate::guard_on_success((), |()| { $($t)* }); localVariable
281 let _guard = $crate::guard_on_unwind((), |()| { $($t)* }); localVariable
/external/crosvm/sys_util/src/
Dscoped_signal_handler.rs285 let _guard = get_mutex(); in scopedsignalhandler_success() localVariable
315 let _guard = get_mutex(); in scopedsignalhandler_handleralreadyset() localVariable
393 let _guard = get_mutex(); in waitforinterrupt_success() localVariable
/external/rust/crates/hashbrown/src/external_trait_impls/rayon/
Draw.rs99 let _guard = guard(self.table.into_allocation(), |alloc| { in drive_unindexed() localVariable
136 let _guard = guard(self.table, |table| unsafe { in drive_unindexed() localVariable
/external/rust/crates/once_cell/src/
Dimp_pl.rs119 let _guard = mutex.lock(); in initialize_inner() localVariable
/external/rust/crates/crossbeam-epoch/src/
Dcollector.rs131 let _guard = &handle.pin(); in pin_reentrant() localVariable
134 let _guard = &handle.pin(); in pin_reentrant() localVariable
/external/rust/crates/tokio/tests/
Dsync_mutex.rs162 let _guard = m.lock().await; in mutex_debug() localVariable
/external/rust/crates/tokio/src/task/
Dtask_local.rs237 let _guard = Guard { in with_task() localVariable
/external/rust/crates/tokio/src/
Dcoop.rs104 let _guard = ResetGuard { cell, prev }; in with_budget() localVariable
/external/rust/crates/thread_local/src/
Dlib.rs249 let _guard = self.lock.lock().unwrap(); in insert() localVariable
263 drop(_guard); in insert()
/external/adhd/cras/client/libcras/src/
Dcras_shm.rs1272 let _guard = lock.lock().unwrap(); in cras_server_sync_state_read() localVariable
1278 let _guard = thread_lock.lock().unwrap(); in cras_server_sync_state_read() localVariable
1297 let _guard = lock.lock().unwrap(); in cras_server_sync_state_read() localVariable
/external/rust/crates/libloading/src/os/windows/
Dmod.rs191 let _guard = ErrorModeGuard::new(); in load_with_flags() localVariable
/external/llvm-project/openmp/runtime/src/
Dkmp_settings.cpp2062 #define _set_param(_guard, _var, _val) \ in __kmp_parse_affinity_env() argument
2064 if (_guard == 0) { \ in __kmp_parse_affinity_env()
2069 ++_guard; \ in __kmp_parse_affinity_env()
/external/usrsctp/
DManual.tex580 \subsubsection{usrsctp\_sysctl\_set\_sctp\_shutdown\_guard\_time\_default()}
882 %sctp\_shutdown\_guard\_time\_default&Default shutdown guard timer&180~secs\tabularnewline \hline