/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | ThreadPool.cpp | 36 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() local 38 QueueCondition.wait(LockGuard, in ThreadPool() 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 77 CompletionCondition.wait(LockGuard, in wait() 87 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() local 101 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
|
/external/rust/crates/tokio/src/util/ |
D | try_lock.rs | 13 pub(crate) struct LockGuard<'a, T> { struct 21 unsafe impl<T: Sync> Sync for LockGuard<'_, T> {} argument 46 pub(crate) fn try_lock(&self) -> Option<LockGuard<'_, T>> { in try_lock() 55 Some(LockGuard { in try_lock() 62 impl<T> Deref for LockGuard<'_, T> { implementation 70 impl<T> DerefMut for LockGuard<'_, T> { implementation 76 impl<T> Drop for LockGuard<'_, T> { implementation
|
/external/llvm/lib/Support/ |
D | ThreadPool.cpp | 36 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() local 38 QueueCondition.wait(LockGuard, in ThreadPool() 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 81 CompletionCondition.wait(LockGuard, in wait() 91 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() local 105 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
|
/external/llvm-project/llvm/lib/Support/ |
D | ThreadPool.cpp | 34 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() local 36 QueueCondition.wait(LockGuard, in ThreadPool() 56 std::lock_guard<std::mutex> LockGuard(QueueLock); in ThreadPool() local 71 std::unique_lock<std::mutex> LockGuard(QueueLock); in wait() local 72 CompletionCondition.wait(LockGuard, [&] { return workCompletedUnlocked(); }); in wait() 81 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() local 95 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
|
/external/swiftshader/src/Common/ |
D | MutexLock.hpp | 177 class LockGuard class 180 explicit LockGuard(sw::MutexLock &mutex) : mutex(&mutex) in LockGuard() function in LockGuard 185 explicit LockGuard(sw::MutexLock *mutex) : mutex(mutex) in LockGuard() function in LockGuard 190 ~LockGuard() in ~LockGuard()
|
/external/llvm-project/libcxxabi/src/ |
D | cxa_guard_impl.h | 313 LockGuard g("__cxa_guard_acquire"); in acquire_init_byte() 339 LockGuard g("__cxa_guard_release"); in release_init_byte() 353 LockGuard g("__cxa_guard_abort"); in abort_init_byte() 373 struct LockGuard { struct 374 LockGuard() = delete; 375 LockGuard(LockGuard const&) = delete; 376 LockGuard& operator=(LockGuard const&) = delete; argument 378 explicit LockGuard(const char* calling_func) in LockGuard() function 384 ~LockGuard() { in ~LockGuard() argument
|
/external/swiftshader/src/OpenGL/common/ |
D | Object.cpp | 35 LockGuard instances_lock(instances_mutex); in Object() 45 LockGuard instances_lock(instances_mutex); in ~Object() 95 LockGuard instances_lock(Object::instances_mutex); in ~ObjectLeakCheck()
|
/external/llvm-project/clang/lib/Tooling/ |
D | AllTUsExecution.cpp | 37 std::unique_lock<std::mutex> LockGuard(Mutex); in addResult() local 92 std::unique_lock<std::mutex> LockGuard(TUMutex); in execute() local 97 std::unique_lock<std::mutex> LockGuard(TUMutex); in execute() local 111 std::unique_lock<std::mutex> LockGuard(TUMutex); in execute() local
|
/external/llvm/unittests/Support/ |
D | ThreadPool.cpp | 60 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in waitForMainThread() local 61 WaitMainThread.wait(LockGuard, [&] { return MainThreadReady; }); in waitForMainThread() 67 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in setMainThreadReady() local
|
/external/llvm-project/llvm/unittests/Support/ |
D | ThreadPool.cpp | 59 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in waitForMainThread() local 60 WaitMainThread.wait(LockGuard, [&] { return MainThreadReady; }); in waitForMainThread() 66 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in setMainThreadReady() local
|
/external/llvm-project/clang/lib/Tooling/DependencyScanning/ |
D | DependencyScanningFilesystem.cpp | 121 std::unique_lock<std::mutex> LockGuard(Shard.CacheLock); in get() local 168 std::unique_lock<std::mutex> LockGuard(SharedCacheEntry.ValueLock); in getOrCreateFileSystemEntry() local
|
/external/llvm-project/clang/tools/clang-scan-deps/ |
D | ClangScanDeps.cpp | 35 std::unique_lock<std::mutex> LockGuard(Lock); in applyLocked() local 63 std::unique_lock<std::mutex> LockGuard(CacheLock); in findResourceDir() local 519 std::unique_lock<std::mutex> LockGuard(Lock); in main() local
|
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/ |
D | FindAllSymbolsMain.cpp | 84 std::unique_lock<std::mutex> LockGuard(SymbolMutex); in Merge() local
|
/external/llvm-project/llvm/lib/DWARFLinker/ |
D | DWARFLinker.cpp | 2572 std::unique_lock<std::mutex> LockGuard(ProcessedFilesMutex); in link() local 2581 std::unique_lock<std::mutex> LockGuard(ProcessedFilesMutex); in link() local 2584 LockGuard, [&]() { return ProcessedFiles[I]; }); in link()
|