Home
last modified time | relevance | path

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

12345678910>>...20

/external/llvm-project/lldb/source/API/
DSBBreakpointLocation.cpp97 std::lock_guard<std::recursive_mutex> guard( in GetLoadAddress()
110 std::lock_guard<std::recursive_mutex> guard( in SetEnabled()
121 std::lock_guard<std::recursive_mutex> guard( in IsEnabled()
133 std::lock_guard<std::recursive_mutex> guard( in GetHitCount()
145 std::lock_guard<std::recursive_mutex> guard( in GetIgnoreCount()
157 std::lock_guard<std::recursive_mutex> guard( in SetIgnoreCount()
169 std::lock_guard<std::recursive_mutex> guard( in SetCondition()
180 std::lock_guard<std::recursive_mutex> guard( in GetCondition()
193 std::lock_guard<std::recursive_mutex> guard( in SetAutoContinue()
204 std::lock_guard<std::recursive_mutex> guard( in GetAutoContinue()
[all …]
DSBBreakpointName.cpp221 std::lock_guard<std::recursive_mutex> guard( in SetEnabled()
245 std::lock_guard<std::recursive_mutex> guard( in IsEnabled()
258 std::lock_guard<std::recursive_mutex> guard( in SetOneShot()
272 std::lock_guard<std::recursive_mutex> guard( in IsOneShot()
285 std::lock_guard<std::recursive_mutex> guard( in SetIgnoreCount()
299 std::lock_guard<std::recursive_mutex> guard( in GetIgnoreCount()
313 std::lock_guard<std::recursive_mutex> guard( in SetCondition()
327 std::lock_guard<std::recursive_mutex> guard( in GetCondition()
341 std::lock_guard<std::recursive_mutex> guard( in SetAutoContinue()
355 std::lock_guard<std::recursive_mutex> guard( in GetAutoContinue()
[all …]
DSBBreakpoint.cpp126 std::lock_guard<std::recursive_mutex> guard( in ClearAllBreakpointSites()
141 std::lock_guard<std::recursive_mutex> guard( in FindLocationByAddress()
162 std::lock_guard<std::recursive_mutex> guard( in FindLocationIDByAddress()
183 std::lock_guard<std::recursive_mutex> guard( in FindLocationByID()
199 std::lock_guard<std::recursive_mutex> guard( in GetLocationAtIndex()
213 std::lock_guard<std::recursive_mutex> guard( in SetEnabled()
224 std::lock_guard<std::recursive_mutex> guard( in IsEnabled()
237 std::lock_guard<std::recursive_mutex> guard( in SetOneShot()
248 std::lock_guard<std::recursive_mutex> guard( in IsOneShot()
260 std::lock_guard<std::recursive_mutex> guard( in IsInternal()
[all …]
/external/llvm-project/lldb/source/Breakpoint/
DBreakpointList.cpp32 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Add()
46 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Remove()
64 std::lock_guard<std::recursive_mutex> guard(m_mutex); in RemoveInvalidLocations()
70 std::lock_guard<std::recursive_mutex> guard(m_mutex); in SetEnabledAll()
76 std::lock_guard<std::recursive_mutex> guard(m_mutex); in SetEnabledAllowed()
83 std::lock_guard<std::recursive_mutex> guard(m_mutex); in RemoveAll()
95 std::lock_guard<std::recursive_mutex> guard(m_mutex); in RemoveAllowed()
125 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindBreakpointByID()
154 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Dump()
166 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetBreakpointAtIndex()
[all …]
DBreakpointLocationList.cpp31 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Create()
70 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindByID()
82 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindInModule()
98 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindByAddress()
126 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Dump()
137 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetByIndex()
146 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetByIndex()
155 std::lock_guard<std::recursive_mutex> guard(m_mutex); in ClearAllBreakpointSites()
162 std::lock_guard<std::recursive_mutex> guard(m_mutex); in ResolveAllBreakpointSites()
173 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetHitCount()
[all …]
DBreakpointSiteList.cpp26 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Add()
64 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Remove()
74 std::lock_guard<std::recursive_mutex> guard(m_mutex); in RemoveByAddress()
97 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetIDIterator()
105 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetIDConstIterator()
112 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindByID()
123 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindByID()
134 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindByAddress()
143 std::lock_guard<std::recursive_mutex> guard(m_mutex); in BreakpointSiteContainsBreakpoint()
166 std::lock_guard<std::recursive_mutex> guard(m_mutex); in ForEach()
[all …]
DBreakpointSite.cpp58 std::lock_guard<std::recursive_mutex> guard(m_owners_mutex); in ShouldStop()
65 std::lock_guard<std::recursive_mutex> guard(m_owners_mutex); in IsBreakpointAtThisSite()
85 std::lock_guard<std::recursive_mutex> guard(m_owners_mutex); in GetDescription()
126 std::lock_guard<std::recursive_mutex> guard(m_owners_mutex); in AddOwner()
132 std::lock_guard<std::recursive_mutex> guard(m_owners_mutex); in RemoveOwner()
138 std::lock_guard<std::recursive_mutex> guard(m_owners_mutex); in GetNumberOfOwners()
143 std::lock_guard<std::recursive_mutex> guard(m_owners_mutex); in GetOwnerAtIndex()
148 std::lock_guard<std::recursive_mutex> guard(m_owners_mutex); in ValidForThisThread()
153 std::lock_guard<std::recursive_mutex> guard(m_owners_mutex); in BumpHitCounts()
203 std::lock_guard<std::recursive_mutex> guard(m_owners_mutex); in CopyOwnersList()
DBreakpointLocationCollection.cpp27 std::lock_guard<std::mutex> guard(m_collection_mutex); in Add()
36 std::lock_guard<std::mutex> guard(m_collection_mutex); in Remove()
102 std::lock_guard<std::mutex> guard(m_collection_mutex); in GetByIndex()
112 std::lock_guard<std::mutex> guard(m_collection_mutex); in GetByIndex()
138 std::lock_guard<std::mutex> guard(m_collection_mutex); in ValidForThisThread()
150 std::lock_guard<std::mutex> guard(m_collection_mutex); in IsInternal()
167 std::lock_guard<std::mutex> guard(m_collection_mutex); in GetDescription()
182 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 =()
DWatchpointList.cpp22 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Add()
41 std::lock_guard<std::recursive_mutex> guard(m_mutex); in DumpWithLevel()
55 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindByAddress()
73 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindBySpec()
114 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindByID()
139 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetByIndex()
150 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetByIndex()
169 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Remove()
189 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetHitCount()
212 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetDescription()
[all …]
/external/llvm-project/lldb/source/Target/
DSectionLoadHistory.cpp18 std::lock_guard<std::recursive_mutex> guard(m_mutex); in IsEmpty()
23 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Clear()
28 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetLastStopID()
97 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetCurrentSectionLoadList()
107 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetSectionLoadAddress()
117 std::lock_guard<std::recursive_mutex> guard(m_mutex); in ResolveLoadAddress()
127 std::lock_guard<std::recursive_mutex> guard(m_mutex); in SetSectionLoadAddress()
138 std::lock_guard<std::recursive_mutex> guard(m_mutex); in SetSectionUnloaded()
148 std::lock_guard<std::recursive_mutex> guard(m_mutex); in SetSectionUnloaded()
156 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Dump()
DThreadList.cpp41 std::lock_guard<std::recursive_mutex> guard(GetMutex(), std::adopt_lock); in operator =()
42 std::lock_guard<std::recursive_mutex> rhs_guard(rhs.GetMutex(), in operator =()
83 std::lock_guard<std::recursive_mutex> guard(GetMutex()); in GetSize()
91 std::lock_guard<std::recursive_mutex> guard(GetMutex()); in GetThreadAtIndex()
103 std::lock_guard<std::recursive_mutex> guard(GetMutex()); in FindThreadByID()
121 std::lock_guard<std::recursive_mutex> guard(GetMutex()); in FindThreadByProtocolID()
139 std::lock_guard<std::recursive_mutex> guard(GetMutex()); in RemoveThreadByID()
159 std::lock_guard<std::recursive_mutex> guard(GetMutex()); in RemoveThreadByProtocolID()
180 std::lock_guard<std::recursive_mutex> guard(GetMutex()); in GetThreadSPForThreadPtr()
195 std::lock_guard<std::recursive_mutex> guard(GetMutex()); in GetBackingThread()
[all …]
DJITLoaderList.cpp21 std::lock_guard<std::recursive_mutex> guard(m_jit_loaders_mutex); in Append()
26 std::lock_guard<std::recursive_mutex> guard(m_jit_loaders_mutex); in Remove()
35 std::lock_guard<std::recursive_mutex> guard(m_jit_loaders_mutex); in GetLoaderAtIndex()
40 std::lock_guard<std::recursive_mutex> guard(m_jit_loaders_mutex); in DidLaunch()
46 std::lock_guard<std::recursive_mutex> guard(m_jit_loaders_mutex); in DidAttach()
52 std::lock_guard<std::recursive_mutex> guard(m_jit_loaders_mutex); in ModulesDidLoad()
DSectionLoadList.cpp24 std::lock_guard<std::recursive_mutex> guard(rhs.m_mutex); in SectionLoadList()
31 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 =()
38 std::lock_guard<std::recursive_mutex> guard(m_mutex); in IsEmpty()
43 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Clear()
53 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetSectionLoadAddress()
78 std::lock_guard<std::recursive_mutex> guard(m_mutex); in SetSectionLoadAddress()
154 std::lock_guard<std::recursive_mutex> guard(m_mutex); in SetSectionUnloaded()
191 std::lock_guard<std::recursive_mutex> guard(m_mutex); in SetSectionUnloaded()
211 std::lock_guard<std::recursive_mutex> guard(m_mutex); in ResolveLoadAddress()
[all …]
/external/llvm-project/lldb/source/DataFormatters/
DTypeCategoryMap.cpp28 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Add()
35 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Delete()
47 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Enable()
55 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Disable()
63 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Enable()
85 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Disable()
95 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in EnableAllCategories()
118 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in DisableAllCategories()
126 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Clear()
134 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Get()
[all …]
/external/llvm-project/lldb/include/lldb/Utility/
DStreamTee.h44 std::lock_guard<std::recursive_mutex> guard(rhs.m_streams_mutex); in StreamTee()
54 std::lock_guard<std::recursive_mutex> lhs_locker(m_streams_mutex,
56 std::lock_guard<std::recursive_mutex> rhs_locker(rhs.m_streams_mutex,
64 std::lock_guard<std::recursive_mutex> guard(m_streams_mutex); in Flush()
78 std::lock_guard<std::recursive_mutex> guard(m_streams_mutex); in AppendStream()
86 std::lock_guard<std::recursive_mutex> guard(m_streams_mutex); in GetNumStreams()
94 std::lock_guard<std::recursive_mutex> guard(m_streams_mutex); in GetStreamAtIndex()
101 std::lock_guard<std::recursive_mutex> guard(m_streams_mutex); in SetStreamAtIndex()
116 std::lock_guard<std::recursive_mutex> guard(m_streams_mutex); in WriteImpl()
/external/llvm-project/lldb/source/Interpreter/
DCommandHistory.cpp21 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetSize()
26 std::lock_guard<std::recursive_mutex> guard(m_mutex); in IsEmpty()
32 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindString()
65 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetStringAtIndex()
76 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetRecentmostString()
83 std::lock_guard<std::recursive_mutex> guard(m_mutex); in AppendString()
94 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Clear()
100 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Dump()
/external/llvm-project/lldb/source/Core/
DModuleList.cpp139 std::lock_guard<std::recursive_mutex> lhs_guard(m_modules_mutex); in ModuleList()
140 std::lock_guard<std::recursive_mutex> rhs_guard(rhs.m_modules_mutex); in ModuleList()
150 std::lock_guard<std::recursive_mutex> lhs_guard(m_modules_mutex, in operator =()
152 std::lock_guard<std::recursive_mutex> rhs_guard(rhs.m_modules_mutex, in operator =()
163 std::lock_guard<std::recursive_mutex> guard(m_modules_mutex); in AppendImpl()
178 std::lock_guard<std::recursive_mutex> guard(m_modules_mutex); in ReplaceEquivalent()
205 std::lock_guard<std::recursive_mutex> guard(m_modules_mutex); in AppendIfNeeded()
234 std::lock_guard<std::recursive_mutex> guard(m_modules_mutex); in RemoveImpl()
274 std::lock_guard<std::recursive_mutex> guard(m_modules_mutex); in RemoveIfOrphaned()
323 std::lock_guard<std::recursive_mutex> guard(m_modules_mutex); in Remove()
[all …]
/external/llvm-project/lldb/include/lldb/DataFormatters/
DFormattersContainer.h126 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Add()
134 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Delete()
146 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Get()
157 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in GetExact()
167 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in GetAtIndex()
174 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in GetTypeNameSpecifierAtIndex()
183 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in Clear()
191 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in ForEach()
201 std::lock_guard<std::recursive_mutex> guard(m_map_mutex); in GetCount()
/external/llvm-project/lldb/test/API/tools/lldb-server/
Dmain.cpp113 std::lock_guard<std::mutex> lock(g_print_mutex); in signal_handler()
189 std::lock_guard<std::mutex> lock(g_print_mutex); in hello()
197 std::lock_guard<std::mutex> lock(g_print_mutex); in thread_func()
214 std::lock_guard<std::mutex> lock(g_jump_buffer_mutex); in thread_func()
231 std::lock_guard<std::mutex> lock(g_print_mutex); in thread_func()
301 std::lock_guard<std::mutex> lock(g_print_mutex); in main()
313 std::lock_guard<std::mutex> lock(g_print_mutex); in main()
320 std::lock_guard<std::mutex> lock(g_print_mutex); in main()
324 std::lock_guard<std::mutex> lock(g_print_mutex); in main()
335 std::lock_guard<std::mutex> lock(g_print_mutex); in main()
[all …]
/external/llvm-project/lldb/include/lldb/Core/
DModuleSpec.h286 std::lock_guard<std::recursive_mutex> lhs_guard(m_mutex); in ModuleSpecList()
287 std::lock_guard<std::recursive_mutex> rhs_guard(rhs.m_mutex); in ModuleSpecList()
296 std::lock_guard<std::recursive_mutex> lhs_guard(m_mutex, std::adopt_lock);
297 std::lock_guard<std::recursive_mutex> rhs_guard(rhs.m_mutex,
305 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetSize()
310 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Clear()
315 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Append()
320 std::lock_guard<std::recursive_mutex> lhs_guard(m_mutex); in Append()
321 std::lock_guard<std::recursive_mutex> rhs_guard(rhs.m_mutex); in Append()
330 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetModuleSpecAtIndex()
[all …]
DThreadSafeDenseMap.h30 std::lock_guard<_MutexType> guard(m_mutex); in Insert()
35 std::lock_guard<_MutexType> guard(m_mutex); in Erase()
40 std::lock_guard<_MutexType> guard(m_mutex); in Lookup()
45 std::lock_guard<_MutexType> guard(m_mutex); in Lookup()
54 std::lock_guard<_MutexType> guard(m_mutex); in Clear()
/external/perfetto/src/base/
Dunix_task_runner.cc59 std::lock_guard<std::mutex> lock(lock_); in Run()
93 std::lock_guard<std::mutex> lock(lock_); in Quit()
99 std::lock_guard<std::mutex> lock(lock_); in QuitCalled()
104 std::lock_guard<std::mutex> lock(lock_); in IsIdleForTesting()
135 std::lock_guard<std::mutex> lock(lock_); in RunImmediateAndDelayedTask()
209 std::lock_guard<std::mutex> lock(lock_); in RunFileDescriptorWatch()
251 std::lock_guard<std::mutex> lock(lock_); in PostTask()
263 std::lock_guard<std::mutex> lock(lock_); in PostDelayedTask()
273 std::lock_guard<std::mutex> lock(lock_); in AddFileDescriptorWatch()
290 std::lock_guard<std::mutex> lock(lock_); in RemoveFileDescriptorWatch()
/external/llvm-project/lldb/source/Utility/
DBroadcaster.cpp72 std::lock_guard<std::recursive_mutex> guard(m_listeners_mutex); in Clear()
121 std::lock_guard<std::recursive_mutex> guard(m_listeners_mutex); in AddListener()
151 std::lock_guard<std::recursive_mutex> guard(m_listeners_mutex); in EventTypeHasListeners()
168 std::lock_guard<std::recursive_mutex> guard(m_listeners_mutex); in RemoveListener()
202 std::lock_guard<std::recursive_mutex> guard(m_listeners_mutex); in PrivateBroadcastEvent()
262 std::lock_guard<std::recursive_mutex> guard(m_listeners_mutex); in HijackBroadcaster()
276 std::lock_guard<std::recursive_mutex> guard(m_listeners_mutex); in IsHijackedForEvent()
291 std::lock_guard<std::recursive_mutex> guard(m_listeners_mutex); in RestoreBroadcaster()
328 std::lock_guard<std::recursive_mutex> guard(m_manager_mutex); in RegisterListenerForEvents()
353 std::lock_guard<std::recursive_mutex> guard(m_manager_mutex); in UnregisterListenerForEvents()
[all …]
/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/llvm-project/clang-tools-extra/clangd/index/
DBackgroundRebuild.cpp79 std::lock_guard<std::mutex> Lock(Mu); in startLoading()
85 std::lock_guard<std::mutex> Lock(Mu); in loadedShard()
101 std::lock_guard<std::mutex> Lock(Mu); in shutdown()
109 std::lock_guard<std::mutex> Lock(Mu); in maybeRebuild()
124 std::lock_guard<std::mutex> Lock(Mu); in maybeRebuild()

12345678910>>...20