/external/lldb/source/Host/common/ |
D | Mutex.cpp | 186 m_mutex() in Mutex() 189 err = ::pthread_mutex_init (&m_mutex, NULL); in Mutex() 192 error_check_mutex (&m_mutex, eMutexActionInitialized); in Mutex() 203 m_mutex() in Mutex() 224 err = ::pthread_mutex_init (&m_mutex, &attr); in Mutex() 227 error_check_mutex (&m_mutex, eMutexActionInitialized); in Mutex() 241 int err = ::pthread_mutex_destroy (&m_mutex); in ~Mutex() 245 error_check_mutex (&m_mutex, eMutexActionDestroyed); in ~Mutex() 251 memset (&m_mutex, '\xba', sizeof(m_mutex)); in ~Mutex() 261 return &m_mutex; in GetMutex() [all …]
|
/external/lldb/include/lldb/Host/ |
D | Predicate.h | 57 m_mutex(), in Predicate() 73 m_mutex(), in Predicate() 100 Mutex::Locker locker(m_mutex); in GetValue() 123 Mutex::Locker locker(m_mutex); in SetValue() 151 Mutex::Locker locker(m_mutex); in SetValueBits() 179 Mutex::Locker locker(m_mutex); in ResetValueBits() 224 Mutex::Locker locker(m_mutex); 230 err = m_condition.Wait (m_mutex, abstime); 274 Mutex::Locker locker(m_mutex); 281 err = m_condition.Wait (m_mutex, abstime); [all …]
|
/external/lldb/tools/debugserver/source/ |
D | PThreadEvent.cpp | 19 m_mutex(), in PThreadEvent() 39 PTHREAD_MUTEX_LOCKER (locker, m_mutex); in NewEventBit() 53 PTHREAD_MUTEX_LOCKER (locker, m_mutex); in FreeEventBits() 64 PTHREAD_MUTEX_LOCKER (locker, m_mutex); in GetEventBits() 74 PTHREAD_MUTEX_LOCKER (locker, m_mutex); in ReplaceEventBits() 98 PTHREAD_MUTEX_LOCKER (locker, m_mutex); in SetEvents() 116 PTHREAD_MUTEX_LOCKER (locker, m_mutex); in ResetEvents() 142 PTHREAD_MUTEX_LOCKER (locker, m_mutex); in WaitForSetEvents() 157 … err = ::pthread_cond_timedwait (m_set_condition.Condition(), m_mutex.Mutex(), timeout_abstime); in WaitForSetEvents() 170 err = ::pthread_cond_wait (m_set_condition.Condition(), m_mutex.Mutex()); in WaitForSetEvents() [all …]
|
D | PThreadMutex.h | 104 err = ::pthread_mutex_init (&m_mutex, NULL); assert(err == 0); in PThreadMutex() 113 err = ::pthread_mutex_init (&m_mutex, &attr); assert(err == 0); in PThreadMutex() 120 err = ::pthread_mutex_destroy (&m_mutex); in ~PThreadMutex() 125 ::pthread_mutex_destroy (&m_mutex); in ~PThreadMutex() 131 return &m_mutex; in Mutex() 136 return ::pthread_mutex_lock (&m_mutex); in Lock() 141 return ::pthread_mutex_unlock (&m_mutex); in Unlock() 145 pthread_mutex_t m_mutex;
|
/external/valgrind/main/drd/tests/ |
D | annotate_smart_pointer.cpp | 62 Mutex() : m_mutex() in Mutex() 63 { InitializeCriticalSection(&m_mutex); } in Mutex() 65 { DeleteCriticalSection(&m_mutex); } in ~Mutex() 67 { EnterCriticalSection(&m_mutex); } in Lock() 69 { LeaveCriticalSection(&m_mutex); } in Unlock() 72 CRITICAL_SECTION m_mutex; member in Mutex 123 Mutex() : m_mutex() in Mutex() 124 { pthread_mutex_init(&m_mutex, NULL); } in Mutex() 126 { pthread_mutex_destroy(&m_mutex); } in ~Mutex() 128 { pthread_mutex_lock(&m_mutex); } in Lock() [all …]
|
D | monitor_example.cpp | 77 : m_mutex() in Monitor() 85 pthread_mutex_init(&m_mutex, &mutexattr); in Monitor() 99 pthread_mutex_destroy(&m_mutex); in ~Monitor() 103 pthread_mutex_lock(&m_mutex); in lock() 114 pthread_mutex_unlock(&m_mutex); in unlock() 121 pthread_cond_wait(&m_cond, &m_mutex); in wait() 138 pthread_mutex_lock(&m_mutex); in is_locked_by_self() 140 pthread_mutex_unlock(&m_mutex); in is_locked_by_self() 148 pthread_mutex_t m_mutex; member in Monitor
|
D | pth_broadcast.c | 21 pthread_mutex_t m_mutex; member 29 pthread_mutex_init(&p->m_mutex, 0); in csema_ctr() 36 pthread_mutex_destroy(&p->m_mutex); in csema_dtr() 41 pthread_mutex_lock(&p->m_mutex); in csema_p() 43 pthread_cond_wait(&p->m_cond, &p->m_mutex); in csema_p() 46 pthread_mutex_unlock(&p->m_mutex); in csema_p() 51 pthread_mutex_lock(&p->m_mutex); in csema_v() 54 pthread_mutex_unlock(&p->m_mutex); in csema_v()
|
/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/chromium_org/third_party/WebKit/Source/wtf/ |
D | ThreadingPthreads.cpp | 119 int result = pthread_mutex_init(&m_mutex.m_internalMutex, &attr); in MutexBase() 122 m_mutex.m_recursionCount = 0; in MutexBase() 130 int result = pthread_mutex_destroy(&m_mutex.m_internalMutex); in ~MutexBase() 136 int result = pthread_mutex_lock(&m_mutex.m_internalMutex); in lock() 139 ++m_mutex.m_recursionCount; in lock() 146 ASSERT(m_mutex.m_recursionCount); in unlock() 147 --m_mutex.m_recursionCount; in unlock() 149 int result = pthread_mutex_unlock(&m_mutex.m_internalMutex); in unlock() 160 int result = pthread_mutex_trylock(&m_mutex.m_internalMutex); in tryLock() 165 ASSERT(!m_mutex.m_recursionCount); in tryLock() [all …]
|
D | ThreadingWin.cpp | 160 m_mutex.m_recursionCount = 0; in MutexBase() 161 InitializeCriticalSection(&m_mutex.m_internalMutex); in MutexBase() 166 DeleteCriticalSection(&m_mutex.m_internalMutex); in ~MutexBase() 171 EnterCriticalSection(&m_mutex.m_internalMutex); in lock() 172 ++m_mutex.m_recursionCount; in lock() 177 ASSERT(m_mutex.m_recursionCount); in unlock() 178 --m_mutex.m_recursionCount; in unlock() 179 LeaveCriticalSection(&m_mutex.m_internalMutex); in unlock() 190 DWORD result = TryEnterCriticalSection(&m_mutex.m_internalMutex); in tryLock() 199 if (m_mutex.m_recursionCount > 0) { in tryLock() [all …]
|
D | MessageQueue.h | 78 mutable Mutex m_mutex; 87 MutexLocker lock(m_mutex); in append() 96 MutexLocker lock(m_mutex); in appendAndKill() 106 MutexLocker lock(m_mutex); in appendAndCheckEmpty() 116 MutexLocker lock(m_mutex); in prepend() 133 MutexLocker lock(m_mutex); in waitForMessageWithTimeout() 137 timedOut = !m_condition.timedWait(m_mutex, absoluteTime); in waitForMessageWithTimeout() 160 MutexLocker lock(m_mutex); in tryGetMessage() 172 MutexLocker lock(m_mutex); in tryGetMessageIgnoringKilled() 182 MutexLocker lock(m_mutex); in isEmpty() [all …]
|
D | ThreadingPrimitives.h | 87 bool locked() { return m_mutex.m_recursionCount > 0; } in locked() 91 PlatformMutex& impl() { return m_mutex; } in impl() 96 PlatformMutex m_mutex; variable 116 MutexTryLocker(Mutex& mutex) : m_mutex(mutex), m_locked(mutex.tryLock()) { } in MutexTryLocker() 120 m_mutex.unlock(); in ~MutexTryLocker() 126 Mutex& m_mutex;
|
/external/lldb/source/Breakpoint/ |
D | BreakpointLocationList.cpp | 28 m_mutex (Mutex::eMutexTypeRecursive), in BreakpointLocationList() 41 Mutex::Locker locker (m_mutex); in Create() 81 Mutex::Locker locker (m_mutex); in FindByID() 96 Mutex::Locker locker (m_mutex); in FindInModule() 115 Mutex::Locker locker (m_mutex); in FindByAddress() 149 Mutex::Locker locker (m_mutex); in Dump() 162 Mutex::Locker locker (m_mutex); in GetByIndex() 173 Mutex::Locker locker (m_mutex); in GetByIndex() 184 Mutex::Locker locker (m_mutex); in ClearAllBreakpointSites() 193 Mutex::Locker locker (m_mutex); in ResolveAllBreakpointSites() [all …]
|
D | BreakpointList.cpp | 22 m_mutex (Mutex::eMutexTypeRecursive), in BreakpointList() 37 Mutex::Locker locker(m_mutex); in Add() 54 Mutex::Locker locker(m_mutex); in Remove() 74 Mutex::Locker locker(m_mutex); in SetEnabledAll() 84 Mutex::Locker locker(m_mutex); in RemoveAll() 137 Mutex::Locker locker(m_mutex); in FindBreakpointByID() 149 Mutex::Locker locker(m_mutex); in FindBreakpointByID() 161 Mutex::Locker locker(m_mutex); in Dump() 177 Mutex::Locker locker(m_mutex); in GetBreakpointAtIndex() 193 Mutex::Locker locker(m_mutex); in GetBreakpointAtIndex() [all …]
|
D | BreakpointSiteList.cpp | 23 m_mutex (Mutex::eMutexTypeRecursive), in BreakpointSiteList() 39 Mutex::Locker locker(m_mutex); in Add() 84 Mutex::Locker locker(m_mutex); in Remove() 97 Mutex::Locker locker(m_mutex); in RemoveByAddress() 127 Mutex::Locker locker(m_mutex); in GetIDIterator() 135 Mutex::Locker locker(m_mutex); in GetIDConstIterator() 143 Mutex::Locker locker(m_mutex); in FindByID() 155 Mutex::Locker locker(m_mutex); in FindByID() 168 Mutex::Locker locker(m_mutex); in FindByAddress() 178 Mutex::Locker locker(m_mutex); in BreakpointSiteContainsBreakpoint() [all …]
|
D | WatchpointList.cpp | 23 m_mutex (Mutex::eMutexTypeRecursive), in WatchpointList() 36 Mutex::Locker locker (m_mutex); in Add() 57 Mutex::Locker locker (m_mutex); in DumpWithLevel() 73 Mutex::Locker locker (m_mutex); in FindByAddress() 91 Mutex::Locker locker (m_mutex); in FindBySpec() 140 Mutex::Locker locker (m_mutex); in FindByID() 173 Mutex::Locker locker (m_mutex); in GetByIndex() 187 Mutex::Locker locker (m_mutex); in GetByIndex() 211 Mutex::Locker locker (m_mutex); in Remove() 232 Mutex::Locker locker (m_mutex); in GetHitCount() [all …]
|
/external/lldb/include/lldb/Core/ |
D | ThreadSafeSTLMap.h | 35 m_mutex (Mutex::eMutexTypeRecursive) in ThreadSafeSTLMap() 46 Mutex::Locker locker(m_mutex); in IsEmpty() 53 Mutex::Locker locker(m_mutex); in Clear() 60 Mutex::Locker locker(m_mutex); in Erase() 73 Mutex::Locker locker(m_mutex); in GetValueForKey() 94 Mutex::Locker locker(m_mutex); in GetFirstKeyForValue() 119 Mutex::Locker locker(m_mutex); in LowerBound() 153 Mutex::Locker locker(m_mutex); in SetValueForKey() 168 return m_mutex; in GetMutex() 173 mutable Mutex m_mutex; variable
|
D | ThreadSafeValue.h | 30 m_mutex (Mutex::eMutexTypeRecursive) in ThreadSafeValue() 36 m_mutex (Mutex::eMutexTypeRecursive) in ThreadSafeValue() 49 Mutex::Locker locker(m_mutex); in GetValue() 66 Mutex::Locker locker(m_mutex); in SetValue() 81 return m_mutex; in GetMutex() 86 mutable Mutex m_mutex; variable
|
D | ModuleSpec.h | 437 m_mutex(Mutex::eMutexTypeRecursive) in ModuleSpecList() 443 m_mutex(Mutex::eMutexTypeRecursive) in ModuleSpecList() 445 Mutex::Locker lhs_locker(m_mutex); in ModuleSpecList() 446 Mutex::Locker rhs_locker(rhs.m_mutex); in ModuleSpecList() 459 Mutex::Locker lhs_locker(m_mutex); 460 Mutex::Locker rhs_locker(rhs.m_mutex); 469 Mutex::Locker locker(m_mutex); in GetSize() 476 Mutex::Locker locker(m_mutex); in Clear() 483 Mutex::Locker locker(m_mutex); in Append() 490 Mutex::Locker lhs_locker(m_mutex); in Append() [all …]
|
/external/lldb/source/Interpreter/ |
D | CommandHistory.cpp | 18 m_mutex(Mutex::eMutexTypeRecursive), in CommandHistory() 28 Mutex::Locker locker(m_mutex); in GetSize() 35 Mutex::Locker locker(m_mutex); in IsEmpty() 42 Mutex::Locker locker(m_mutex); in FindString() 81 Mutex::Locker locker(m_mutex); in GetStringAtIndex() 96 Mutex::Locker locker(m_mutex); in GetRecentmostString() 106 Mutex::Locker locker(m_mutex); in AppendString() 121 Mutex::Locker locker(m_mutex); in Clear() 130 Mutex::Locker locker(m_mutex); in Dump()
|
/external/lldb/include/lldb/Utility/ |
D | SharedCluster.h | 49 m_mutex(Mutex::eMutexTypeNormal) {} in ClusterManager() 61 m_mutex.Unlock(); in ~ClusterManager() 66 Mutex::Locker locker (m_mutex); in ManageObject() 74 Mutex::Locker locker (m_mutex); in GetSharedPointer() 92 m_mutex.Lock(); in DecrementRefCount() 97 m_mutex.Unlock(); in DecrementRefCount() 104 Mutex m_mutex; variable
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | ImageDecodingStore.cpp | 66 MutexLocker lock(m_mutex); in lockDecoder() 82 MutexLocker lock(m_mutex); in unlockDecoder() 101 MutexLocker lock(m_mutex); in insertDecoder() 110 MutexLocker lock(m_mutex); in removeDecoder() 132 MutexLocker lock(m_mutex); in removeCacheIndexedByGenerator() 147 MutexLocker lock(m_mutex); in clear() 155 MutexLocker lock(m_mutex); in clear() 163 MutexLocker lock(m_mutex); in setCacheLimitInBytes() 171 MutexLocker lock(m_mutex); in memoryUsageInBytes() 177 MutexLocker lock(m_mutex); in cacheEntries() [all …]
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
D | ScriptStreamer.cpp | 41 MutexLocker locker(m_mutex); in produce() 48 MutexLocker locker(m_mutex); in finish() 55 MutexLocker locker(m_mutex); in consume() 57 m_haveData.wait(m_mutex); in consume() 78 Mutex m_mutex; member in blink::SourceStreamDataQueue 104 MutexLocker locker(m_mutex); in GetMoreData() 112 MutexLocker locker(m_mutex); in GetMoreData() 140 MutexLocker locker(m_mutex); in cancel() 161 MutexLocker locker(m_mutex); in prepareDataOnMainThread() 208 Mutex m_mutex; member in blink::SourceStream
|
/external/lldb/source/Target/ |
D | SectionLoadList.cpp | 31 Mutex::Locker locker(m_mutex); in IsEmpty() 38 Mutex::Locker locker(m_mutex); in Clear() 50 Mutex::Locker locker(m_mutex); in GetSectionLoadAddress() 79 Mutex::Locker locker(m_mutex); in SetSectionLoadAddress() 149 Mutex::Locker locker(m_mutex); in SetSectionUnloaded() 182 Mutex::Locker locker(m_mutex); in SetSectionUnloaded() 205 Mutex::Locker locker(m_mutex); in ResolveLoadAddress() 249 Mutex::Locker locker(m_mutex); in Dump()
|