Home
last modified time | relevance | path

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

12345

/external/perfetto/src/base/
Dandroid_task_runner.cc39 std::lock_guard<std::mutex> lock(lock_); in ~AndroidTaskRunner()
60 std::lock_guard<std::mutex> lock(lock_); in Run()
69 std::lock_guard<std::mutex> lock(lock_); in Quit()
76 std::lock_guard<std::mutex> lock(lock_); in IsIdleForTesting()
87 std::lock_guard<std::mutex> lock(lock_); in RunImmediateTask()
112 std::lock_guard<std::mutex> lock(lock_); in RunDelayedTask()
145 std::lock_guard<std::mutex> lock(lock_); in PostTask()
159 std::lock_guard<std::mutex> lock(lock_); in PostDelayedTask()
172 std::lock_guard<std::mutex> lock(lock_); in AddFileDescriptorWatch()
196 std::lock_guard<std::mutex> lock(lock_); in OnFileDescriptorEvent()
[all …]
Dunix_task_runner.cc50 std::lock_guard<std::mutex> lock(lock_); in Run()
68 std::lock_guard<std::mutex> lock(lock_); in Quit()
74 std::lock_guard<std::mutex> lock(lock_); in QuitCalled()
79 std::lock_guard<std::mutex> lock(lock_); in IsIdleForTesting()
101 std::lock_guard<std::mutex> lock(lock_); in RunImmediateAndDelayedTask()
152 std::lock_guard<std::mutex> lock(lock_); in RunFileDescriptorWatch()
183 std::lock_guard<std::mutex> lock(lock_); in PostTask()
195 std::lock_guard<std::mutex> lock(lock_); in PostDelayedTask()
205 std::lock_guard<std::mutex> lock(lock_); in AddFileDescriptorWatch()
216 std::lock_guard<std::mutex> lock(lock_); in RemoveFileDescriptorWatch()
/external/perfetto/src/tracing/core/
Dstartup_trace_writer_registry.cc36 std::lock_guard<std::mutex> lock(lock_); in OnWriterDestroyed()
42 std::lock_guard<std::mutex> lock(lock_); in OnRegistryDestroyed()
55 std::lock_guard<std::mutex> lock(lock_); in CreateUnboundTraceWriter()
64 std::lock_guard<std::mutex> lock(lock_); in ReturnUnboundTraceWriter()
79 std::lock_guard<std::mutex> lock(lock_); in BindToArbiter()
109 std::lock_guard<std::mutex> lock(lock_); in TryBindWriters()
129 std::lock_guard<std::mutex> lock(lock_); in OnStartupTraceWriterDestroyed()
Dshared_memory_arbiter_impl.cc77 std::lock_guard<std::mutex> scoped_lock(lock_); in GetNewChunk()
176 std::lock_guard<std::mutex> scoped_lock(lock_); in UpdateCommitDataRequest()
279 std::lock_guard<std::mutex> scoped_lock(lock_); in FlushPendingCommitDataRequests()
301 std::lock_guard<std::mutex> scoped_lock(lock_); in CreateTraceWriter()
336 std::lock_guard<std::mutex> scoped_lock(lock_); in BindStartupTraceWriterRegistry()
355 std::lock_guard<std::mutex> scoped_lock(lock_); in BindStartupTraceWriterRegistry()
362 std::lock_guard<std::mutex> scoped_lock(lock_); in NotifyFlushComplete()
391 std::lock_guard<std::mutex> scoped_lock(lock_); in ReleaseWriterID()
/external/grpc-grpc/test/cpp/util/
Dmetrics_server.cc35 std::lock_guard<std::mutex> lock(num_queries_mu_); in Reset()
41 std::lock_guard<std::mutex> lock(num_queries_mu_); in Incr()
46 std::lock_guard<std::mutex> lock(num_queries_mu_); in Get()
58 std::lock_guard<std::mutex> lock(mu_); in GetAllGauges()
72 std::lock_guard<std::mutex> lock(mu_); in GetGauge()
85 std::lock_guard<std::mutex> lock(mu_); in CreateQpsGauge()
/external/bcc/tools/
Ddeadlock_detector_example.txt48 @ 00000000004070d2 std::lock_guard<std::mutex>::lock_guard(std::mutex&)
60 @ 00000000004070d2 std::lock_guard<std::mutex>::lock_guard(std::mutex&)
72 @ 00000000004070d2 std::lock_guard<std::mutex>::lock_guard(std::mutex&)
84 @ 00000000004070d2 std::lock_guard<std::mutex>::lock_guard(std::mutex&)
96 @ 00000000004070d2 std::lock_guard<std::mutex>::lock_guard(std::mutex&)
108 @ 00000000004070d2 std::lock_guard<std::mutex>::lock_guard(std::mutex&)
120 @ 00000000004070d2 std::lock_guard<std::mutex>::lock_guard(std::mutex&)
132 @ 00000000004070d2 std::lock_guard<std::mutex>::lock_guard(std::mutex&)
205 std::lock_guard<std::mutex> g1(global_mutex1);
206 std::lock_guard<std::mutex> g2(global_mutex2);
[all …]
/external/grpc-grpc/src/cpp/thread_manager/
Dthread_manager.cc65 std::lock_guard<std::mutex> lock(mu_); in ~ThreadManager()
82 std::lock_guard<std::mutex> lock(mu_); in Shutdown()
87 std::lock_guard<std::mutex> lock(mu_); in IsShutdown()
92 std::lock_guard<std::mutex> list_lock(list_mu_); in GetMaxActiveThreadsSoFar()
98 std::lock_guard<std::mutex> list_lock(list_mu_); in MarkAsCompleted()
103 std::lock_guard<std::mutex> lock(mu_); in MarkAsCompleted()
/external/grpc-grpc/test/cpp/qps/
Dclient_sync.cc183 std::lock_guard<std::mutex> l(stream_mu_[thread_idx]); in FinishStream()
190 std::lock_guard<std::mutex> l(stream_mu_[thread_idx]); in FinishStream()
199 std::lock_guard<std::mutex> l(stream_mu_[i]); in CleanupAllStreams()
233 std::lock_guard<std::mutex> l(stream_mu_[thread_idx]); in InitThreadFuncImpl()
265 std::lock_guard<std::mutex> l(stream_mu_[thread_idx]); in ThreadFuncImpl()
292 std::lock_guard<std::mutex> l(stream_mu_[thread_idx]); in InitThreadFuncImpl()
318 std::lock_guard<std::mutex> l(stream_mu_[thread_idx]); in ThreadFuncImpl()
342 std::lock_guard<std::mutex> l(stream_mu_[thread_idx]); in InitThreadFuncImpl()
363 std::lock_guard<std::mutex> l(stream_mu_[thread_idx]); in ThreadFuncImpl()
389 std::lock_guard<std::mutex> l(stream_mu_[thread_idx]); in InitThreadFuncImpl()
/external/swiftshader/third_party/llvm-7.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()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/
Dmutex.pass.cpp43 std::lock_guard<std::mutex> lg(m); in f()
59 std::lock_guard lg(m); in main()
60 static_assert((std::is_same<decltype(lg), std::lock_guard<decltype(m)>>::value), "" ); in main()
Dcopy.fail.cpp21 std::lock_guard<std::mutex> lg0(m); in main()
22 std::lock_guard<std::mutex> lg(lg0); in main()
Dassign.fail.cpp22 std::lock_guard<std::mutex> lg0(m0); in main()
23 std::lock_guard<std::mutex> lg(m1); in main()
/external/grpc-grpc/test/cpp/server/
Dserver_request_call_test.cc64 std::lock_guard<std::mutex> lock(mu); in TEST()
80 std::lock_guard<std::mutex> lock(mu); in TEST()
100 std::lock_guard<std::mutex> lock(mu); in TEST()
147 std::lock_guard<std::mutex> lock(mu); in TEST()
/external/v8/src/compiler-dispatcher/
Doptimizing-compile-dispatcher.cc45 base::LockGuard<base::Mutex> lock_guard(&dispatcher_->ref_count_mutex_); in CompileTask() local
72 base::LockGuard<base::Mutex> lock_guard(&dispatcher_->ref_count_mutex_); in RunInternal() local
88 base::LockGuard<base::Mutex> lock_guard(&ref_count_mutex_); in ~OptimizingCompileDispatcher() local
163 base::LockGuard<base::Mutex> lock_guard(&ref_count_mutex_); in Flush() local
177 base::LockGuard<base::Mutex> lock_guard(&ref_count_mutex_); in Stop() local
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DBinaryHolder.cpp158 std::lock_guard<std::mutex> Lock(MemberCacheMutex); in getObjectEntry()
207 std::lock_guard<std::mutex> Lock(MemberCacheMutex); in getObjectEntry()
221 std::lock_guard<std::mutex> Lock(ArchiveCacheMutex); in getObjectEntry()
241 std::lock_guard<std::mutex> Lock(ObjectCacheMutex); in getObjectEntry()
255 std::lock_guard<std::mutex> ArchiveLock(ArchiveCacheMutex); in clear()
256 std::lock_guard<std::mutex> ObjectLock(ObjectCacheMutex); in clear()
/external/vulkan-validation-layers/tests/layers/
Ddevice_profile_api.cpp60 std::lock_guard<std::mutex> lock(global_lock); in GetOriginalPhysicalDeviceLimitsEXT()
69 std::lock_guard<std::mutex> lock(global_lock); in SetPhysicalDeviceLimitsEXT()
76 std::lock_guard<std::mutex> lock(global_lock); in GetOriginalPhysicalDeviceFormatPropertiesEXT()
84 std::lock_guard<std::mutex> lock(global_lock); in SetPhysicalDeviceFormatPropertiesEXT()
93 std::lock_guard<std::mutex> lock(global_lock); in CreateInstance()
127 std::lock_guard<std::mutex> lock(global_lock); in GetPhysicalDeviceProperties()
134 std::lock_guard<std::mutex> lock(global_lock); in GetPhysicalDeviceFormatProperties()
/external/minigbm/cros_gralloc/
Dcros_gralloc_driver.cc158 std::lock_guard<std::mutex> lock(mutex_); in allocate()
168 std::lock_guard<std::mutex> lock(mutex_); in retain()
225 std::lock_guard<std::mutex> lock(mutex_); in release()
258 std::lock_guard<std::mutex> lock(mutex_); in lock()
276 std::lock_guard<std::mutex> lock(mutex_); in unlock()
302 std::lock_guard<std::mutex> lock(mutex_); in get_backing_store()
/external/v8/src/
Dfutex-emulation.cc36 base::LockGuard<base::Mutex> lock_guard(FutexEmulation::mutex_.Pointer()); in NotifyWake() local
83 base::LockGuard<base::Mutex> lock_guard(FutexEmulation::mutex_.Pointer()); in Wake() local
136 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in Wait() local
246 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in Wake() local
269 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in NumWaitersForTesting() local
/external/v8/src/zone/
Daccounting-allocator.cc46 base::LockGuard<base::Mutex> lock_guard(&unused_segments_mutex_); in ConfigureSegmentPool() local
141 base::LockGuard<base::Mutex> lock_guard(&unused_segments_mutex_); in GetSegmentFromPool() local
176 base::LockGuard<base::Mutex> lock_guard(&unused_segments_mutex_); in AddSegmentToPool() local
192 base::LockGuard<base::Mutex> lock_guard(&unused_segments_mutex_); in ClearPool() local
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcustom_call_target_registry.cc28 std::lock_guard<std::mutex> lock(mu_); in Register()
33 std::lock_guard<std::mutex> lock(mu_); in Lookup()
/external/mesa3d/src/gallium/state_trackers/clover/core/
Devent.cpp41 std::lock_guard<std::mutex> lock(mutex); in trigger_self()
62 std::lock_guard<std::mutex> lock(mutex); in abort_self()
81 std::lock_guard<std::mutex> lock(mutex); in wait_count()
92 std::lock_guard<std::mutex> lock(mutex); in status()
/external/libcxx/include/
D__mutex_base93 lock_guard
103 explicit lock_guard(mutex_type& __m) _LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_capability(__m))
106lock_guard(mutex_type& __m, adopt_lock_t) _LIBCPP_THREAD_SAFETY_ANNOTATION(requires_capability(__m…
109 ~lock_guard() _LIBCPP_THREAD_SAFETY_ANNOTATION(release_capability()) {__m_.unlock();}
112 lock_guard(lock_guard const&) _LIBCPP_EQUAL_DELETE;
113 lock_guard& operator=(lock_guard const&) _LIBCPP_EQUAL_DELETE;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DSymbolStringPool.h123 std::lock_guard<std::mutex> Lock(PoolMutex); in intern()
131 std::lock_guard<std::mutex> Lock(PoolMutex); in clearDeadEntries()
140 std::lock_guard<std::mutex> Lock(PoolMutex); in empty()
/external/v8/src/snapshot/
Dsnapshot-external.cc26 base::LockGuard<base::Mutex> lock_guard( in SetSnapshotFromFile() local
38 base::LockGuard<base::Mutex> lock_guard( in DefaultSnapshotBlob() local
/external/libcxx/src/
Dmutex.cpp97 lock_guard<mutex> _(__m_); in ~timed_mutex()
124 lock_guard<mutex> _(__m_); in unlock()
139 lock_guard<mutex> _(__m_); in ~recursive_timed_mutex()

12345