Home
last modified time | relevance | path

Searched refs:lock_guard (Results 1 – 25 of 161) sorted by relevance

1234567

/third_party/gn/src/gn/
Dscheduler.cc31 std::lock_guard<std::mutex> lock(lock_); in Run()
48 std::lock_guard<std::mutex> lock(lock_); in FailWithError()
72 std::lock_guard<std::mutex> lock(lock_); in AddGenDependency()
77 std::lock_guard<std::mutex> lock(lock_); in GetGenDependencies()
82 std::lock_guard<std::mutex> lock(lock_); in AddWrittenFile()
88 std::lock_guard<std::mutex> lock(lock_); in AddUnknownGeneratedInput()
93 std::lock_guard<std::mutex> lock(lock_); in AddWriteRuntimeDepsTarget()
98 std::lock_guard<std::mutex> lock(lock_); in GetWriteRuntimeDepsTargets()
104 std::lock_guard<std::mutex> lock(lock_); in IsFileGeneratedByWriteRuntimeDeps()
115 std::lock_guard<std::mutex> lock(lock_); in AddGeneratedFile()
[all …]
Dinput_file_manager.cc123 std::lock_guard<std::mutex> lock(lock_); in AsyncLoadFile()
257 std::lock_guard<std::mutex> lock(lock_); in AddDynamicInput()
263 std::lock_guard<std::mutex> lock(lock_); in GetInputFileCount()
269 std::lock_guard<std::mutex> lock(lock_); in AddAllPhysicalInputFileNamesToVectorSetSorter()
304 std::lock_guard<std::mutex> lock(lock_); in LoadFile()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfvideobuffer.cpp258 std::lock_guard<std::mutex> lock(lock_); in Lock()
293 std::lock_guard<std::mutex> lock(lock_); in Unlock()
318 std::lock_guard<std::mutex> lock(lock_); in GetCurrentLength()
330 std::lock_guard<std::mutex> lock(lock_); in SetCurrentLength()
348 std::lock_guard<std::mutex> lock(lock_); in GetMaxLength()
361 std::lock_guard<std::mutex> lock(lock_); in Lock2D()
381 std::lock_guard<std::mutex> lock(lock_); in Unlock2D()
398 std::lock_guard<std::mutex> lock(lock_); in GetScanline0AndPitch()
417 std::lock_guard<std::mutex> lock(lock_); in IsContiguousFormat()
429 std::lock_guard<std::mutex> lock(lock_); in GetContiguousLength()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp91 std::lock_guard<sys::Mutex> locked(lock); in ~MCJIT()
103 std::lock_guard<sys::Mutex> locked(lock); in addModule()
112 std::lock_guard<sys::Mutex> locked(lock); in removeModule()
139 std::lock_guard<sys::Mutex> locked(lock); in setObjectCache()
146 std::lock_guard<sys::Mutex> locked(lock); in emitObject()
188 std::lock_guard<sys::Mutex> locked(lock); in generateCodeForModule()
237 std::lock_guard<sys::Mutex> locked(lock); in finalizeLoadedModules()
253 std::lock_guard<sys::Mutex> locked(lock); in finalizeObject()
268 std::lock_guard<sys::Mutex> locked(lock); in finalizeModule()
295 std::lock_guard<sys::Mutex> locked(lock); in findModuleForSymbol()
[all …]
/third_party/node/deps/v8/third_party/wasm-api/example/
Dthreads.cc16 std::lock_guard<std::mutex>(*reinterpret_cast<std::mutex*>(env)); in callback()
34 std::lock_guard<std::mutex> lock(*mutex); in run()
59 std::lock_guard<std::mutex> lock(*mutex); in run()
67 std::lock_guard<std::mutex> lock(*mutex); in run()
109 std::lock_guard<std::mutex> lock(mutex); in main()
117 std::lock_guard<std::mutex> lock(mutex); in main()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DAsyncTask.cpp22 std::lock_guard<std::mutex> lock(mPendingTasksMutex); in PostTask()
34 std::lock_guard<std::mutex> lock(mPendingTasksMutex); in HandleTaskCompletion()
45 std::lock_guard<std::mutex> lock(mPendingTasksMutex); in WaitAllPendingTasks()
55 std::lock_guard<std::mutex> lock(mPendingTasksMutex); in HasPendingTasks()
DCallbackTaskManager.cpp20 std::lock_guard<std::mutex> lock(mCallbackTaskQueueMutex); in IsEmpty()
25 std::lock_guard<std::mutex> lock(mCallbackTaskQueueMutex); in AcquireCallbackTasks()
33 std::lock_guard<std::mutex> lock(mCallbackTaskQueueMutex); in AddCallbackTask()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DWorkerThread.cpp122 std::lock_guard<std::mutex> lock(mMutex); in isReady()
160 std::lock_guard<std::mutex> lock(mMutex); in postWorkerTask()
170 std::lock_guard<std::mutex> lock(mMutex); in setMaxThreads()
183 std::lock_guard<std::mutex> lock(mMutex); in checkToRunPendingTasks()
197 std::lock_guard<std::mutex> lock(mMutex); in checkToRunPendingTasks()
207 std::lock_guard<std::mutex> waitableLock(waitable->mMutex); in checkToRunPendingTasks()
239 std::lock_guard<std::mutex> lock(mMutex); in markAsReady()
252 std::lock_guard<std::mutex> lock(mMutex); in isReady()
/third_party/skia/third_party/externals/angle2/samples/multiple_contexts/
DMultipleContexts.cpp53 std::lock_guard<std::mutex> lock(*updateThreadMutex); in UpdateThreadLoop()
93 std::lock_guard<std::mutex> lock(*mainThreadMutex); in UpdateThreadLoop()
153 std::lock_guard<std::mutex> lock(mUpdateThreadMutex); in destroy()
160 std::lock_guard<std::mutex> mainLock(mMainThreadMutex); in destroy()
163 std::lock_guard<std::mutex> updateLock(mUpdateThreadMutex); in destroy()
191 std::lock_guard<std::mutex> lock(mMainThreadMutex); in draw()
236 std::lock_guard<std::mutex> lock(mUpdateThreadMutex); in draw()
/third_party/skia/third_party/externals/angle2/src/common/
DSynchronizedValue.h208 std::lock_guard<Lockable> lock(other.mMutex);
214 std::lock_guard<Lockable> lock(other.mMutex);
245 std::lock_guard<Lockable> lock(mMutex);
254 std::lock_guard<Lockable> lock(mMutex);
262 std::lock_guard<Lockable> lock(mMutex);
282 std::lock_guard<Lockable> lock(mMutex);
388 std::lock_guard<Lockable> lock(mMutex);
395 std::lock_guard<Lockable> lock(mMutex);
449 std::lock_guard<Lockable> lock(mMutex);
455 std::lock_guard<Lockable> lock(mMutex);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DGsymCreator.cpp34 std::lock_guard<std::recursive_mutex> Guard(Mutex); in insertFile()
54 std::lock_guard<std::recursive_mutex> Guard(Mutex); in encode()
158 std::lock_guard<std::recursive_mutex> Guard(Mutex); in finalize()
248 std::lock_guard<std::recursive_mutex> Guard(Mutex); in insertString()
255 std::lock_guard<std::recursive_mutex> Guard(Mutex); in addFunctionInfo()
261 std::lock_guard<std::recursive_mutex> Guard(Mutex); in forEachFunctionInfo()
270 std::lock_guard<std::recursive_mutex> Guard(Mutex); in forEachFunctionInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DErrorHandling.cpp67 std::lock_guard<std::mutex> Lock(ErrorHandlerMutex); in install_fatal_error_handler()
76 std::lock_guard<std::mutex> Lock(ErrorHandlerMutex); in remove_fatal_error_handler()
101 std::lock_guard<std::mutex> Lock(ErrorHandlerMutex); in report_fatal_error()
132 std::lock_guard<std::mutex> Lock(BadAllocErrorHandlerMutex); in install_bad_alloc_error_handler()
141 std::lock_guard<std::mutex> Lock(BadAllocErrorHandlerMutex); in remove_bad_alloc_error_handler()
154 std::lock_guard<std::mutex> Lock(BadAllocErrorHandlerMutex); in report_bad_alloc_error()
DParallel.cpp47 std::lock_guard<std::mutex> Lock(Mutex); in ThreadPoolExecutor()
61 std::lock_guard<std::mutex> Lock(Mutex); in stop()
86 std::lock_guard<std::mutex> Lock(Mutex); in add()
/third_party/skia/third_party/externals/dawn/src/common/
DConcurrentCache.h30 std::lock_guard<std::mutex> lock(mMutex); in Find()
39 std::lock_guard<std::mutex> lock(mMutex); in Insert()
45 std::lock_guard<std::mutex> lock(mMutex); in Erase()
/third_party/node/deps/icu-small/source/common/
Dunifiedcache.cpp138 std::lock_guard<std::mutex> lock(*gCacheMutex); in setEvictionPolicy()
144 std::lock_guard<std::mutex> lock(*gCacheMutex); in unusedCount()
149 std::lock_guard<std::mutex> lock(*gCacheMutex); in autoEvictedCount()
154 std::lock_guard<std::mutex> lock(*gCacheMutex); in keyCount()
159 std::lock_guard<std::mutex> lock(*gCacheMutex); in flush()
168 std::lock_guard<std::mutex> lock(*gCacheMutex); in handleUnreferencedObject()
187 std::lock_guard<std::mutex> lock(*gCacheMutex); in dumpContents()
227 std::lock_guard<std::mutex> lock(*gCacheMutex); in ~UnifiedCache()
328 std::lock_guard<std::mutex> lock(*gCacheMutex); in _putIfAbsentAndGet()
/third_party/skia/third_party/externals/icu/source/common/
Dunifiedcache.cpp138 std::lock_guard<std::mutex> lock(*gCacheMutex); in setEvictionPolicy()
144 std::lock_guard<std::mutex> lock(*gCacheMutex); in unusedCount()
149 std::lock_guard<std::mutex> lock(*gCacheMutex); in autoEvictedCount()
154 std::lock_guard<std::mutex> lock(*gCacheMutex); in keyCount()
159 std::lock_guard<std::mutex> lock(*gCacheMutex); in flush()
168 std::lock_guard<std::mutex> lock(*gCacheMutex); in handleUnreferencedObject()
187 std::lock_guard<std::mutex> lock(*gCacheMutex); in dumpContents()
227 std::lock_guard<std::mutex> lock(*gCacheMutex); in ~UnifiedCache()
328 std::lock_guard<std::mutex> lock(*gCacheMutex); in _putIfAbsentAndGet()
/third_party/icu/icu4c/source/common/
Dunifiedcache.cpp138 std::lock_guard<std::mutex> lock(*gCacheMutex); in setEvictionPolicy()
144 std::lock_guard<std::mutex> lock(*gCacheMutex); in unusedCount()
149 std::lock_guard<std::mutex> lock(*gCacheMutex); in autoEvictedCount()
154 std::lock_guard<std::mutex> lock(*gCacheMutex); in keyCount()
159 std::lock_guard<std::mutex> lock(*gCacheMutex); in flush()
168 std::lock_guard<std::mutex> lock(*gCacheMutex); in handleUnreferencedObject()
187 std::lock_guard<std::mutex> lock(*gCacheMutex); in dumpContents()
227 std::lock_guard<std::mutex> lock(*gCacheMutex); in ~UnifiedCache()
328 std::lock_guard<std::mutex> lock(*gCacheMutex); in _putIfAbsentAndGet()
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/
DHelloOboeEngine.cpp45 std::lock_guard<std::mutex> lock(mLock); in getCurrentOutputLatencyMillis()
75 std::lock_guard<std::mutex> lock(mLock); in setBufferSizeInBursts()
136 std::lock_guard<std::mutex> lock(mLock); in start()
160 std::lock_guard<std::mutex> lock(mLock); in reopenStream()
/third_party/skia/third_party/externals/spirv-cross/include/spirv_cross/
Dthread_group.hpp74 std::lock_guard<std::mutex> l{ lock }; in start()
89 std::lock_guard<std::mutex> l{ lock }; in run()
99 std::lock_guard<std::mutex> l{ lock }; in ~Thread()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_impl.cc63 std::lock_guard<std::mutex> lock(TimeZoneMutex()); in LoadTimeZone()
77 std::lock_guard<std::mutex> lock(TimeZoneMutex()); in LoadTimeZone()
88 std::lock_guard<std::mutex> lock(TimeZoneMutex()); in ClearTimeZoneMapTestOnly()
/third_party/mesa3d/src/gallium/frontends/clover/core/
Dmemory.cpp111 std::lock_guard<std::mutex> lock(resources_mtx); in resource()
129 std::lock_guard<std::mutex> lock(resources_mtx); in resource_out()
142 std::lock_guard<std::mutex> lock(resources_mtx); in resource_in()
161 std::lock_guard<std::mutex> lock(resources_mtx); in resource_out()
196 std::lock_guard<std::mutex> lock(resources_mtx); in resource()
214 std::lock_guard<std::mutex> lock(resources_mtx); in resource_out()
/third_party/node/deps/v8/src/execution/
Dfutex-emulation.cc133 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer()); in NotifyWake() local
250 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer()); in Wake() local
384 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer()); in WaitSync() local
432 lock_guard.Unlock(); in WaitSync()
451 lock_guard.Lock(); in WaitSync()
456 lock_guard.Lock(); in WaitSync()
547 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer()); in WaitAsync() local
662 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer()); in Wake() local
823 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer()); in ResolveAsyncWaiterPromises() local
856 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer()); in HandleAsyncWaiterTimeout() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DIndirectionUtils.h90 std::lock_guard<std::mutex> Lock(LTPMutex); in getTrampoline()
103 std::lock_guard<std::mutex> Lock(LTPMutex); in releaseTrampoline()
297 std::lock_guard<std::mutex> Lock(StubsMutex); in createStub()
307 std::lock_guard<std::mutex> Lock(StubsMutex); in createStubs()
319 std::lock_guard<std::mutex> Lock(StubsMutex); in findStub()
335 std::lock_guard<std::mutex> Lock(StubsMutex); in findPointer()
350 std::lock_guard<std::mutex> Lock(StubsMutex); in updatePointer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp42 std::lock_guard<sys::Mutex> Guard(Lock); in clearAnnotationCache()
47 std::lock_guard<sys::Mutex> Guard(Lock); in cacheAnnotationFromMD()
73 std::lock_guard<sys::Mutex> Guard(Lock); in cacheAnnotationFromMD()
107 std::lock_guard<sys::Mutex> Guard(Lock); in findOneNVVMAnnotation()
121 std::lock_guard<sys::Mutex> Guard(Lock); in findAllNVVMAnnotation()
/third_party/node/deps/v8/src/snapshot/
Dsnapshot-external.cc25 base::MutexGuard lock_guard(external_startup_data_mutex.Pointer()); in SetSnapshotFromFile() local
36 base::MutexGuard lock_guard(external_startup_data_mutex.Pointer()); in DefaultSnapshotBlob() local

1234567