/dports/games/easyrpg-player/Player-0.7.0/src/ |
H A D | rand.h | 107 class LockGuard { 114 LockGuard(int32_t lock_value, bool locked = true); 116 LockGuard(const LockGuard&) = delete; 117 LockGuard& operator=(const LockGuard&) = delete; 120 LockGuard(LockGuard&& o) noexcept; 121 LockGuard& operator=(LockGuard&&) = delete; 124 ~LockGuard(); 144 inline LockGuard::LockGuard(LockGuard&& o) noexcept { in LockGuard() function 150 inline LockGuard::~LockGuard() { in ~LockGuard() 154 inline void LockGuard::Dismiss() { in Dismiss() [all …]
|
/dports/sysutils/fusefs-securefs/securefs-0.12.0/sources/ |
H A D | lock_guard.h | 7 class THREAD_ANNOTATION_SCOPED_CAPABILITY LockGuard 13 explicit LockGuard(Lockable& lock, bool exclusive) THREAD_ANNOTATION_ACQUIRE(lock) in LockGuard() function 18 ~LockGuard() THREAD_ANNOTATION_RELEASE() { m_lock->unlock(); } in THREAD_ANNOTATION_RELEASE() 19 LockGuard(LockGuard&&) = delete; 20 LockGuard(const LockGuard&) = delete; 21 LockGuard& operator=(LockGuard&&) = delete; 22 LockGuard& operator=(const LockGuard&) = delete;
|
/dports/audio/noson-app/noson-app-4.5.0/backend/NosonApp/ |
H A D | locked.h | 41 class LockGuard in check() 44 LockGuard() : m_lock(nullptr) { } in check() 50 LockGuard(T * lock) in check() 57 ~LockGuard() in check() 63 LockGuard(const LockGuard& other) = delete; in check() 64 LockGuard& operator=(const LockGuard& other) = delete; in check() 66 LockGuard(LockGuard&& other) : m_lock(other.m_lock) in check() 71 LockGuard& operator=(LockGuard&& other) in check() 98 LockGuard<QMutex> g(m_lock); in check() 104 LockGuard<QMutex> g(m_lock); in check() [all …]
|
/dports/audio/noson-app/noson-app-4.5.0/backend/NosonMediaScanner/ |
H A D | locked.h | 41 class LockGuard 44 LockGuard() : m_lock(nullptr) { } in LockGuard() function 50 LockGuard(T * lock) in LockGuard() function 57 ~LockGuard() in ~LockGuard() 63 LockGuard(const LockGuard& other) = delete; 64 LockGuard& operator=(const LockGuard& other) = delete; 66 LockGuard(LockGuard&& other) : m_lock(other.m_lock) in LockGuard() function 71 LockGuard& operator=(LockGuard&& other) 98 LockGuard<QMutex> g(m_lock); in Load() 104 LockGuard<QMutex> g(m_lock); in Store() [all …]
|
/dports/devel/cereal/cereal-1.3.0-10-g64f50dbd/include/cereal/details/ |
H A D | static_object.hpp | 88 class LockGuard class in cereal::detail::StaticObject 92 LockGuard(std::mutex & m) : lock(m) {} in LockGuard() function in cereal::detail::StaticObject::LockGuard 97 LockGuard() = default; 98 LockGuard(LockGuard const &) = default; // prevents implicit copy ctor warning 99 ~LockGuard() CEREAL_NOEXCEPT {} // prevents variable not used 110 static LockGuard lock() in lock() 114 return LockGuard{instanceMutex}; in lock() 116 return LockGuard{}; in lock()
|
/dports/audio/sayonara/sayonara-player-5bbf1399332d5d59362ad03bf625f9132be72206/src/Gui/Library/CoverView/ |
H A D | AlbumCoverFetchThread.cpp | 37 using LockGuard = std::lock_guard<std::mutex>; typedef 111 [[maybe_unused]] const auto lockGuard = LockGuard(mutexAlbumList); in run() 125 [[maybe_unused]] const auto lockGuard = LockGuard(mutexAlbumList); in run() 164 [[maybe_unused]] const auto lockGuard = LockGuard(mutexAlbumList); in addAlbum() 173 [[maybe_unused]] const auto lockGuard = LockGuard(mutexHashLocationPairs); in checkAlbum() 187 [[maybe_unused]] const auto lockGuard = LockGuard(mutexQueuedHashes); in checkAlbum() 196 [[maybe_unused]] const auto lockGuard = LockGuard(mutexAlbumList); in checkAlbum() 215 [[maybe_unused]] const auto lockGuard = LockGuard(mutexHashLocationPairs); in takeCurrentLookup() 223 [[maybe_unused]] const auto lockGuard = LockGuard(mutexQueuedHashes); in takeCurrentLookup() 233 [[maybe_unused]] const auto lockGuard = LockGuard(mutexQueuedHashes); in removeHash() [all …]
|
/dports/audio/musicpd/mpd-0.23.6/src/lib/pulse/ |
H A D | LockGuard.hxx | 27 class LockGuard { class 31 explicit LockGuard(struct pa_threaded_mainloop *_mainloop) noexcept in LockGuard() function in Pulse::LockGuard 36 ~LockGuard() noexcept { in ~LockGuard() 40 LockGuard(const LockGuard &) = delete; 41 LockGuard &operator=(const LockGuard &) = delete;
|
/dports/games/blockattack/blockattack-game-2.7.0/source/code/Libs/include/cereal/details/ |
H A D | static_object.hpp | 88 class LockGuard class in cereal::detail::StaticObject 92 LockGuard(std::mutex & m) : lock(m) {} in LockGuard() function in cereal::detail::StaticObject::LockGuard 97 LockGuard(LockGuard const &) = default; // prevents implicit copy ctor warning 98 ~LockGuard() CEREAL_NOEXCEPT {} // prevents variable not used 109 static LockGuard lock() in lock() 113 return LockGuard{instanceMutex}; in lock() 115 return LockGuard{}; in lock()
|
/dports/misc/openmvg/openMVG-2.0/src/dependencies/cereal/include/cereal/details/ |
H A D | static_object.hpp | 88 class LockGuard class in cereal::detail::StaticObject 92 LockGuard(std::mutex & m) : lock(m) {} in LockGuard() function in cereal::detail::StaticObject::LockGuard 97 LockGuard(LockGuard const &) = default; // prevents implicit copy ctor warning 98 ~LockGuard() CEREAL_NOEXCEPT {} // prevents variable not used 109 static LockGuard lock() in lock() 113 return LockGuard{instanceMutex}; in lock() 115 return LockGuard{}; in lock()
|
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/third-party/cereal/include/cereal/details/ |
H A D | static_object.hpp | 88 class LockGuard class in cereal::detail::StaticObject 92 LockGuard(std::mutex & m) : lock(m) {} in LockGuard() function in cereal::detail::StaticObject::LockGuard 97 LockGuard(LockGuard const &) = default; // prevents implicit copy ctor warning 98 ~LockGuard() CEREAL_NOEXCEPT {} // prevents variable not used 109 static LockGuard lock() in lock() 113 return LockGuard{instanceMutex}; in lock() 115 return LockGuard{}; in lock()
|
/dports/comms/openzwave/open-zwave-f339aa6/cpp/src/ |
H A D | Utils.h | 78 struct LockGuard struct 80 LockGuard(Mutex* mutex) : _ref(mutex) in LockGuard() function 86 ~LockGuard() in ~LockGuard() argument 103 LockGuard(const LockGuard&); argument 104 LockGuard& operator = ( LockGuard const& ); argument
|
/dports/lang/rust/rustc-1.58.1-src/vendor/region/src/ |
H A D | lock.rs | 21 pub fn lock(address: *const u8, size: usize) -> Result<LockGuard> { in lock() argument 34 .map(|_| LockGuard::new(address, size)) in lock() 69 pub struct LockGuard { struct 74 impl LockGuard { argument 76 LockGuard { address, size } in new() 86 impl Drop for LockGuard { implementation 93 unsafe impl Send for LockGuard {} implementation 94 unsafe impl Sync for LockGuard {} implementation
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/tokio-sync-0.1.8/src/ |
H A D | lock.rs | 73 pub struct LockGuard<T>(Lock<T>); struct 80 unsafe impl<T> Sync for LockGuard<T> where T: Send + Sync {} implementation 91 check::<LockGuard<u32>>(); in bounds() 109 pub fn poll_lock(&mut self) -> Async<LockGuard<T>> { in poll_lock() 124 Async::Ready(LockGuard(acquired)) in poll_lock() 128 impl<T> Drop for LockGuard<T> { implementation 165 impl<T> Deref for LockGuard<T> { implementation 173 impl<T> DerefMut for LockGuard<T> { implementation 180 impl<T: fmt::Display> fmt::Display for LockGuard<T> { implementation
|
/dports/devel/sccache/sccache-0.2.15/cargo-crates/tokio-sync-0.1.8/src/ |
H A D | lock.rs | 73 pub struct LockGuard<T>(Lock<T>); struct 80 unsafe impl<T> Sync for LockGuard<T> where T: Send + Sync {} implementation 91 check::<LockGuard<u32>>(); in bounds() 109 pub fn poll_lock(&mut self) -> Async<LockGuard<T>> { in poll_lock() 124 Async::Ready(LockGuard(acquired)) in poll_lock() 128 impl<T> Drop for LockGuard<T> { implementation 165 impl<T> Deref for LockGuard<T> { implementation 173 impl<T> DerefMut for LockGuard<T> { implementation 180 impl<T: fmt::Display> fmt::Display for LockGuard<T> { implementation
|
/dports/net-mgmt/nfs-exporter/freebsd-nfs-exporter-0.3.0/cargo-crates/tokio-sync-0.1.8/src/ |
H A D | lock.rs | 73 pub struct LockGuard<T>(Lock<T>); struct 80 unsafe impl<T> Sync for LockGuard<T> where T: Send + Sync {} implementation 91 check::<LockGuard<u32>>(); in bounds() 109 pub fn poll_lock(&mut self) -> Async<LockGuard<T>> { in poll_lock() 124 Async::Ready(LockGuard(acquired)) in poll_lock() 128 impl<T> Drop for LockGuard<T> { implementation 165 impl<T> Deref for LockGuard<T> { implementation 173 impl<T> DerefMut for LockGuard<T> { implementation 180 impl<T: fmt::Display> fmt::Display for LockGuard<T> { implementation
|
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/tokio-sync-0.1.8/src/ |
H A D | lock.rs | 73 pub struct LockGuard<T>(Lock<T>); struct 80 unsafe impl<T> Sync for LockGuard<T> where T: Send + Sync {} implementation 91 check::<LockGuard<u32>>(); in bounds() 109 pub fn poll_lock(&mut self) -> Async<LockGuard<T>> { in poll_lock() 124 Async::Ready(LockGuard(acquired)) in poll_lock() 128 impl<T> Drop for LockGuard<T> { implementation 165 impl<T> Deref for LockGuard<T> { implementation 173 impl<T> DerefMut for LockGuard<T> { implementation 180 impl<T: fmt::Display> fmt::Display for LockGuard<T> { implementation
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/tokio-sync-0.1.7/src/ |
H A D | lock.rs | 73 pub struct LockGuard<T>(Lock<T>); struct 80 unsafe impl<T> Sync for LockGuard<T> where T: Send + Sync {} implementation 91 check::<LockGuard<u32>>(); in bounds() 109 pub fn poll_lock(&mut self) -> Async<LockGuard<T>> { in poll_lock() 124 Async::Ready(LockGuard(acquired)) in poll_lock() 128 impl<T> Drop for LockGuard<T> { implementation 165 impl<T> Deref for LockGuard<T> { implementation 173 impl<T> DerefMut for LockGuard<T> { implementation 180 impl<T: fmt::Display> fmt::Display for LockGuard<T> { implementation
|
/dports/editors/xi-term/xi-term-d264767/cargo-crates/tokio-sync-0.1.6/src/ |
H A D | lock.rs | 73 pub struct LockGuard<T>(Lock<T>); struct 80 unsafe impl<T> Sync for LockGuard<T> where T: Send + Sync {} implementation 91 check::<LockGuard<u32>>(); in bounds() 109 pub fn poll_lock(&mut self) -> Async<LockGuard<T>> { in poll_lock() 124 Async::Ready(LockGuard(acquired)) in poll_lock() 128 impl<T> Drop for LockGuard<T> { implementation 165 impl<T> Deref for LockGuard<T> { implementation 173 impl<T> DerefMut for LockGuard<T> { implementation 180 impl<T: fmt::Display> fmt::Display for LockGuard<T> { implementation
|
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/tokio-sync-0.1.8/src/ |
H A D | lock.rs | 73 pub struct LockGuard<T>(Lock<T>); struct 80 unsafe impl<T> Sync for LockGuard<T> where T: Send + Sync {} implementation 91 check::<LockGuard<u32>>(); in bounds() 109 pub fn poll_lock(&mut self) -> Async<LockGuard<T>> { in poll_lock() 124 Async::Ready(LockGuard(acquired)) in poll_lock() 128 impl<T> Drop for LockGuard<T> { implementation 165 impl<T> Deref for LockGuard<T> { implementation 173 impl<T> DerefMut for LockGuard<T> { implementation 180 impl<T: fmt::Display> fmt::Display for LockGuard<T> { implementation
|
/dports/www/websocat/websocat-1.9.0/cargo-crates/tokio-sync-0.1.8/src/ |
H A D | lock.rs | 73 pub struct LockGuard<T>(Lock<T>); struct 80 unsafe impl<T> Sync for LockGuard<T> where T: Send + Sync {} implementation 91 check::<LockGuard<u32>>(); in bounds() 109 pub fn poll_lock(&mut self) -> Async<LockGuard<T>> { in poll_lock() 124 Async::Ready(LockGuard(acquired)) in poll_lock() 128 impl<T> Drop for LockGuard<T> { implementation 165 impl<T> Deref for LockGuard<T> { implementation 173 impl<T> DerefMut for LockGuard<T> { implementation 180 impl<T: fmt::Display> fmt::Display for LockGuard<T> { implementation
|
/dports/sysutils/rsfetch/rsfetch-2.0.0/cargo-crates/tokio-sync-0.1.8/src/ |
H A D | lock.rs | 73 pub struct LockGuard<T>(Lock<T>); struct 80 unsafe impl<T> Sync for LockGuard<T> where T: Send + Sync {} implementation 91 check::<LockGuard<u32>>(); in bounds() 109 pub fn poll_lock(&mut self) -> Async<LockGuard<T>> { in poll_lock() 124 Async::Ready(LockGuard(acquired)) in poll_lock() 128 impl<T> Drop for LockGuard<T> { implementation 165 impl<T> Deref for LockGuard<T> { implementation 173 impl<T> DerefMut for LockGuard<T> { implementation 180 impl<T: fmt::Display> fmt::Display for LockGuard<T> { implementation
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/tokio-sync-0.1.7/src/ |
H A D | lock.rs | 73 pub struct LockGuard<T>(Lock<T>); 80 unsafe impl<T> Sync for LockGuard<T> where T: Send + Sync {} 91 check::<LockGuard<u32>>(); in notify_many() 109 pub fn poll_lock(&mut self) -> Async<LockGuard<T>> { 124 Async::Ready(LockGuard(acquired)) 128 impl<T> Drop for LockGuard<T> { 165 impl<T> Deref for LockGuard<T> { 173 impl<T> DerefMut for LockGuard<T> { 180 impl<T: fmt::Display> fmt::Display for LockGuard<T> {
|
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/tokio-sync-0.1.6/src/ |
H A D | lock.rs | 73 pub struct LockGuard<T>(Lock<T>); 80 unsafe impl<T> Sync for LockGuard<T> where T: Send + Sync {} 91 check::<LockGuard<u32>>(); 109 pub fn poll_lock(&mut self) -> Async<LockGuard<T>> { 124 Async::Ready(LockGuard(acquired)) 128 impl<T> Drop for LockGuard<T> { 165 impl<T> Deref for LockGuard<T> { 173 impl<T> DerefMut for LockGuard<T> { 180 impl<T: fmt::Display> fmt::Display for LockGuard<T> {
|
/dports/multimedia/gstreamer1-plugins-rust/tokio-2fd1551867c145cabe4548da2e37adc3bdf457a4/tokio/src/util/ |
H A D | try_lock.rs | 13 pub(crate) struct LockGuard<'a, T> { struct 21 unsafe impl<T: Sync> Sync for LockGuard<'_, T> {} argument 33 pub(crate) fn try_lock(&self) -> Option<LockGuard<'_, T>> { in try_lock() 42 Some(LockGuard { in try_lock() 49 impl<T> Deref for LockGuard<'_, T> { implementation 57 impl<T> DerefMut for LockGuard<'_, T> { implementation 63 impl<T> Drop for LockGuard<'_, T> { implementation
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/tokio-0.2.11/src/util/ |
H A D | try_lock.rs | 13 pub(crate) struct LockGuard<'a, T> { struct 21 unsafe impl<T: Sync> Sync for LockGuard<'_, T> {} argument 33 pub(crate) fn try_lock(&self) -> Option<LockGuard<'_, T>> { in try_lock() 42 Some(LockGuard { in try_lock() 49 impl<T> Deref for LockGuard<'_, T> { implementation 57 impl<T> DerefMut for LockGuard<'_, T> { implementation 63 impl<T> Drop for LockGuard<'_, T> { implementation
|