/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
H A D | Mutex.h | 29 class Mutex class 34 ** Function: Mutex 41 Mutex (); 46 ** Function: ~Mutex 53 ~Mutex ();
|
H A D | Mutex.cpp | 27 #include "Mutex.h" 32 ** Function: Mutex 39 Mutex::Mutex () function in class:Mutex 45 ALOGE ("Mutex::Mutex: fail init; error=0x%X", res); 52 ** Function: ~Mutex 59 Mutex::~Mutex () 64 ALOGE ("Mutex [all...] |
/external/chromium_org/third_party/icu/source/common/ |
H A D | mutex.h | 31 // should instantiate a Mutex object while doing so. You should make your own 41 // Mutex mutex(&myMutex); // or no args for the global lock 46 // Note: Do NOT use the form 'Mutex mutex();' as that merely forward-declares a function 47 // returning a Mutex. This is a common mistake which silently slips through the 51 class U_COMMON_API Mutex : public UMemory { class in inherits:UMemory 53 inline Mutex(UMutex *mutex = NULL); 54 inline ~Mutex(); 59 Mutex(const Mutex &other); // forbid copying of this class 60 Mutex 63 inline Mutex::Mutex(UMutex *mutex) function in class:Mutex [all...] |
/external/deqp/framework/delibs/decpp/ |
H A D | deMutex.cpp | 34 * \param flags Mutex flags as described in deMutex.h. 37 Mutex::Mutex (deUint32 flags) function in class:de::Mutex 49 Mutex::~Mutex (void)
|
H A D | deMutex.hpp | 35 * Mutex class provides standard mutual exclusion lock functionality. 37 class Mutex class in namespace:de 40 Mutex (deUint32 flags = 0); 41 ~Mutex (void); 48 Mutex (const Mutex& other); // Not allowed! 49 Mutex& operator= (const Mutex& other); // Not allowed! 57 * ScopedLock provides helper for maintaining Mutex lock for the duration 64 ScopedLock (Mutex [all...] |
/external/icu/icu4c/source/common/ |
H A D | mutex.h | 31 // should instantiate a Mutex object while doing so. You should make your own 41 // Mutex mutex(&myMutex); // or no args for the global lock 46 // Note: Do NOT use the form 'Mutex mutex();' as that merely forward-declares a function 47 // returning a Mutex. This is a common mistake which silently slips through the 51 class U_COMMON_API Mutex : public UMemory { class in inherits:UMemory 53 inline Mutex(UMutex *mutex = NULL); 54 inline ~Mutex(); 59 Mutex(const Mutex &other); // forbid copying of this class 60 Mutex 63 inline Mutex::Mutex(UMutex *mutex) function in class:Mutex [all...] |
/external/chromium_org/mojo/public/cpp/utility/lib/ |
H A D | mutex.cc | 14 Mutex::Mutex() { function in class:mojo::Mutex 26 Mutex::~Mutex() { 31 void Mutex::Lock() { 36 void Mutex::Unlock() { 41 bool Mutex::TryLock() { 47 void Mutex::AssertHeld() {
|
/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/ |
H A D | mutex.h | 13 typedef base::Lock Mutex; typedef in namespace:invalidation 17 explicit MutexLock(Mutex* m) : auto_lock_(*m) {}
|
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
H A D | eglglobals.h | 44 _EGLMutex *Mutex; member in struct:_egl_global
|
/external/compiler-rt/test/tsan/ |
H A D | ignore_sync.cc | 9 pthread_mutex_t Mutex = PTHREAD_MUTEX_INITIALIZER; variable 13 pthread_mutex_lock(&Mutex); 15 pthread_mutex_unlock(&Mutex); 23 pthread_mutex_lock(&Mutex); 25 pthread_mutex_unlock(&Mutex);
|
/external/mesa3d/src/egl/main/ |
H A D | eglglobals.h | 44 _EGLMutex *Mutex; member in struct:_egl_global
|
/external/chromium_org/mojo/public/cpp/utility/ |
H A D | mutex.h | 26 class Mutex { class in namespace:mojo 29 Mutex() : mutex_(internal::kPthreadMutexInitializer) {} function in class:mojo::Mutex 30 ~Mutex() { pthread_mutex_destroy(&mutex_); } 38 Mutex(); 39 ~Mutex(); 51 MOJO_DISALLOW_COPY_AND_ASSIGN(Mutex); 56 explicit MutexLock(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); } 60 Mutex* const mutex_;
|
/external/clang/test/Misc/ |
H A D | ast-dump-color.cpp | 18 class __attribute__((lockable)) Mutex { class 65 //CHECK: {{^}}[[Blue]]|-[[RESET]][[GREEN]]CXXRecordDecl[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]line:18:1[[RESET]], [[Yellow]]line:25:1[[RESET]]> [[Yellow]]line:18:33[[RESET]] class[[CYAN]] Mutex[[RESET]] definition{{$}} 67 //CHECK: {{^}}[[Blue]]| |-[[RESET]][[GREEN]]CXXRecordDecl[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:1[[RESET]], [[Yellow]]col:33[[RESET]]> [[Yellow]]col:33[[RESET]] implicit class[[CYAN]] Mutex[[RESET]]{{$}} 78 //CHECK: {{^}}[[Blue]]| |-[[RESET]][[GREEN]]CXXConstructorDecl[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]line:18:33[[RESET]]> [[Yellow]]col:33[[RESET]] implicit used[[CYAN]] Mutex[[RESET]] [[Green]]'void (void)'[[RESET]] inline{{.*$}} 80 //CHECK: {{^}}[[Blue]]| |-[[RESET]][[GREEN]]CXXConstructorDecl[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:33[[RESET]]> [[Yellow]]col:33[[RESET]] implicit[[CYAN]] Mutex[[RESET]] [[Green]]'void (const class Mutex &)'[[RESET]] inline{{ .*$}} 81 //CHECK: {{^}}[[Blue]]| | `-[[RESET]][[GREEN]]ParmVarDecl[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:33[[RESET]]> [[Yellow]]col:33[[RESET]] [[Green]]'const class Mutex &'[[RESET]]{{$}} 82 //CHECK: {{^}}[[Blue]]| `-[[RESET]][[GREEN]]CXXConstructorDecl[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:33[[RESET]]> [[Yellow]]col:33[[RESET]] implicit[[CYAN]] Mutex[[RESET]] [[Green]]'void (class Mutex &&)'[[RESET]] inline{{ .*$}} 83 //CHECK: {{^}}[[Blue]]| `-[[RESET]][[GREEN]]ParmVarDecl[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:33[[RESET]]> [[Yellow]]col:33[[RESET]] [[Green]]'class Mutex [all...] |
/external/libcxx/test/thread/thread.condition/thread.condition.condvarany/ |
H A D | wait.exception.pass.cpp | 13 struct Mutex struct 16 Mutex() = default; 17 ~Mutex() = default; 18 Mutex(const Mutex&) = delete; 19 Mutex& operator=(const Mutex&) = delete; 30 Mutex mut;
|
H A D | wait_for.exception.pass.cpp | 13 struct Mutex struct 16 Mutex() = default; 17 ~Mutex() = default; 18 Mutex(const Mutex&) = delete; 19 Mutex& operator=(const Mutex&) = delete; 30 Mutex mut;
|
/external/chromium_org/third_party/leveldatabase/src/port/ |
H A D | port_posix.cc | 22 Mutex::Mutex() { PthreadCall("init mutex", pthread_mutex_init(&mu_, NULL)); } function in class:leveldb::port::Mutex 24 Mutex::~Mutex() { PthreadCall("destroy mutex", pthread_mutex_destroy(&mu_)); } 26 void Mutex::Lock() { PthreadCall("lock", pthread_mutex_lock(&mu_)); } 28 void Mutex::Unlock() { PthreadCall("unlock", pthread_mutex_unlock(&mu_)); } 30 CondVar::CondVar(Mutex* mu)
|
H A D | port_example.h | 25 // A Mutex represents an exclusive lock. 26 class Mutex { class in namespace:leveldb::port 28 Mutex(); 29 ~Mutex(); 47 explicit CondVar(Mutex* mu);
|
/external/chromium_org/v8/src/base/platform/ |
H A D | mutex.cc | 113 Mutex::Mutex() { function in class:v8::base::Mutex 121 Mutex::~Mutex() { 127 void Mutex::Lock() { 133 void Mutex::Unlock() { 139 bool Mutex::TryLock() {
|
/external/chromium_org/third_party/leveldatabase/port/ |
H A D | port_chromium.cc | 17 Mutex::Mutex() { function in class:leveldb::port::Mutex 20 Mutex::~Mutex() { 23 void Mutex::Lock() { 27 void Mutex::Unlock() { 31 void Mutex::AssertHeld() { 35 CondVar::CondVar(Mutex* mu)
|
/external/compiler-rt/lib/tsan/benchmarks/ |
H A D | vts_many_threads_bench.cc | 31 class __attribute__((aligned(64))) Mutex { class 33 Mutex() { pthread_mutex_init(&m_, NULL); } function in class:Mutex 34 ~Mutex() { pthread_mutex_destroy(&m_); } 43 Mutex mutexes[kNumMutexes];
|
/external/compiler-rt/lib/tsan/dd/ |
H A D | dd_rtl.h | 24 struct Mutex { struct in namespace:__dsan 42 typedef AddrHashMap<Mutex, 31051> MutexHashMap;
|
/external/openfst/src/include/fst/ |
H A D | lock.h | 51 class Mutex { class in namespace:fst 53 Mutex() {} function in class:fst::Mutex 56 DISALLOW_COPY_AND_ASSIGN(Mutex); 61 MutexLock(Mutex *) {} 69 ReaderMutexLock(Mutex *) {}
|
/external/ceres-solver/internal/ceres/ |
H A D | mutex.h | 39 // problems when we have multiple versions of Mutex in each shared object. 66 // file.) Basically, because Mutex does non-trivial work in its 74 // it to true (which happens after the Mutex constructor has run.) 147 class Mutex { class in namespace:ceres::internal 149 // Create a Mutex that is not held by anybody. This constructor is 151 // See below for a recommendation for constructing global Mutex 153 inline Mutex(); 156 inline ~Mutex(); 168 inline void ReaderUnlock(); // Release a read share of this Mutex 184 // Catch the error of writing Mutex whe 185 Mutex(Mutex* /*ignored*/) {} function in class:ceres::internal::Mutex 204 Mutex::Mutex() : mutex_(0) { } function in class:ceres::internal::Mutex 216 Mutex::Mutex() { InitializeCriticalSection(&mutex_); SetIsSafe(); } function in class:ceres::internal::Mutex 233 Mutex::Mutex() { function in class:ceres::internal::Mutex 255 Mutex::Mutex() { function in class:ceres::internal::Mutex [all...] |
/external/chromium_org/third_party/re2/util/ |
H A D | mutex.h | 54 class Mutex { class in namespace:re2 56 // Create a Mutex that is not held by anybody. 57 inline Mutex(); 60 inline ~Mutex(); 70 inline void ReaderUnlock(); // Release a read share of this Mutex 78 // Catch the error of writing Mutex when intending MutexLock. 79 Mutex(Mutex *ignored); 81 Mutex(const Mutex 99 Mutex::Mutex() : mutex_(0) { } function in class:re2::Mutex 112 Mutex::Mutex() { SAFE_PTHREAD(pthread_rwlock_init(&mutex_, NULL)); } function in class:re2::Mutex 127 Mutex::Mutex() { SAFE_PTHREAD(pthread_mutex_init(&mutex_, NULL)); } function in class:re2::Mutex 138 Mutex::Mutex() { InitializeCriticalSection(&mutex_); } function in class:re2::Mutex [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
H A D | simple_mutex.h | 46 // problems when we have multiple versions of Mutex in each shared object. 65 // file.) Basically, because Mutex does non-trivial work in its 73 // it to true (which happens after the Mutex constructor has run.) 96 // the Mutex global destructor runs before some other global 101 // weird to a Mutex's memory after it is destroyed, but for a 147 class Mutex { class in namespace:MUTEX_NAMESPACE 152 // Create a Mutex that is not held by anybody. This constructor is 154 inline Mutex(); 155 // This constructor should be used for global, static Mutex objects. 159 inline Mutex(LinkerInitialize 188 Mutex(Mutex* /*ignored*/) {} function in class:MUTEX_NAMESPACE::Mutex 207 Mutex::Mutex() : mutex_(0) { } function in class:MUTEX_NAMESPACE::Mutex 208 Mutex::Mutex(Mutex::LinkerInitialized) : mutex_(0) { } function in class:MUTEX_NAMESPACE::Mutex 218 Mutex::Mutex() : destroy_(true) { function in class:MUTEX_NAMESPACE::Mutex 222 Mutex::Mutex(LinkerInitialized) : destroy_(false) { function in class:MUTEX_NAMESPACE::Mutex 240 Mutex::Mutex() : destroy_(true) { function in class:MUTEX_NAMESPACE::Mutex 244 Mutex::Mutex(Mutex::LinkerInitialized) : destroy_(false) { function in class:MUTEX_NAMESPACE::Mutex 263 Mutex::Mutex() : destroy_(true) { function in class:MUTEX_NAMESPACE::Mutex 267 Mutex::Mutex(Mutex::LinkerInitialized) : destroy_(false) { function in class:MUTEX_NAMESPACE::Mutex [all...] |