Lines Matching defs:bool
80 fn try_lock_exclusive(&self) -> bool { in try_lock_exclusive()
116 fn try_lock_shared(&self) -> bool { in try_lock_shared()
142 fn is_locked(&self) -> bool { in is_locked()
148 fn is_locked_exclusive(&self) -> bool { in is_locked_exclusive()
210 fn try_lock_shared_for(&self, timeout: Self::Duration) -> bool { in try_lock_shared_for()
223 fn try_lock_shared_until(&self, timeout: Self::Instant) -> bool { in try_lock_shared_until()
236 fn try_lock_exclusive_for(&self, timeout: Duration) -> bool { in try_lock_exclusive_for()
253 fn try_lock_exclusive_until(&self, timeout: Instant) -> bool { in try_lock_exclusive_until()
281 fn try_lock_shared_recursive(&self) -> bool { in try_lock_shared_recursive()
296 fn try_lock_shared_recursive_for(&self, timeout: Self::Duration) -> bool { in try_lock_shared_recursive_for()
309 fn try_lock_shared_recursive_until(&self, timeout: Self::Instant) -> bool { in try_lock_shared_recursive_until()
333 fn try_lock_upgradable(&self) -> bool { in try_lock_upgradable()
379 unsafe fn try_upgrade(&self) -> bool { in try_upgrade()
454 fn try_lock_upgradable_until(&self, timeout: Instant) -> bool { in try_lock_upgradable_until()
467 fn try_lock_upgradable_for(&self, timeout: Duration) -> bool { in try_lock_upgradable_for()
480 unsafe fn try_upgrade_until(&self, timeout: Instant) -> bool { in try_upgrade_until()
493 unsafe fn try_upgrade_for(&self, timeout: Duration) -> bool { in try_upgrade_for()
508 fn try_lock_shared_fast(&self, recursive: bool) -> bool { in try_lock_shared_fast()
539 fn try_lock_shared_slow(&self, recursive: bool) -> bool { in try_lock_shared_slow()
570 fn try_lock_upgradable_fast(&self) -> bool { in try_lock_upgradable_fast()
589 fn try_lock_upgradable_slow(&self) -> bool { in try_lock_upgradable_slow()
612 fn lock_exclusive_slow(&self, timeout: Option<Instant>) -> bool { in lock_exclusive_slow()
648 fn unlock_exclusive_slow(&self, force_fair: bool) { in unlock_exclusive_slow()
676 fn lock_shared_slow(&self, recursive: bool, timeout: Option<Instant>) -> bool { in lock_shared_slow()
743 fn lock_upgradable_slow(&self, timeout: Option<Instant>) -> bool { in lock_upgradable_slow()
782 fn unlock_upgradable_slow(&self, force_fair: bool) { in unlock_upgradable_slow()
851 fn try_upgrade_slow(&self) -> bool { in try_upgrade_slow()
870 fn upgrade_slow(&self, timeout: Option<Instant>) -> bool { in upgrade_slow()
974 fn wait_for_readers(&self, timeout: Option<Instant>, prev_value: usize) -> bool { in wait_for_readers()
1066 mut try_lock: impl FnMut(&mut usize) -> bool, in lock_common()