Searched defs:Mutex (Results 26 - 50 of 70) sorted by relevance

123

/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dsimple_mutex.h46 // 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...]
/external/lldb/source/Host/common/
H A DMutex.cpp1 //===-- Mutex.cpp -----------------------------------------------*- C++ -*-===//
10 #include "lldb/Host/Mutex.h"
98 Mutex::Locker::Locker () :
104 // Constructor with a Mutex object.
109 Mutex::Locker::Locker (Mutex& m) :
116 // Constructor with a Mutex object pointer.
121 Mutex::Locker::Locker (Mutex* m) :
133 Mutex
185 Mutex::Mutex () : function in class:Mutex
202 Mutex::Mutex (Mutex::Type type) : function in class:Mutex
[all...]
/external/regex-re2/util/
H A Dmutex.h50 class Mutex { class in namespace:re2
52 // Create a Mutex that is not held by anybody.
53 inline Mutex();
56 inline ~Mutex();
66 inline void ReaderUnlock(); // Release a read share of this Mutex
74 // Catch the error of writing Mutex when intending MutexLock.
75 Mutex(Mutex *ignored);
77 Mutex(const Mutex
95 Mutex::Mutex() : mutex_(0) { } function in class:re2::Mutex
108 Mutex::Mutex() { SAFE_PTHREAD(pthread_rwlock_init(&mutex_, NULL)); } function in class:re2::Mutex
123 Mutex::Mutex() { SAFE_PTHREAD(pthread_mutex_init(&mutex_, NULL)); } function in class:re2::Mutex
134 Mutex::Mutex() { InitializeCriticalSection(&mutex_); } function in class:re2::Mutex
[all...]
/external/clang/test/Misc/
H A Dast-dump-attr.cpp44 class __attribute__((lockable)) Mutex { class
51 class Mutex TestVariadicExpr __attribute__((acquired_after(mu1, mu2)));
/external/lldb/tools/debugserver/source/
H A DPThreadMutex.h48 m_pMutex(m.Mutex())
54 m_pMutex(m ? m->Mutex() : NULL)
129 pthread_mutex_t *Mutex() function in class:PThreadMutex
/external/llvm/include/llvm/Support/
H A DMutex.h1 //===- llvm/Support/Mutex.h - Mutex Operating System Concept -----*- C++ -*-===//
10 // This file declares the llvm::sys::Mutex class.
25 /// @brief Platform agnostic Mutex class.
134 /// Mutex - A standard, always enforced mutex.
135 typedef SmartMutex<false> Mutex; typedef in namespace:llvm::sys
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DThreadingPrimitives.h99 class WTF_EXPORT Mutex : public MutexBase { class in namespace:WTF
101 Mutex() : MutexBase(false) { } function in class:WTF::Mutex
116 MutexTryLocker(Mutex& mutex) : m_mutex(mutex), m_locked(mutex.tryLock()) { }
126 Mutex& m_mutex;
156 using WTF::Mutex;
/external/chromium_org/third_party/leveldatabase/src/port/
H A Dport_posix.h85 class Mutex { class in namespace:leveldb::port
87 Mutex();
88 ~Mutex();
99 Mutex(const Mutex&);
100 void operator=(const Mutex&);
105 explicit CondVar(Mutex* mu);
112 Mutex* mu_;
/external/clang/test/Sema/
H A Dwarn-thread-safety-analysis.c28 struct LOCKABLE Mutex {}; struct
31 struct Mutex *mu_;
35 void mutex_exclusive_lock(struct Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu);
36 void mutex_shared_lock(struct Mutex *mu) SHARED_LOCK_FUNCTION(mu);
37 void mutex_unlock(struct Mutex *mu) UNLOCK_FUNCTION(mu);
38 void mutex_shared_unlock(struct Mutex *mu) __attribute__((release_shared_capability(mu)));
39 void mutex_exclusive_unlock(struct Mutex *mu) __attribute__((release_capability(mu)));
42 struct Mutex mu1;
43 struct Mutex mu2 ACQUIRED_AFTER(mu1);
H A Dattr-capabilities.c4 struct __attribute__((shared_capability("mutex"))) Mutex {}; struct
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutex.h40 class Mutex { class in namespace:__tsan
42 explicit Mutex(MutexType type, StatType stat_type);
43 ~Mutex();
62 Mutex(const Mutex&);
63 void operator = (const Mutex&);
66 typedef GenericScopedLock<Mutex> Lock;
67 typedef GenericScopedReadLock<Mutex> ReadLock;
H A Dtsan_mutex.cc120 Printf("Mutex %d participates in a cycle\n", i);
208 Mutex::Mutex(MutexType type, StatType stat_type) { function in class:__tsan::Mutex
220 Mutex::~Mutex() {
224 void Mutex::Lock() {
246 void Mutex::Unlock() {
255 void Mutex::ReadLock() {
273 void Mutex::ReadUnlock() {
283 void Mutex
[all...]
H A Dtsan_report.cc33 const char *Mutex() { return Magenta(); } function in class:__tsan::Decorator
171 Printf("%sM%zd%s%s", d.Mutex(), rm->id, d.EndMutex(), after);
177 Printf("%sM%zd (%p)%s%s", d.Mutex(), rm->id, rm->addr, d.EndMutex(), after);
183 Printf("%s", d.Mutex());
184 Printf(" Mutex M%llu is already destroyed.\n\n", rm->id);
187 Printf("%s", d.Mutex());
188 Printf(" Mutex M%llu (%p) created at:\n", rm->id, rm->addr);
258 Printf(" Mutex ");
267 Printf(" Mutex ");
364 Printf("Mutex
[all...]
/external/lldb/include/lldb/Host/
H A DMutex.h1 //===-- Mutex.h -------------------------------------------------*- C++ -*-===//
24 /// @class Mutex Mutex.h "lldb/Host/Mutex.h"
27 class Mutex class in namespace:lldb_private
35 eMutexTypeNormal, ///< Mutex that can't recursively entered by the same thread
36 eMutexTypeRecursive ///< Mutex can be recursively entered by the same thread
40 /// @class Mutex::Locker
43 /// objects to have a mutex locked when an Mutex::Locker
45 /// when the Mutex
[all...]
/external/valgrind/main/drd/tests/
H A Dannotate_smart_pointer.cpp59 class Mutex class
62 Mutex() : m_mutex() function in class:Mutex
64 ~Mutex()
120 class Mutex class
123 Mutex() : m_mutex() function in class:Mutex
125 ~Mutex()
294 mutable Mutex m_mutex;
H A Dtsan_thread_wrappers_pthread.h158 /// Just a boolean condition. Used by Mutex::LockWhen and similar.
189 class Mutex { class
192 Mutex() { function in class:Mutex
196 // Mutex more friendly to hybrid detectors.
198 ~Mutex() {
261 class MutexLock { // Scoped Mutex Locker/Unlocker
263 MutexLock(Mutex *mu)
271 Mutex *mu_;
280 void Wait(Mutex *mu) { CHECK(0 == pthread_cond_wait(&cv_, &mu->mu_)); }
281 bool WaitWithTimeout(Mutex *m
[all...]
/external/chromium_org/third_party/leveldatabase/port/
H A Dport_chromium.h37 class Mutex { class in namespace:leveldb::port
39 Mutex();
40 ~Mutex();
49 DISALLOW_COPY_AND_ASSIGN(Mutex);
54 explicit CondVar(Mutex* mu);
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dhash.c65 _glthread_Mutex Mutex; /**< mutual exclusion lock */ member in struct:_mesa_HashTable
82 _glthread_INIT_MUTEX(table->Mutex);
115 _glthread_DESTROY_MUTEX(table->Mutex);
160 _glthread_LOCK_MUTEX(table->Mutex);
162 _glthread_UNLOCK_MUTEX(table->Mutex);
185 _glthread_LOCK_MUTEX(table->Mutex);
202 _glthread_UNLOCK_MUTEX(table->Mutex);
216 _glthread_UNLOCK_MUTEX(table->Mutex);
246 _glthread_LOCK_MUTEX(table->Mutex);
261 _glthread_UNLOCK_MUTEX(table->Mutex);
[all...]
/external/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test_util.h32 class Mutex { class
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
[all...]
/external/mesa3d/src/mesa/main/
H A Dhash.c65 _glthread_Mutex Mutex; /**< mutual exclusion lock */ member in struct:_mesa_HashTable
82 _glthread_INIT_MUTEX(table->Mutex);
115 _glthread_DESTROY_MUTEX(table->Mutex);
160 _glthread_LOCK_MUTEX(table->Mutex);
162 _glthread_UNLOCK_MUTEX(table->Mutex);
185 _glthread_LOCK_MUTEX(table->Mutex);
202 _glthread_UNLOCK_MUTEX(table->Mutex);
216 _glthread_UNLOCK_MUTEX(table->Mutex);
246 _glthread_LOCK_MUTEX(table->Mutex);
261 _glthread_UNLOCK_MUTEX(table->Mutex);
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dcompat.cpp133 Mutex::Mutex() {} // ?OP? function in class:Mutex
135 MutexLock::MutexLock(Mutex *mutex) {} // ?OP?
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dcommon.cc126 static Mutex* log_silencer_count_mutex_ = NULL;
134 log_silencer_count_mutex_ = new Mutex;
247 struct Mutex::Internal {
255 Mutex::Mutex() function in class:google::protobuf::Mutex
260 Mutex::~Mutex() {
265 void Mutex::Lock() {
272 void Mutex::Unlock() {
279 void Mutex
291 Mutex::Mutex() function in class:google::protobuf::Mutex
[all...]
/external/protobuf/src/google/protobuf/stubs/
H A Dcommon.cc126 static Mutex* log_silencer_count_mutex_ = NULL;
134 log_silencer_count_mutex_ = new Mutex;
243 struct Mutex::Internal {
251 Mutex::Mutex() function in class:google::protobuf::Mutex
256 Mutex::~Mutex() {
261 void Mutex::Lock() {
268 void Mutex::Unlock() {
275 void Mutex
287 Mutex::Mutex() function in class:google::protobuf::Mutex
[all...]
/external/clang/test/PCH/
H A Dthread-safety-attrs.cpp33 class __attribute__((lockable)) Mutex { class
45 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));
51 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));
57 ReleasableMutexLock(Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu);
98 Mutex sls_mu;
100 Mutex sls_mu2 __attribute__((acquired_after(sls_mu)));
108 Mutex mu;
/external/chromium_org/testing/gtest/src/
H A Dgtest-port.cc198 Mutex::Mutex() function in class:testing::internal::Mutex
206 Mutex::~Mutex() {
219 void Mutex::Lock() {
225 void Mutex::Unlock() {
236 void Mutex::AssertHeld() {
243 void Mutex::ThreadSafeLazyInit() {
499 static Mutex mutex_;
501 static Mutex thread_map_mutex
[all...]

Completed in 481 milliseconds

123