Home
last modified time | relevance | path

Searched defs:LockGuard (Results 1 – 25 of 61) sorted by relevance

123

/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/
H A DThreadPool.cpp39 llvm::sys::ScopedWriter LockGuard(ThreadsLock); in grow() local
64 std::unique_lock<std::mutex> LockGuard(QueueLock); in processTasks() local
113 std::lock_guard<std::mutex> LockGuard(QueueLock); in processTasks() local
146 std::unique_lock<std::mutex> LockGuard(QueueLock); in wait() local
154 std::unique_lock<std::mutex> LockGuard(QueueLock); in wait() local
169 llvm::sys::ScopedReader LockGuard(ThreadsLock); in isWorkerThread() local
180 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
184 llvm::sys::ScopedReader LockGuard(ThreadsLock); in ~ThreadPool() local
/aosp_15_r20/external/rust/android-crates-io/crates/tokio/src/util/
Dtry_lock.rs13 pub(crate) struct LockGuard<'a, T> { struct
21 unsafe impl<T: Sync> Sync for LockGuard<'_, T> {} argument
62 impl<T> Deref for LockGuard<'_, T> { implementation
70 impl<T> DerefMut for LockGuard<'_, T> { implementation
76 impl<T> Drop for LockGuard<'_, T> { implementation
/aosp_15_r20/external/llvm/lib/Support/
H A DThreadPool.cpp36 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() local
50 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local
64 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local
77 std::unique_lock<std::mutex> LockGuard(CompletionLock); in wait() local
91 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() local
105 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DThreadPool.cpp36 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() local
49 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local
60 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local
73 std::unique_lock<std::mutex> LockGuard(CompletionLock); in wait() local
87 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() local
101 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/Support/
DThreadSafeAllocator.h27 struct LockGuard { struct
28 LockGuard(std::atomic_flag &Flag) : Flag(Flag) { in LockGuard() function
33 ~LockGuard() { Flag.clear(std::memory_order_release); } in ~LockGuard() argument
51 LockGuard Lock(Flag); in applyLocked() argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/Support/
DThreadSafeAllocator.h27 struct LockGuard { struct
28 LockGuard(std::atomic_flag &Flag) : Flag(Flag) { in LockGuard() function
33 ~LockGuard() { Flag.clear(std::memory_order_release); } in ~LockGuard() argument
51 LockGuard Lock(Flag); in applyLocked() argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/Support/
DThreadSafeAllocator.h27 struct LockGuard { struct
28 LockGuard(std::atomic_flag &Flag) : Flag(Flag) { in LockGuard() argument
33 ~LockGuard() { Flag.clear(std::memory_order_release); } in ~LockGuard() argument
51 LockGuard Lock(Flag); in applyLocked() argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/Support/
DThreadSafeAllocator.h27 struct LockGuard { struct
28 LockGuard(std::atomic_flag &Flag) : Flag(Flag) { in LockGuard() function
33 ~LockGuard() { Flag.clear(std::memory_order_release); } in ~LockGuard() argument
51 LockGuard Lock(Flag); in applyLocked() argument
/aosp_15_r20/external/libcxxabi/src/
H A Dcxa_guard_impl.h348 struct LockGuard { struct
351 LockGuard& operator=(LockGuard const&) = delete;
353 explicit LockGuard(const char* calling_func) in LockGuard() function
359 ~LockGuard() { in ~LockGuard()
/aosp_15_r20/external/cronet/third_party/libc++abi/src/src/
H A Dcxa_guard_impl.h390 struct LockGuard { struct
393 LockGuard& operator=(LockGuard const&) = delete;
395 explicit LockGuard(const char* calling_func) : calling_func_(calling_func) { in LockGuard() argument
400 ~LockGuard() { in ~LockGuard()
/aosp_15_r20/external/rust/android-crates-io/crates/atomic/src/
Dfallback.rs87 fn lock(addr: usize) -> LockGuard { in lock()
93 struct LockGuard(&'static SpinLock); struct
94 impl Drop for LockGuard { implementation
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/backtrace/src/
H A Dlib.rs149 pub struct LockGuard(Option<MutexGuard<'static, ()>>); struct
157 impl Drop for LockGuard { implementation
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/backtrace/src/
H A Dlib.rs149 pub struct LockGuard(Option<MutexGuard<'static, ()>>); struct
157 impl Drop for LockGuard { implementation
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/backtrace/src/
H A Dlib.rs149 pub struct LockGuard(Option<MutexGuard<'static, ()>>); struct
157 impl Drop for LockGuard { implementation
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/backtrace/src/
H A Dlib.rs149 pub struct LockGuard(Option<MutexGuard<'static, ()>>); struct
157 impl Drop for LockGuard { implementation
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/backtrace/src/
H A Dlib.rs149 pub struct LockGuard(Option<MutexGuard<'static, ()>>); struct
157 impl Drop for LockGuard { implementation
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/vendor/backtrace/src/
H A Dlib.rs165 pub struct LockGuard(Option<MutexGuard<'static, ()>>); struct
171 impl Drop for LockGuard { implementation
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/vendor/backtrace/src/
H A Dlib.rs165 pub struct LockGuard(Option<MutexGuard<'static, ()>>); struct
171 impl Drop for LockGuard { implementation
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/vendor/backtrace/src/
H A Dlib.rs165 pub struct LockGuard(Option<MutexGuard<'static, ()>>); struct
171 impl Drop for LockGuard { implementation
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/vendor/backtrace/src/
H A Dlib.rs165 pub struct LockGuard(Option<MutexGuard<'static, ()>>); struct
171 impl Drop for LockGuard { implementation
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/vendor/backtrace/src/
H A Dlib.rs165 pub struct LockGuard(Option<MutexGuard<'static, ()>>); struct
171 impl Drop for LockGuard { implementation
/aosp_15_r20/external/llvm/unittests/Support/
H A DThreadPool.cpp60 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in waitForMainThread() local
67 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in setMainThreadReady() local
/aosp_15_r20/system/chre/util/include/chre/util/
H A Dlock_guard_impl.h26 LockGuard<MutexType>::LockGuard(MutexType &mutex) : mMutex(mutex) { in LockGuard() function
/aosp_15_r20/system/chre/util/tests/
H A Dlock_guard_test.cc43 TEST(LockGuard, LockUnlock) { in TEST() argument
/aosp_15_r20/bionic/libc/private/
H A Dbionic_lock.h88 explicit LockGuard(Lock& lock) : lock_(lock) { in LockGuard() function

123