/external/valgrind/main/drd/tests/ |
D | annotate_smart_pointer.cpp | 61 Mutex() : m_mutex() in Mutex() 62 { InitializeCriticalSection(&m_mutex); } in Mutex() 64 { DeleteCriticalSection(&m_mutex); } in ~Mutex() 66 { EnterCriticalSection(&m_mutex); } in Lock() 68 { LeaveCriticalSection(&m_mutex); } in Unlock() 71 CRITICAL_SECTION m_mutex; member in Mutex 122 Mutex() : m_mutex() in Mutex() 123 { pthread_mutex_init(&m_mutex, NULL); } in Mutex() 125 { pthread_mutex_destroy(&m_mutex); } in ~Mutex() 127 { 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/webkit/Source/WebCore/bindings/generic/ |
D | ActiveDOMCallback.cpp | 75 MutexLocker locker(m_mutex); in contextDestroyed() 81 MutexLocker locker(m_mutex); in suspend() 86 MutexLocker locker(m_mutex); in resume() 91 MutexLocker locker(m_mutex); in stop() 96 MutexLocker locker(m_mutex); in canInvokeCallback() 101 MutexLocker locker(m_mutex); in scriptExecutionContext() 104 Mutex& mutex() { return m_mutex; } in mutex() 107 Mutex m_mutex; member in WebCore::ActiveDOMObjectCallbackImpl
|
/external/webkit/Source/JavaScriptCore/wtf/ |
D | MessageQueue.h | 80 mutable Mutex m_mutex; variable 95 MutexLocker lock(m_mutex); in append() 104 MutexLocker lock(m_mutex); in appendAndCheckEmpty() 114 MutexLocker lock(m_mutex); in prepend() 132 MutexLocker lock(m_mutex); in waitForMessageFilteredWithTimeout() 137 timedOut = !m_condition.timedWait(m_mutex, absoluteTime); in waitForMessageFilteredWithTimeout() 161 MutexLocker lock(m_mutex); in tryGetMessage() 174 MutexLocker lock(m_mutex); in removeIf() 190 MutexLocker lock(m_mutex); in isEmpty() 199 MutexLocker lock(m_mutex); in kill() [all …]
|
D | ThreadingWin.cpp | 279 m_mutex.m_recursionCount = 0; in Mutex() 280 InitializeCriticalSection(&m_mutex.m_internalMutex); in Mutex() 285 DeleteCriticalSection(&m_mutex.m_internalMutex); in ~Mutex() 290 EnterCriticalSection(&m_mutex.m_internalMutex); in lock() 291 ++m_mutex.m_recursionCount; in lock() 302 DWORD result = TryEnterCriticalSection(&m_mutex.m_internalMutex); in tryLock() 308 if (m_mutex.m_recursionCount > 0) { in tryLock() 309 LeaveCriticalSection(&m_mutex.m_internalMutex); in tryLock() 313 ++m_mutex.m_recursionCount; in tryLock() 322 --m_mutex.m_recursionCount; in unlock() [all …]
|
D | ThreadSafeRefCounted.h | 84 MutexLocker locker(m_mutex); in ref() 97 MutexLocker locker(m_mutex); in refCount() 115 MutexLocker locker(m_mutex); in derefBase() 131 mutable Mutex m_mutex; variable
|
D | ThreadingPthreads.cpp | 257 pthread_mutex_init(&m_mutex, &attr); in Mutex() 264 pthread_mutex_destroy(&m_mutex); in ~Mutex() 269 int result = pthread_mutex_lock(&m_mutex); in lock() 275 int result = pthread_mutex_trylock(&m_mutex); in tryLock() 288 int result = pthread_mutex_unlock(&m_mutex); in unlock()
|
D | CryptographicallyRandomNumber.cpp | 70 Mutex m_mutex; member in WTF::__anon15d327450111::ARC4RandomNumberGenerator 144 MutexLocker locker(m_mutex); in randomNumber() 155 MutexLocker locker(m_mutex); in randomValues()
|
D | ThreadingPrimitives.h | 111 PlatformMutex& impl() { return m_mutex; } in impl() 113 PlatformMutex m_mutex;
|
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
D | CCCompletionEvent.h | 36 m_mutex.lock(); in CCCompletionEvent() 41 m_mutex.unlock(); in ~CCCompletionEvent() 46 m_condition.wait(m_mutex); in wait() 51 MutexLocker lock(m_mutex); in signal() 56 Mutex m_mutex;
|
/external/webkit/Source/WebCore/dom/default/ |
D | PlatformMessagePortChannel.cpp | 156 MutexLocker lock(m_mutex); in setRemotePort() 164 MutexLocker lock(m_mutex); in remotePort() 170 MutexLocker lock(m_mutex); in entangledChannel() 176 MutexLocker lock(m_mutex); in setEntangledChannel() 185 MutexLocker lock(m_mutex); in postMessageToRemote() 195 MutexLocker lock(m_mutex); in tryGetMessageFromRemote() 202 MutexLocker lock(m_mutex); in isConnectedTo() 218 MutexLocker lock(m_mutex); in closeInternal() 227 MutexLocker lock(m_mutex); in hasPendingActivity() 233 MutexLocker lock(m_mutex); in locallyEntangledPort()
|
/external/webkit/Source/WebKit/android/smoke/ |
D | MessageThread.cpp | 48 AutoMutex lock(m_mutex); in hasMessages() 63 AutoMutex lock(m_mutex); in remove() 79 AutoMutex lock(m_mutex); in post() 96 AutoMutex lock(m_mutex); in postAtFront() 102 AutoMutex lock(m_mutex); in next() 106 m_condition.wait(m_mutex); in next() 113 m_condition.waitRelative(m_mutex, in next()
|
D | MessageThread.h | 69 Mutex m_mutex; variable 96 Mutex m_mutex; variable
|
/external/webkit/Source/WebKit/chromium/src/ |
D | PlatformMessagePortChannel.cpp | 159 MutexLocker lock(m_mutex); in messageAvailable() 166 MutexLocker lock(m_mutex); in entangleIfOpen() 173 MutexLocker lock(m_mutex); in disentangle() 223 MutexLocker lock(m_mutex); in close() 232 MutexLocker lock(m_mutex); in isConnectedTo() 238 MutexLocker lock(m_mutex); in hasPendingActivity() 247 MutexLocker lock(m_mutex); in setEntangledChannel()
|
D | WebWorkerBase.cpp | 78 MutexLocker locker(m_mutex); in cancel() 90 MutexLocker locker(m_mutex); in signalCompleted() 117 Mutex m_mutex; member in WebKit::__anon1449932d0111::AllowDatabaseMainThreadBridge
|
D | PlatformMessagePortChannel.h | 80 Mutex m_mutex; variable
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
D | CacheResult.cpp | 131 MutexLocker lock(m_mutex); in writeToFile() 143 m_condition.wait(m_mutex); in writeToFile() 199 MutexLocker lock(m_mutex); in onWriteToFileDone() 206 MutexLocker lock(m_mutex); in responseHeaders() 220 m_condition.wait(m_mutex); in responseHeaders() 239 MutexLocker lock(m_mutex); in onResponseHeadersDone()
|
D | CacheResult.h | 75 mutable WTF::Mutex m_mutex; variable
|
/external/webkit/Source/WebKit2/Platform/CoreIPC/ |
D | BinarySemaphore.cpp | 44 MutexLocker locker(m_mutex); in signal() 52 MutexLocker locker(m_mutex); in wait() 56 timedOut = !m_condition.timedWait(m_mutex, absoluteTime); in wait()
|
D | BinarySemaphore.h | 54 Mutex m_mutex;
|
D | Connection.cpp | 90 Mutex m_mutex; member in CoreIPC::Connection::SyncMessageState 142 MutexLocker locker(m_mutex); in processIncomingMessage() 164 MutexLocker locker(m_mutex); in dispatchMessages() 177 MutexLocker locker(m_mutex); in dispatchMessageAndResetDidScheduleDispatchMessagesWork()
|
/external/webkit/Source/JavaScriptCore/wtf/qt/ |
D | ThreadingQt.cpp | 217 : m_mutex(new QMutex()) in Mutex() 223 delete m_mutex; in ~Mutex() 228 m_mutex->lock(); in lock() 233 return m_mutex->tryLock(); in tryLock() 238 m_mutex->unlock(); in unlock()
|
/external/webkit/Source/WebCore/storage/ |
D | SQLCallbackWrapper.h | 64 MutexLocker locker(m_mutex); in clear() 82 MutexLocker locker(m_mutex); in unwrap() 99 Mutex m_mutex; variable
|
/external/webkit/Source/JavaScriptCore/wtf/gtk/ |
D | ThreadingGtk.cpp | 176 : m_mutex(g_mutex_new()) in Mutex() 186 g_mutex_lock(m_mutex.get()); in lock() 191 return g_mutex_trylock(m_mutex.get()); in tryLock() 196 g_mutex_unlock(m_mutex.get()); in unlock()
|