Home
last modified time | relevance | path

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

12

/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
DdeBlockBuffer.hpp147 ScopedLock readLock (m_readLock); in clear()
148 ScopedLock writeLock (m_writeLock); in clear()
/external/gwp_asan/gwp_asan/
Dmutex.h38 class ScopedLock {
40 explicit ScopedLock(Mutex &Mx) : Mu(Mx) { Mu.lock(); } in ScopedLock() function
41 ~ScopedLock() { Mu.unlock(); } in ~ScopedLock()
42 ScopedLock(const ScopedLock &) = delete;
43 ScopedLock &operator=(const ScopedLock &) = delete;
Dguarded_pool_allocator.cpp171 ScopedLock L(PoolMutex); in allocate()
224 ScopedLock L(PoolMutex); in deallocate()
231 ScopedLock L(PoolMutex); in deallocate()
253 ScopedLock L(PoolMutex); in deallocate()
259 ScopedLock L(PoolMutex); in getSize()
/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.h66 ScopedLock L(Mutex); in link()
71 ScopedLock L(Mutex); in unlink()
78 ScopedLock L(Mutex); in get()
Dsecondary.h104 ScopedLock L(Mutex); in store()
138 ScopedLock L(Mutex); in retrieve()
203 ScopedLock L(Mutex); in empty()
222 ScopedLock L(Mutex); in releaseOlderThan()
346 ScopedLock L(Mutex); in allocate()
404 ScopedLock L(Mutex); in allocate()
421 ScopedLock L(Mutex); in deallocate()
Dtsd_shared.h106 ScopedLock L(MutexTSDs); in setNumberOfTSDs()
132 ScopedLock L(Mutex); in initOnceMaybe()
153 ScopedLock L(MutexTSDs); in getTSDAndLockSlow()
Dprimary32.h109 ScopedLock L(Sci->Mutex); in popBatch()
127 ScopedLock L(Sci->Mutex); in pushBatch()
203 ScopedLock L(Sci->Mutex); in releaseToOS()
259 ScopedLock L(RegionsStashMutex); in allocateRegionSlow()
279 ScopedLock L(RegionsStashMutex); in allocateRegion()
Dquarantine.h205 ScopedLock L(CacheMutex); in drain()
214 ScopedLock L(CacheMutex); in drainAndRecycle()
252 ScopedLock L(CacheMutex); in recycle()
/external/dng_sdk/source/
Ddng_pthread.cpp108 struct ScopedLock struct
112 ScopedLock(dng_pthread_mutex_impl *arg) : mutex(arg) in ScopedLock() function
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() argument
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/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/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/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/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()
/external/deqp/framework/common/
DtcuThreadUtil.cpp245 de::ScopedLock lock(m_messageLock); in pushMessage()
251 de::ScopedLock lock(m_messageLock); in getMessageCount()
257 de::ScopedLock lock(m_messageLock); in getMessage()
DtcuThreadUtil.hpp179 ThreadStatus getStatus (void) const { de::ScopedLock lock(m_statusLock); return m_status; } in getStatus()
180 void setStatus (ThreadStatus status) { de::ScopedLock lock(m_statusLock); m_status = status; } in setStatus()
/external/deqp/framework/platform/ios/
DtcuIOSApp.mm93 de::ScopedLock stateLock(m_lock);
103 de::ScopedLock stateLock(m_lock);
111 de::ScopedLock stateLock(m_lock);
117 de::ScopedLock stateLock(m_lock);
/external/gemmlowp/eight_bit_int_gemm/
Deight_bit_int_gemm.cc307 ScopedLock sl(GlobalMutexes::EightBitIntGemm()); in EightBitIntGemm()
344 ScopedLock sl(GlobalMutexes::EightBitIntGemm()); in EightBitIntGemm()
405 ScopedLock sl(GlobalMutexes::EightBitIntGemm()); in SetMaxNumThreads()
411 ScopedLock sl(GlobalMutexes::EightBitIntGemm()); in FreePersistentResources()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DCrashRecoveryContext.cpp120 sys::ScopedLock L(*gCrashRecoveryContextMutex); in Enable()
129 sys::ScopedLock L(*gCrashRecoveryContextMutex); in Disable()

12