/external/chromium_org/third_party/leveldatabase/src/util/ |
mutexlock.h | 13 // Helper class that locks a mutex on construction and unlocks the mutex when 25 explicit MutexLock(port::Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu) 32 port::Mutex *const mu_;
|
/external/lldb/include/lldb/Core/ |
InputReaderStack.h | 16 #include "lldb/Host/Mutex.h" 43 Mutex & 49 mutable Mutex m_input_readers_mutex;
|
ThreadSafeSTLMap.h | 19 #include "lldb/Host/Mutex.h" 35 m_mutex (Mutex::eMutexTypeRecursive) 46 Mutex::Locker locker(m_mutex); 53 Mutex::Locker locker(m_mutex); 60 Mutex::Locker locker(m_mutex); 73 Mutex::Locker locker(m_mutex); 77 // Call this if you have already manually locked the mutex using the 94 Mutex::Locker locker(m_mutex); 119 Mutex::Locker locker(m_mutex); 153 Mutex::Locker locker(m_mutex) [all...] |
StreamTee.h | 16 #include "lldb/Host/Mutex.h" 25 m_streams_mutex (Mutex::eMutexTypeRecursive), 32 m_streams_mutex (Mutex::eMutexTypeRecursive), 35 // No need to lock mutex during construction 43 m_streams_mutex (Mutex::eMutexTypeRecursive), 46 // No need to lock mutex during construction 55 m_streams_mutex (Mutex::eMutexTypeRecursive), 58 Mutex::Locker locker (rhs.m_streams_mutex); 72 Mutex::Locker lhs_locker (m_streams_mutex); 73 Mutex::Locker rhs_locker (rhs.m_streams_mutex) [all...] |
/frameworks/av/include/private/media/ |
AudioEffectShared.h | 37 Mutex lock; 43 : lock(Mutex::SHARED), clientIndex(0), serverIndex(0) {}
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
PowerHAL.h | 22 #include <utils/Mutex.h> 37 Mutex mlock;
|
/frameworks/native/services/surfaceflinger/ |
EventControlThread.h | 22 #include <utils/Mutex.h> 42 Mutex mMutex;
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_test_util.h | 32 class Mutex { 36 explicit Mutex(Type type = Normal); 37 ~Mutex(); 55 Mutex(const Mutex&); 56 void operator = (const Mutex&); 96 void Create(const Mutex &m); 97 void Destroy(const Mutex &m); 98 void Lock(const Mutex &m); 99 bool TryLock(const Mutex &m) [all...] |
/system/core/include/utils/ |
Singleton.h | 33 Mutex::Autolock _l(sLock); 43 Mutex::Autolock _l(sLock); 54 static Mutex sLock; 63 * NOTE: we use a version of Mutex ctor that takes a parameter, because 68 template<> Mutex Singleton< TYPE >::sLock(Mutex::PRIVATE); \
|
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
SessionMap.h | 37 Mutex::Autolock lock(mLock); 51 Mutex::Autolock lock(mLock); 67 Mutex::Autolock lock(mLock); 77 Mutex::Autolock lock(mLock); 90 Mutex::Autolock lock(mLock); 105 Mutex::Autolock lock(mLock); 118 Mutex::Autolock lock(mLock); 123 Mutex::Autolock lock(mLock); 132 Mutex mLock;
|
/frameworks/base/libs/hwui/thread/ |
Signal.h | 33 Mutex::Autolock l(mLock); 39 Mutex::Autolock l(mLock); 49 mutable Mutex mLock;
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
sync.h | 7 class Mutex 12 Mutex() { 15 ~Mutex() {
|
/external/lldb/source/Host/common/ |
Mutex.cpp | 1 //===-- Mutex.cpp -----------------------------------------------*- C++ -*-===// 10 #include "lldb/Host/Mutex.h" 27 // Enable extra mutex error checking 59 // Make sure this isn't already in our initialized mutex set... 63 // Add the mutex to the initialized set 68 // Make sure this isn't already in our destroyed mutex set... 72 // Add the mutex to the destroyed set 76 // This function will return true if "m" is in the initialized mutex set 94 // This will create a scoped mutex locking object that doesn't have 95 // a mutex to lock. One will need to be provided using the Reset( [all...] |
/external/chromium_org/third_party/leveldatabase/src/port/ |
port_example.h | 25 // A Mutex represents an exclusive lock. 26 class Mutex { 28 Mutex(); 29 ~Mutex(); 31 // Lock the mutex. Waits until other lockers have exited. 32 // Will deadlock if the mutex is already locked by this thread. 35 // Unlock the mutex. 36 // REQUIRES: This mutex was locked by this thread. 39 // Optionally crash if this thread does not hold this mutex. 47 explicit CondVar(Mutex* mu) [all...] |
/external/chromium_org/v8/src/libplatform/ |
task-queue.cc | 17 LockGuard<Mutex> guard(&lock_); 24 LockGuard<Mutex> guard(&lock_); 34 LockGuard<Mutex> guard(&lock_); 51 LockGuard<Mutex> guard(&lock_);
|
/external/chromium_org/v8/src/platform/ |
condition-variable.h | 9 #include "src/platform/mutex.h" 27 // on a Mutex first. The |Wait()| and |WaitFor()| operations atomically release 28 // the mutex and suspend the execution of the calling thread. When the condition 29 // variable is notified, the thread is awakened, and the mutex is reacquired. 44 // notified or a spurious wakeup occurs. Atomically releases the mutex, blocks 48 // unblocked, regardless of the reason, the lock on the mutex is reacquired 50 void Wait(Mutex* mutex); 52 // Atomically releases the mutex, blocks the current executing thread, and 56 // spuriously. When unblocked, regardless of the reason, the lock on the mutex 74 Mutex* mutex() { return &mutex_; } function in class:v8::internal::V8_FINAL::V8_FINAL [all...] |
/art/runtime/base/ |
mutex.h | 50 // LockLevel is used to impose a lock hierarchy [1] where acquisition of a Mutex at a higher or 126 // Base class for all Mutex implementations 169 // Number of times the Mutex has been contended. 187 // A Mutex is used to achieve mutual exclusion between threads. A Mutex can be used to gain 188 // exclusive access to what it guards. A Mutex can be in one of two states: 197 // * Mutex is not reentrant and so an attempt to ExclusiveLock on the same thread will result in 199 std::ostream& operator<<(std::ostream& os, const Mutex& mu); 200 class LOCKABLE Mutex : public BaseMutex { 202 explicit Mutex(const char* name, LockLevel level = kDefaultMutexLevel, bool recursive = false) [all...] |
/external/chromium_org/v8/test/cctest/ |
test-mutex.cc | 32 #include "src/platform/mutex.h" 39 Mutex mutex; local 40 { LockGuard<Mutex> lock_guard(&mutex); 42 { LockGuard<Mutex> lock_guard(&mutex); 59 { LockGuard<Mutex> lock_guard(lazy_mutex.Pointer()); 61 { LockGuard<Mutex> lock_guard(lazy_mutex.Pointer()); 77 Mutex mutex1 [all...] |
test-condition-variable.cc | 39 Mutex mutex; local 42 LockGuard<Mutex> lock_guard(&mutex); 45 CHECK_EQ(false, cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n))); 48 CHECK_EQ(false, cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n))); 61 LockGuard<Mutex> lock_guard(&mutex_); 74 Mutex mutex_; 83 LockGuard<Mutex> lock_guard(&threads[n].mutex_); 94 LockGuard<Mutex> lock_guard(&threads[n].mutex_) 156 Mutex mutex; local 277 Mutex mutex; local [all...] |
/frameworks/native/include/private/binder/ |
Static.h | 34 extern Mutex gProcessMutex; 38 extern Mutex gDefaultServiceManagerLock;
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
SessionLibrary.cpp | 27 using android::Mutex; 32 Mutex SessionLibrary::sSingletonLock; 36 Mutex::Autolock lock(sSingletonLock); 47 Mutex::Autolock lock(mSessionsLock); 62 Mutex::Autolock lock(mSessionsLock); 74 Mutex::Autolock lock(mSessionsLock);\
|
/frameworks/av/media/libmediaplayerservice/ |
MediaRecorderClient.cpp | 62 Mutex::Autolock lock(mLock); 76 Mutex::Autolock lock(mLock); 87 Mutex::Autolock lock(mLock); 102 Mutex::Autolock lock(mLock); 116 Mutex::Autolock lock(mLock); 127 Mutex::Autolock lock(mLock); 138 Mutex::Autolock lock(mLock); 149 Mutex::Autolock lock(mLock); 160 Mutex::Autolock lock(mLock); 171 Mutex::Autolock lock(mLock) [all...] |
/frameworks/av/media/libstagefright/ |
MediaAdapter.cpp | 34 Mutex::Autolock autoLock(mAdapterLock); 40 Mutex::Autolock autoLock(mAdapterLock); 48 Mutex::Autolock autoLock(mAdapterLock); 64 Mutex::Autolock autoLock(mAdapterLock); 69 Mutex::Autolock autoLock(mAdapterLock); 79 Mutex::Autolock autoLock(mAdapterLock); 111 Mutex::Autolock autoLock(mAdapterLock);
|
/external/clang/test/SemaCXX/ |
warn-thread-safety-parsing.cpp | 27 class LOCKABLE Mutex { 45 Mutex mu; 46 Mutex getMu() { 49 Mutex * getMuPointer() { 63 Mutex mu1; 65 Mutex mu2; 68 Mutex* muPointer; 69 Mutex** muDoublePointer = & muPointer; 70 Mutex& muRef = mu1; 77 Mutex foomu [all...] |
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_mutex_test.cc | 96 TEST(Mutex, Write) { 97 Mutex mtx(MutexTypeAnnotations, StatMtxAnnotations); 98 TestData<Mutex> data(&mtx); 101 pthread_create(&threads[i], 0, write_mutex_thread<Mutex>, &data); 106 TEST(Mutex, ReadWrite) { 107 Mutex mtx(MutexTypeAnnotations, StatMtxAnnotations); 108 TestData<Mutex> data(&mtx); 111 pthread_create(&threads[i], 0, read_mutex_thread<Mutex>, &data); 116 TEST(Mutex, SpinWrite) {
|