/external/llvm-project/lldb/tools/debugserver/source/ |
D | PThreadEvent.cpp | 18 : m_mutex(), m_set_condition(), m_reset_condition(), m_bits(bits), in PThreadEvent() 30 PTHREAD_MUTEX_LOCKER(locker, m_mutex); in NewEventBit() 42 PTHREAD_MUTEX_LOCKER(locker, m_mutex); in FreeEventBits() 50 PTHREAD_MUTEX_LOCKER(locker, m_mutex); in GetEventBits() 59 PTHREAD_MUTEX_LOCKER(locker, m_mutex); in ReplaceEventBits() 80 PTHREAD_MUTEX_LOCKER(locker, m_mutex); in SetEvents() 96 PTHREAD_MUTEX_LOCKER(locker, m_mutex); in ResetEvents() 121 PTHREAD_MUTEX_LOCKER(locker, m_mutex); in WaitForSetEvents() 134 m_mutex.Mutex(), timeout_abstime); in WaitForSetEvents() 144 err = ::pthread_cond_wait(m_set_condition.Condition(), m_mutex.Mutex()); in WaitForSetEvents() [all …]
|
D | PThreadMutex.h | 82 err = ::pthread_mutex_init(&m_mutex, NULL); in PThreadMutex() 93 err = ::pthread_mutex_init(&m_mutex, &attr); in PThreadMutex() 101 err = ::pthread_mutex_destroy(&m_mutex); in ~PThreadMutex() 105 ::pthread_mutex_destroy(&m_mutex); in ~PThreadMutex() 109 pthread_mutex_t *Mutex() { return &m_mutex; } in Mutex() 111 int Lock() { return ::pthread_mutex_lock(&m_mutex); } in Lock() 113 int Unlock() { return ::pthread_mutex_unlock(&m_mutex); } in Unlock() 116 pthread_mutex_t m_mutex;
|
/external/deqp/framework/delibs/decpp/ |
D | deMutex.hpp | 51 deMutex m_mutex; member in de::Mutex 65 ~ScopedLock (void) { m_mutex.unlock(); } in ~ScopedLock() 71 Mutex& m_mutex; member in de::ScopedLock 90 deMutex_lock(m_mutex); in lock() 104 deMutex_unlock(m_mutex); in unlock() 116 return deMutex_tryLock(m_mutex) == DE_TRUE; in tryLock() 126 : m_mutex(mutex) in ScopedLock() 128 m_mutex.lock(); in ScopedLock()
|
D | deMutex.cpp | 38 : m_mutex(0) in Mutex() 44 m_mutex = deMutex_create(&attribs); in Mutex() 45 if (!m_mutex) in Mutex() 51 deMutex_destroy(m_mutex); in ~Mutex()
|
/external/llvm-project/lldb/source/Breakpoint/ |
D | BreakpointList.cpp | 26 : m_mutex(), m_breakpoints(), m_next_break_id(0), in BreakpointList() 32 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() [all …]
|
D | BreakpointLocationList.cpp | 23 : m_owner(owner), m_locations(), m_address_to_location(), m_mutex(), in BreakpointLocationList() 31 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() [all …]
|
D | BreakpointSiteList.cpp | 17 BreakpointSiteList::BreakpointSiteList() : m_mutex(), m_bp_site_list() {} in BreakpointSiteList() 26 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() [all …]
|
D | WatchpointList.cpp | 16 : m_watchpoints(), m_mutex(), m_next_wp_id(0) {} in WatchpointList() 22 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() [all …]
|
/external/llvm-project/lldb/include/lldb/Core/ |
D | ModuleSpec.h | 283 ModuleSpecList() : m_specs(), m_mutex() {} in ModuleSpecList() 285 ModuleSpecList(const ModuleSpecList &rhs) : m_specs(), m_mutex() { in ModuleSpecList() 286 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() 295 std::lock(m_mutex, rhs.m_mutex); 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() [all …]
|
D | ThreadSafeDenseMap.h | 27 : m_map(map_initial_capacity), m_mutex() {} in m_map() 30 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() 60 _MutexType m_mutex; variable
|
D | ThreadSafeValue.h | 21 ThreadSafeValue() : m_value(), m_mutex() {} in ThreadSafeValue() 23 ThreadSafeValue(const T &value) : m_value(value), m_mutex() {} in ThreadSafeValue() 30 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetValue() 41 std::lock_guard<std::recursive_mutex> guard(m_mutex); in SetValue() 49 std::recursive_mutex &GetMutex() { return m_mutex; } in GetMutex() 53 mutable std::recursive_mutex m_mutex; variable
|
D | ThreadSafeDenseSet.h | 26 : m_set(set_initial_capacity), m_mutex() {} in m_set() 29 std::lock_guard<_MutexType> guard(m_mutex); in Insert() 34 std::lock_guard<_MutexType> guard(m_mutex); in Erase() 39 std::lock_guard<_MutexType> guard(m_mutex); in Lookup() 44 std::lock_guard<_MutexType> guard(m_mutex); in Clear() 50 _MutexType m_mutex; variable
|
/external/llvm-project/lldb/source/Interpreter/ |
D | CommandHistory.cpp | 16 CommandHistory::CommandHistory() : m_mutex(), m_history() {} in CommandHistory() 21 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/Target/ |
D | SectionLoadList.cpp | 23 : m_addr_to_sect(), m_sect_to_addr(), m_mutex() { in SectionLoadList() 24 std::lock_guard<std::recursive_mutex> guard(rhs.m_mutex); in SectionLoadList() 30 std::lock(m_mutex, rhs.m_mutex); in operator =() 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() [all …]
|
D | SectionLoadHistory.cpp | 18 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()
|
D | QueueList.cpp | 17 : m_process(process), m_stop_id(0), m_queues(), m_mutex() {} in QueueList() 22 std::lock_guard<std::mutex> guard(m_mutex); in GetSize() 27 std::lock_guard<std::mutex> guard(m_mutex); in GetQueueAtIndex() 36 std::lock_guard<std::mutex> guard(m_mutex); in Clear() 41 std::lock_guard<std::mutex> guard(m_mutex); in AddQueue() 69 std::mutex &QueueList::GetMutex() { return m_mutex; } in GetMutex()
|
D | Memory.cpp | 24 : m_mutex(), m_L1_cache(), m_L2_cache(), m_invalid_ranges(), in MemoryCache() 32 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Clear() 48 std::lock_guard<std::recursive_mutex> guard(m_mutex); in AddL1CacheData() 56 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Flush() 103 std::lock_guard<std::recursive_mutex> guard(m_mutex); in AddInvalidRange() 113 std::lock_guard<std::recursive_mutex> guard(m_mutex); in RemoveInvalidRange() 136 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Read() 330 : m_process(process), m_mutex(), m_memory_map() {} in AllocatedMemoryCache() 335 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Clear() 374 std::lock_guard<std::recursive_mutex> guard(m_mutex); in AllocateMemory() [all …]
|
/external/llvm-project/lldb/include/lldb/Interpreter/ |
D | OptionValueFileSpecList.h | 43 std::lock_guard<std::recursive_mutex> lock(m_mutex); in Clear() 55 std::lock_guard<std::recursive_mutex> lock(m_mutex); in GetCurrentValue() 60 std::lock_guard<std::recursive_mutex> lock(m_mutex); in SetCurrentValue() 65 std::lock_guard<std::recursive_mutex> lock(m_mutex); in AppendCurrentValue() 70 mutable std::recursive_mutex m_mutex;
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | Predicate.h | 47 Predicate() : m_value(), m_mutex(), m_condition() {} in Predicate() 57 : m_value(initial_value), m_mutex(), m_condition() {} in Predicate() 72 std::lock_guard<std::mutex> guard(m_mutex); in GetValue() 91 std::lock_guard<std::mutex> guard(m_mutex); in SetValue() 123 std::unique_lock<std::mutex> lock(m_mutex); in WaitFor() 192 mutable std::mutex m_mutex; ///< The mutex to use when accessing the data variable
|
D | SharedCluster.h | 34 std::lock_guard<std::mutex> guard(m_mutex); in ManageObject() 41 std::lock_guard<std::mutex> guard(m_mutex); in GetSharedPointer() 51 ClusterManager() : m_objects(), m_mutex() {} in ClusterManager() 54 std::mutex m_mutex; variable
|
D | Iterable.h | 174 : AdaptedIterable<C, E, A>(container), m_mutex(&mutex) { in LockingAdaptedIterable() 175 m_mutex->lock(); in LockingAdaptedIterable() 179 : AdaptedIterable<C, E, A>(rhs), m_mutex(rhs.m_mutex) { in LockingAdaptedIterable() 180 rhs.m_mutex = nullptr; in LockingAdaptedIterable() 184 if (m_mutex) in ~LockingAdaptedIterable() 185 m_mutex->unlock(); in ~LockingAdaptedIterable() 189 MutexType *m_mutex = nullptr;
|
/external/llvm-project/lldb/source/Symbol/ |
D | FuncUnwinders.cpp | 37 : m_unwind_table(unwind_table), m_range(range), m_mutex(), in FuncUnwinders() 62 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetUnwindPlanAtCallSite() 81 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetCompactUnwindUnwindPlan() 106 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetObjectFileUnwindPlan() 126 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetEHFrameUnwindPlan() 144 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetDebugFrameUnwindPlan() 162 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetArmUnwindUnwindPlan() 200 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetSymbolFileUnwindPlan() 216 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetObjectFileAugmentedUnwindPlan() 247 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetEHFrameAugmentedUnwindPlan() [all …]
|
D | Symtab.cpp | 32 m_name_to_index(), m_mutex(), m_file_addr_to_index_computed(false), in Symtab() 63 std::lock_guard<std::recursive_mutex> guard(m_mutex); in GetNumSymbols() 74 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Dump() 145 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Dump() 192 std::lock_guard<std::recursive_mutex> guard(m_mutex); in FindSymbolByID() 407 std::lock_guard<std::recursive_mutex> guard(m_mutex); in PreloadSymbols() 417 std::lock_guard<std::recursive_mutex> guard(m_mutex); in AppendSymbolNamesToMap() 444 std::lock_guard<std::recursive_mutex> guard(m_mutex); in AppendSymbolIndexesWithType() 462 std::lock_guard<std::recursive_mutex> guard(m_mutex); in AppendSymbolIndexesWithTypeAndFlagsValue() 484 std::lock_guard<std::recursive_mutex> guard(m_mutex); in AppendSymbolIndexesWithType() [all …]
|
/external/llvm-project/lldb/source/DataFormatters/ |
D | FormatCache.cpp | 78 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Get() 103 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Set() 108 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Set() 114 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Set() 119 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Clear()
|
/external/llvm-project/lldb/source/Initialization/ |
D | SystemLifetimeManager.cpp | 19 : m_mutex(), m_initialized(false) {} in SystemLifetimeManager() 29 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Initialize() 47 std::lock_guard<std::recursive_mutex> guard(m_mutex); in Terminate()
|