Home
last modified time | relevance | path

Searched refs:adopt_lock (Results 1 – 25 of 37) sorted by relevance

12

/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
Dadopt_lock.pass.cpp39 LG lg(std::adopt_lock); in main()
46 LG lg(std::adopt_lock, m1); in main()
56 LG lg(std::adopt_lock, m1, m2); in main()
66 LG lg(std::adopt_lock, m1, m2, m3); in main()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
Dadopt_lock.pass.cpp38 LG lg(std::adopt_lock); in main()
45 LG lg(std::adopt_lock, m1); in main()
55 LG lg(std::adopt_lock, m1, m2); in main()
65 LG lg(std::adopt_lock, m1, m2, m3); in main()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
Dmutex_adopt_lock.pass.cpp29 std::unique_lock<M> lk(m, std::adopt_lock); in main()
37 std::unique_lock<M> lk(m, std::adopt_lock); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
Dmutex_adopt_lock.pass.cpp28 std::unique_lock<M> lk(m, std::adopt_lock); in main()
36 std::unique_lock<M> lk(m, std::adopt_lock); in main()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmutex_adopt_lock.pass.cpp35 std::unique_lock<M> lk(m, std::adopt_lock); in main()
43 std::unique_lock<M> lk(m, std::adopt_lock); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmutex_adopt_lock.pass.cpp29 std::unique_lock<M> lk(m, std::adopt_lock); in main()
37 std::unique_lock<M> lk(m, std::adopt_lock); in main()
/external/swiftshader/third_party/marl/include/marl/
Dmutex.h48 std::unique_lock<std::mutex> lock(_, std::adopt_lock); in wait_locked()
58 std::unique_lock<std::mutex> lock(_, std::adopt_lock); in wait_until_locked()
/external/angle/src/common/
DSynchronizedValue.h31 : mLock(mutex, std::adopt_lock), mValue(value) in ConstStrictLockPtr()
60 : BaseType(value, mutex, std::adopt_lock) in StrictLockPtr()
100 : BaseType(mutex, std::adopt_lock), mValue(value)
142 : BaseType(value, mutex, std::adopt_lock)
327 return UniqueLockPtr<T, Lockable>(mValue, mMutex, std::adopt_lock);
331 return ConstUniqueLockPtr<T, Lockable>(mValue, mMutex, std::adopt_lock);
/external/llvm-project/lldb/include/lldb/Utility/
DStreamTee.h55 std::adopt_lock);
57 std::adopt_lock);
/external/libcxx/test/libcxx/thread/thread.mutex/
Dthread_safety_annotations_not_enabled.pass.cpp24 std::unique_lock<std::mutex> g(m, std::adopt_lock); in main()
/external/llvm-project/libcxx/test/libcxx/thread/thread.mutex/
Dthread_safety_annotations_not_enabled.pass.cpp25 std::unique_lock<std::mutex> g(m, std::adopt_lock); in main()
/external/llvm-project/libcxx/test/libcxx/thread/thread.lock/thread.lock.guard/
Dnodiscard.verify.cpp36 …std::lock_guard<std::mutex>{m, std::adopt_lock}; // expected-warning {{ignoring temporary created … in main()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/
Dadopt_lock.pass.cpp28 std::lock_guard<std::mutex> lg(m, std::adopt_lock); in main()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/
Dtypes.pass.cpp33 T3 t3 = std::adopt_lock; ((void)t3); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/
Dtypes.pass.cpp33 T3 t3 = std::adopt_lock; ((void)t3); in main()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dscoped_lock.hpp29 enum adopt_lock_t { adopt_lock }; enumerator
/external/llvm-project/lldb/source/Breakpoint/
DBreakpointLocationCollection.cpp182 std::lock_guard<std::mutex> lhs_guard(m_collection_mutex, std::adopt_lock); in operator =()
183 std::lock_guard<std::mutex> rhs_guard(rhs.m_collection_mutex, std::adopt_lock); in operator =()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/
Dadopt_lock.pass.cpp39 std::lock_guard<std::mutex> lg(m, std::adopt_lock); in f()
/external/gemmlowp/profiling/
Dpthread_everywhere.h67 std::unique_lock<std::mutex> lock(**mutex, std::adopt_lock); in pthread_cond_wait()
/external/drm_hwcomposer/utils/
DWorker.cpp61 std::unique_lock<std::mutex> lk(mutex_, std::adopt_lock); in WaitForSignalOrExitLocked()
/external/libgav1/libgav1/src/utils/
Dthreadpool.h126 std::unique_lock<std::mutex> queue_lock(queue_mutex_, std::adopt_lock); in Wait()
/external/llvm-project/lldb/source/Target/
DSectionLoadList.cpp31 std::lock_guard<std::recursive_mutex> lhs_guard(m_mutex, std::adopt_lock); in operator =()
32 std::lock_guard<std::recursive_mutex> rhs_guard(rhs.m_mutex, std::adopt_lock); in operator =()
/external/llvm-project/libcxx/include/
Dcondition_variable202 lock_guard<unique_lock<mutex> > __lx(__lk, adopt_lock);
224 lock_guard<unique_lock<mutex> > __lx(__lk, adopt_lock);
/external/llvm-project/lldb/include/lldb/Core/
DModuleSpec.h296 std::lock_guard<std::recursive_mutex> lhs_guard(m_mutex, std::adopt_lock);
298 std::adopt_lock);
/external/libcxx/include/
Dcondition_variable203 lock_guard<unique_lock<mutex> > __lx(__lk, adopt_lock);
225 lock_guard<unique_lock<mutex> > __lx(__lk, adopt_lock);

12