Home
last modified time | relevance | path

Searched refs:ScopedLock (Results 1 – 25 of 57) sorted by relevance

123

/external/deqp/framework/delibs/decpp/
DdeMutex.hpp61 class ScopedLock class
64 ScopedLock (Mutex& mutex);
65 ~ScopedLock (void) { m_mutex.unlock(); } in ~ScopedLock()
68 ScopedLock (const ScopedLock& other); // Not allowed!
69 ScopedLock& operator= (const ScopedLock& other); // Not allowed!
125 inline ScopedLock::ScopedLock (Mutex& mutex) in ScopedLock() function in de::ScopedLock
/external/gwp_asan/gwp_asan/
Dmutex.h30 class ScopedLock {
32 explicit ScopedLock(Mutex &Mx) : Mu(Mx) { Mu.lock(); } in ScopedLock() function
33 ~ScopedLock() { Mu.unlock(); } in ~ScopedLock()
34 ScopedLock(const ScopedLock &) = delete;
35 ScopedLock &operator=(const ScopedLock &) = delete;
Dguarded_pool_allocator.cpp216 ScopedLock L(PoolMutex); in allocate()
247 ScopedLock UL(BacktraceMutex); in allocate()
277 ScopedLock L(PoolMutex); in deallocate()
284 ScopedLock L(PoolMutex); in deallocate()
298 ScopedLock UL(BacktraceMutex); in deallocate()
307 ScopedLock L(PoolMutex); in deallocate()
313 ScopedLock L(PoolMutex); in getSize()
/external/llvm-project/compiler-rt/lib/gwp_asan/
Dmutex.h30 class ScopedLock {
32 explicit ScopedLock(Mutex &Mx) : Mu(Mx) { Mu.lock(); } in ScopedLock() function
33 ~ScopedLock() { Mu.unlock(); } in ~ScopedLock()
34 ScopedLock(const ScopedLock &) = delete;
35 ScopedLock &operator=(const ScopedLock &) = delete;
Dguarded_pool_allocator.cpp174 ScopedLock L(PoolMutex); in allocate()
228 ScopedLock L(PoolMutex); in deallocate()
235 ScopedLock L(PoolMutex); in deallocate()
257 ScopedLock L(PoolMutex); in deallocate()
263 ScopedLock L(PoolMutex); in getSize()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dmutex.h59 class ScopedLock {
61 explicit ScopedLock(HybridMutex &M) : Mutex(M) { Mutex.lock(); } in ScopedLock() function
62 ~ScopedLock() { Mutex.unlock(); } in ~ScopedLock()
67 ScopedLock(const ScopedLock &) = delete;
68 void operator=(const ScopedLock &) = delete;
Dstats.h68 ScopedLock L(Mutex); in link()
73 ScopedLock L(Mutex); in unlink()
80 ScopedLock L(Mutex); in get()
Dsecondary.h100 ScopedLock L(Mutex); in store()
133 ScopedLock L(Mutex); in retrieve()
198 ScopedLock L(Mutex); in empty()
217 ScopedLock L(Mutex); in releaseOlderThan()
344 ScopedLock L(Mutex); in allocate()
402 ScopedLock L(Mutex); in allocate()
419 ScopedLock L(Mutex); in deallocate()
Dtsd_shared.h112 ScopedLock L(MutexTSDs); in setNumberOfTSDs()
143 ScopedLock L(Mutex); in initOnceMaybe()
164 ScopedLock L(MutexTSDs); in getTSDAndLockSlow()
/external/scudo/standalone/
Dmutex.h59 class ScopedLock {
61 explicit ScopedLock(HybridMutex &M) : Mutex(M) { Mutex.lock(); } in ScopedLock() function
62 ~ScopedLock() { Mutex.unlock(); } in ~ScopedLock()
67 ScopedLock(const ScopedLock &) = delete;
68 void operator=(const ScopedLock &) = delete;
Dstats.h68 ScopedLock L(Mutex); in link()
73 ScopedLock L(Mutex); in unlink()
80 ScopedLock L(Mutex); in get()
Dtsd_shared.h42 ScopedLock L(Mutex); in initOnceMaybe()
119 ScopedLock L(MutexTSDs); in setNumberOfTSDs()
164 ScopedLock L(MutexTSDs); in getTSDAndLockSlow()
Dsecondary.h165 ScopedLock L(Mutex); in store()
222 ScopedLock L(Mutex); in retrieve()
304 ScopedLock L(Mutex); in disableMemoryTagging()
333 ScopedLock L(Mutex); in empty()
374 ScopedLock L(Mutex); in releaseOlderThan()
510 ScopedLock L(Mutex); in allocate()
572 ScopedLock L(Mutex); in allocate()
589 ScopedLock L(Mutex); in deallocate()
/external/dng_sdk/source/
Ddng_pthread.cpp108 struct ScopedLock struct
112 ScopedLock(dng_pthread_mutex_impl *arg) : mutex(arg) in ScopedLock() argument
116 ScopedLock(dng_pthread_mutex_impl &arg) : mutex(&arg) in ScopedLock() argument
120 ~ScopedLock() in ~ScopedLock() argument
125 ScopedLock &operator=(const ScopedLock &);
126 ScopedLock(const ScopedLock &) { } in ScopedLock() function
136 ScopedLock lock(validationLock); in ValidateMutex()
147 ScopedLock lock(validationLock); in ValidateCond()
228 ScopedLock lockMap(primaryHandleMapLock); in trampoline()
331 ScopedLock lockMap(primaryHandleMapLock); in dng_pthread_create()
[all …]
/external/gemmlowp/profiling/
Dinstrumentation.h94 struct ScopedLock { struct
95 ScopedLock(Mutex* m) : _m(m) { _m->Lock(); } in ScopedLock() function
96 ~ScopedLock() { _m->Unlock(); } in ~ScopedLock() argument
121 ScopedLock sl(lock); in Push()
128 ScopedLock sl(lock); in Pop()
134 ScopedLock sl(lock); in UpdateTop()
172 ScopedLock sl(GlobalMutexes::Profiler()); in ThreadExitCallback()
223 ScopedLock sl(GlobalMutexes::Profiler()); in RegisterCurrentThreadForProfiling()
Dprofiler.h310 ScopedLock sl(thread->stack.lock); in RecordStack()
333 ScopedLock sl(GlobalMutexes::Profiler()); in ProfilerThreadFunc()
350 ScopedLock sl(GlobalMutexes::Profiler()); in StartProfiling()
360 ScopedLock sl(GlobalMutexes::Profiler()); in FinishProfiling()
/external/gwp_asan/gwp_asan/tests/
Dmutex_test.cpp18 using gwp_asan::ScopedLock;
37 { ScopedLock L(Mu); } in TEST()
43 ScopedLock L(Mu); in TEST()
61 ScopedLock L(*Mu); in synchronousIncrementTask()
/external/llvm-project/compiler-rt/lib/gwp_asan/tests/
Dmutex_test.cpp18 using gwp_asan::ScopedLock;
37 { ScopedLock L(Mu); } in TEST()
43 ScopedLock L(Mu); in TEST()
61 ScopedLock L(*Mu); in synchronousIncrementTask()
/external/deqp/executor/
DxeCallQueue.cpp72 de::ScopedLock lock(m_lock); in callNext()
92 de::ScopedLock lock(m_lock); in callNext()
105 de::ScopedLock lock(m_lock); in callNext()
112 de::ScopedLock lock (m_lock); in getEmptyCall()
135 de::ScopedLock lock(m_lock); in enqueue()
149 de::ScopedLock lock(m_lock); in freeCall()
DxeTcpIpLink.cpp94 de::ScopedLock lock(m_lock); in getState()
101 de::ScopedLock lock(m_lock); in getState()
109 de::ScopedLock lock(m_lock); in setCallbacks()
123 de::ScopedLock lock(m_lock); in setState()
166 de::ScopedLock lock(m_lock); in onKeepaliveReceived()
172 de::ScopedLock lock(m_lock); in getLastKeepaliveRecevied()
/external/deqp/framework/platform/android/
DtcuAndroidWindow.cpp59 de::ScopedLock lock(m_stateLock); in tryAcquire()
72 de::ScopedLock lock(m_stateLock); in release()
89 de::ScopedLock lock(m_stateLock); in markForDestroy()
101 de::ScopedLock lock(m_stateLock); in isPendingDestroy()
107 de::ScopedLock lock(m_stateLock); in tryAcquireForDestroy()
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DProcessDebugger.cpp82 llvm::sys::ScopedLock lock(m_mutex); in DetachProcess()
219 llvm::sys::ScopedLock lock(m_mutex); in DestroyProcess()
250 llvm::sys::ScopedLock lock(m_mutex); in HaltProcess()
267 llvm::sys::ScopedLock lock(m_mutex); in ReadMemory()
301 llvm::sys::ScopedLock lock(m_mutex); in WriteMemory()
331 llvm::sys::ScopedLock lock(m_mutex); in AllocateMemory()
359 llvm::sys::ScopedLock lock(m_mutex); in DeallocateMemory()
384 llvm::sys::ScopedLock lock(m_mutex); in GetMemoryRegionInfo()
488 llvm::sys::ScopedLock lock(m_mutex); in OnDebugException()
540 llvm::sys::ScopedLock lock(m_mutex); in OnDebuggerError()
/external/deqp/framework/platform/lnx/
DtcuLnx.cpp43 de::ScopedLock lock(m_mutex); in setQuitFlag()
49 de::ScopedLock lock(m_mutex); in getQuitFlag()
/external/deqp/execserver/
DxsTcpServer.cpp88 de::ScopedLock lock(m_connectionListLock); in connectionDone()
100 de::ScopedLock lock(m_connectionListLock); in addLiveConnection()
106 de::ScopedLock lock(m_connectionListLock); in deleteDoneConnections()
/external/llvm/lib/Support/
DCrashRecoveryContext.cpp196 sys::ScopedLock L(*gCrashRecoveryContextMutex); in Enable()
212 sys::ScopedLock L(*gCrashRecoveryContextMutex); in Disable()
282 sys::ScopedLock L(*gCrashRecoveryContextMutex); in Enable()
301 sys::ScopedLock L(*gCrashRecoveryContextMutex); in Disable()

123