Home
last modified time | relevance | path

Searched refs:read_guard (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/parking_lot/src/
Drwlock.rs366 let read_guard = lock.read(); in test_rwlock_try_read() localVariable
374 drop(read_guard); in test_rwlock_try_read()
404 let read_guard = lock.read(); in test_rwlock_try_write() localVariable
412 drop(read_guard); in test_rwlock_try_write()
442 let read_guard = lock.read(); in test_rwlock_try_upgrade() localVariable
450 drop(read_guard); in test_rwlock_try_upgrade()
/external/rust/crates/lock_api/src/
Drwlock.rs397 unsafe fn read_guard(&self) -> RwLockReadGuard<'_, R, T> { in read_guard() method
431 unsafe { self.read_guard() } in read()
445 Some(unsafe { self.read_guard() }) in try_read()
607 Some(unsafe { self.read_guard() }) in try_read_for()
623 Some(unsafe { self.read_guard() }) in try_read_until()
682 unsafe { self.read_guard() } in read_recursive()
699 Some(unsafe { self.read_guard() }) in try_read_recursive()
724 Some(unsafe { self.read_guard() }) in try_read_recursive_for()
743 Some(unsafe { self.read_guard() }) in try_read_recursive_until()
/external/rust/crates/tokio/src/sync/
Dmod.rs457 pub use rwlock::read_guard::RwLockReadGuard;
Drwlock.rs12 pub(crate) mod read_guard; module
18 pub(crate) use read_guard::RwLockReadGuard;
/external/rust/crates/tokio/tests/
Dsync_rwlock.rs242 let read_guard = lock.read().await; in try_write() localVariable
244 drop(read_guard); in try_write()
/external/rust/crates/crossbeam-utils/tests/
Dsharded_lock.rs184 let read_guard = lock.read().unwrap(); in try_write() localVariable
193 drop(read_guard); in try_write()
/external/rust/crates/tokio/src/sync/rwlock/
Dwrite_guard.rs2 use crate::sync::rwlock::read_guard::RwLockReadGuard;
/external/llvm-project/polly/lib/External/isl/
Disl_schedule_read.c345 static __isl_give isl_schedule_tree *read_guard(isl_stream *s) in read_guard() function
696 tree = read_guard(s); in isl_stream_read_schedule_tree()
/external/rust/crates/spin/src/
Drw_lock.rs974 let read_guard = lock.read(); in test_rwlock_try_write() localVariable
985 drop(read_guard); in test_rwlock_try_write()