/external/libcxx/include/ |
D | mutex | 99 class lock_guard 104 explicit lock_guard(mutex_type& m); 105 lock_guard(mutex_type& m, adopt_lock_t); 106 ~lock_guard(); 108 lock_guard(lock_guard const&) = delete; 109 lock_guard& operator=(lock_guard const&) = delete; 112 template <class... MutexTypes> // Variadic lock_guard only provided in ABI V2. 113 class lock_guard 116 explicit lock_guard(MutexTypes&... m); 117 lock_guard(MutexTypes&... m, adopt_lock_t); [all …]
|
D | __mutex_base | 84 // Forward declare lock_guard as a variadic template even in C++03 to keep 88 class _LIBCPP_TEMPLATE_VIS lock_guard; 94 lock_guard 96 lock_guard<_Mutex> 107 explicit lock_guard(mutex_type& __m) _LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_capability(__m)) 110 …lock_guard(mutex_type& __m, adopt_lock_t) _LIBCPP_THREAD_SAFETY_ANNOTATION(requires_capability(__m… 113 ~lock_guard() _LIBCPP_THREAD_SAFETY_ANNOTATION(release_capability()) {__m_.unlock();} 116 lock_guard(lock_guard const&) _LIBCPP_EQUAL_DELETE; 117 lock_guard& operator=(lock_guard const&) _LIBCPP_EQUAL_DELETE;
|
D | condition_variable | 177 {lock_guard<mutex> __lx(*__mut_);} 185 {lock_guard<mutex> __lx(*__mut_);} 203 lock_guard<unique_lock<mutex> > __lx(__lk, adopt_lock); 225 lock_guard<unique_lock<mutex> > __lx(__lk, adopt_lock);
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/ |
D | variadic_types.pass.cpp | 44 using T = std::lock_guard<>; in main() 49 using T = std::lock_guard<M1>; in main() 54 using T = std::lock_guard<M1>; in main() 60 using T = std::lock_guard<M1, M2>; in main() 66 using T = std::lock_guard<M1, M1, M2>; in main() 71 using T = std::lock_guard<M1, M1>; in main() 76 using T = std::lock_guard<M1, M1, M1>; in main()
|
D | variadic_mutex.pass.cpp | 71 using LG = std::lock_guard<>; in main() 75 using LG = std::lock_guard<TestMutex, TestMutex>; in main() 84 using LG = std::lock_guard<TestMutex, TestMutex, TestMutex>; in main() 95 using LG = std::lock_guard<MT, MT>; in main() 106 using LG = std::lock_guard<MT, MT, MT>; in main()
|
D | variadic_copy.fail.cpp | 28 using LG = std::lock_guard<>; in main() 33 using LG = std::lock_guard<M, M>; in main() 38 using LG = std::lock_guard<M, M, M>; in main()
|
D | variadic_assign.fail.cpp | 29 using LG = std::lock_guard<>; in main() 34 using LG = std::lock_guard<M, M>; in main() 40 using LG = std::lock_guard<M, M, M>; in main()
|
D | variadic_mutex.fail.cpp | 32 using LG = std::lock_guard<>; in main() 38 using LG = std::lock_guard<M, M>; in main() 44 using LG = std::lock_guard<M, M, M>; in main()
|
D | variadic_adopt_lock.pass.cpp | 39 using LG = std::lock_guard<>; in main() 44 using LG = std::lock_guard<TestMutex, TestMutex>; in main() 54 using LG = std::lock_guard<TestMutex, TestMutex, TestMutex>; in main()
|
D | copy.fail.cpp | 21 std::lock_guard<std::mutex> lg0(m); in main() 22 std::lock_guard<std::mutex> lg(lg0); in main()
|
D | assign.fail.cpp | 22 std::lock_guard<std::mutex> lg0(m0); in main() 23 std::lock_guard<std::mutex> lg(m1); in main()
|
D | mutex.fail.cpp | 23 std::lock_guard<std::mutex> lg = m; // expected-error{{no viable conversion}} in main()
|
D | types.pass.cpp | 27 static_assert((std::is_same<std::lock_guard<std::mutex>::mutex_type, in main()
|
/external/vulkan-validation-layers/layers/ |
D | object_tracker.cpp | 479 std::lock_guard<std::mutex> lock(global_lock); in GetPhysicalDeviceFeatures() 493 std::lock_guard<std::mutex> lock(global_lock); in GetPhysicalDeviceFormatProperties() 510 std::lock_guard<std::mutex> lock(global_lock); in GetPhysicalDeviceImageFormatProperties() 526 std::lock_guard<std::mutex> lock(global_lock); in GetPhysicalDeviceProperties() 540 std::lock_guard<std::mutex> lock(global_lock); in GetPhysicalDeviceMemoryProperties() 565 std::lock_guard<std::mutex> lock(global_lock); in QueueSubmit() 603 std::lock_guard<std::mutex> lock(global_lock); in QueueWaitIdle() 616 std::lock_guard<std::mutex> lock(global_lock); in DeviceWaitIdle() 630 std::lock_guard<std::mutex> lock(global_lock); in AllocateMemory() 638 std::lock_guard<std::mutex> lock(global_lock); in AllocateMemory() [all …]
|
D | unique_objects.cpp | 384 std::lock_guard<std::mutex> lock(global_lock); in AllocateMemory() 399 std::lock_guard<std::mutex> lock(global_lock); in CreateComputePipelines() 421 std::lock_guard<std::mutex> lock(global_lock); in CreateComputePipelines() 430 std::lock_guard<std::mutex> lock(global_lock); in CreateComputePipelines() 447 std::lock_guard<std::mutex> lock(global_lock); in CreateGraphicsPipelines() 477 std::lock_guard<std::mutex> lock(global_lock); in CreateGraphicsPipelines() 486 std::lock_guard<std::mutex> lock(global_lock); in CreateGraphicsPipelines() 530 std::lock_guard<std::mutex> lock(global_lock); in CreateSwapchainKHR() 546 std::lock_guard<std::mutex> lock(global_lock); in CreateSwapchainKHR() 558 std::lock_guard<std::mutex> lock(global_lock); in GetSwapchainImagesKHR() [all …]
|
/external/v8/src/compiler-dispatcher/ |
D | optimizing-compile-dispatcher.cc | 39 base::LockGuard<base::Mutex> lock_guard(&dispatcher->ref_count_mutex_); in CompileTask() local 68 base::LockGuard<base::Mutex> lock_guard(&dispatcher->ref_count_mutex_); in Run() local 83 base::LockGuard<base::Mutex> lock_guard(&ref_count_mutex_); in ~OptimizingCompileDispatcher() local 157 base::LockGuard<base::Mutex> lock_guard(&ref_count_mutex_); in Flush() local 171 base::LockGuard<base::Mutex> lock_guard(&ref_count_mutex_); in Stop() local
|
/external/v8/src/zone/ |
D | accounting-allocator.cc | 44 base::LockGuard<base::Mutex> lock_guard(&unused_segments_mutex_); in ConfigureSegmentPool() local 137 base::LockGuard<base::Mutex> lock_guard(&unused_segments_mutex_); in GetSegmentFromPool() local 172 base::LockGuard<base::Mutex> lock_guard(&unused_segments_mutex_); in AddSegmentToPool() local 188 base::LockGuard<base::Mutex> lock_guard(&unused_segments_mutex_); in ClearPool() local
|
/external/v8/src/ |
D | futex-emulation.cc | 33 base::LockGuard<base::Mutex> lock_guard(FutexEmulation::mutex_.Pointer()); in NotifyWake() local 84 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in Wait() local 199 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in Wake() local 222 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in NumWaitersForTesting() local
|
/external/v8/src/snapshot/ |
D | snapshot-external.cc | 26 base::LockGuard<base::Mutex> lock_guard( in SetSnapshotFromFile() local 38 base::LockGuard<base::Mutex> lock_guard( in DefaultSnapshotBlob() local
|
/external/libcxx/src/ |
D | mutex.cpp | 97 lock_guard<mutex> _(__m_); in ~timed_mutex() 124 lock_guard<mutex> _(__m_); in unlock() 139 lock_guard<mutex> _(__m_); in ~recursive_timed_mutex()
|
D | shared_mutex.cpp | 52 lock_guard<mutex> _(__mut_); in unlock() 88 lock_guard<mutex> _(__mut_); in unlock_shared()
|
/external/v8/src/base/platform/ |
D | condition-variable.cc | 160 LockGuard<Mutex> lock_guard(&mutex_); 188 LockGuard<Mutex> lock_guard(&mutex_); 234 LockGuard<Mutex> lock_guard(native_handle_.mutex()); 260 LockGuard<Mutex> lock_guard(native_handle_.mutex());
|
/external/libcxx/src/experimental/ |
D | memory_resource.cpp | 112 lock_guard<mutex> guard(res_lock); in __default_memory_resource() 117 lock_guard<mutex> guard(res_lock); in __default_memory_resource()
|
/external/v8/src/base/utils/ |
D | random-number-generator.cc | 25 LockGuard<Mutex> lock_guard(entropy_mutex.Pointer()); in SetEntropySource() local 32 { LockGuard<Mutex> lock_guard(entropy_mutex.Pointer()); in RandomNumberGenerator() local
|
/external/parameter-framework/upstream/parameter/ |
D | ElementHandle.cpp | 42 using std::lock_guard; 218 lock_guard<mutex> autoLock(mParameterMgr.getBlackboardMutex()); in setAs() 233 lock_guard<mutex> autoLock(mParameterMgr.getBlackboardMutex()); in getAs()
|