Searched defs:Mutex (Results 1 - 25 of 55) sorted by relevance

123

/external/deqp/framework/delibs/decpp/
H A DdeMutex.cpp34 * \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 DdeMutex.hpp35 * 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 Dmutex.h33 // should instantiate a Mutex object while doing so. You should make your own
43 // Mutex mutex(&myMutex); // or no args for the global lock
48 // Note: Do NOT use the form 'Mutex mutex();' as that merely forward-declares a function
49 // returning a Mutex. This is a common mistake which silently slips through the
53 class U_COMMON_API Mutex : public UMemory { class in inherits:UMemory
55 inline Mutex(UMutex *mutex = NULL);
56 inline ~Mutex();
61 Mutex(const Mutex &other); // forbid copying of this class
62 Mutex
65 inline Mutex::Mutex(UMutex *mutex) function in class:Mutex
[all...]
/external/compiler-rt/test/tsan/
H A Dignore_sync.cc9 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);
H A Dmutex_annotations.cc8 class Mutex { class
34 Mutex m;
H A Dreal_deadlock_detector_stress_test.cc22 struct Mutex { struct
27 Mutex mtx[kMutexes];
58 Mutex *m = &mtx[id];
129 Mutex *m = &mtx[id];
141 Mutex *m = &mtx[id];
159 Mutex *m = &mtx[id];
/external/mesa3d/src/egl/main/
H A Deglglobals.h44 _EGLMutex *Mutex; member in struct:_egl_global
/external/clang/test/Misc/
H A Dast-dump-color.cpp18 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) noexcept'[[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 constexpr[[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 constexpr[[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...]
H A Dast-dump-attr.cpp44 class __attribute__((lockable)) Mutex { class
51 class Mutex TestVariadicExpr __attribute__((acquired_after(mu1, mu2)));
/external/v8/src/base/platform/
H A Dmutex.cc113 Mutex::Mutex() { function in class:v8::base::Mutex
121 Mutex::~Mutex() {
127 void Mutex::Lock() {
133 void Mutex::Unlock() {
139 bool Mutex::TryLock() {
/external/compiler-rt/lib/tsan/benchmarks/
H A Dvts_many_threads_bench.cc31 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/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/compiler-rt/lib/tsan/dd/
H A Ddd_rtl.h23 struct Mutex { struct in namespace:__dsan
41 typedef AddrHashMap<Mutex, 31051> MutexHashMap;
/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.
137 /// Mutex - A standard, always enforced mutex.
138 typedef SmartMutex<false> Mutex; typedef in namespace:llvm::sys
/external/swiftshader/third_party/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.
24 /// @brief Platform agnostic Mutex class.
133 /// Mutex - A standard, always enforced mutex.
134 typedef SmartMutex<false> Mutex; typedef in namespace:llvm::sys
/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.h43 class Mutex { class in namespace:__tsan
45 explicit Mutex(MutexType type, StatType stat_type);
46 ~Mutex();
65 Mutex(const Mutex&);
66 void operator = (const Mutex&);
69 typedef GenericScopedLock<Mutex> Lock;
70 typedef GenericScopedReadLock<Mutex> ReadLock;
H A Dtsan_mutex.cc123 Printf("Mutex %d participates in a cycle\n", i);
211 Mutex::Mutex(MutexType type, StatType stat_type) { function in class:__tsan::Mutex
223 Mutex::~Mutex() {
227 void Mutex::Lock() {
249 void Mutex::Unlock() {
258 void Mutex::ReadLock() {
276 void Mutex::ReadUnlock() {
286 void Mutex
[all...]
/external/protobuf/src/google/protobuf/stubs/
H A Dmutex.h45 // A Mutex is a non-reentrant (aka non-recursive) mutex. At most one thread T
46 // may hold a mutex at a given time. If T attempts to Lock() the same Mutex
48 class LIBPROTOBUF_EXPORT Mutex { class in namespace:google::protobuf::internal
50 // Create a Mutex that is not held by anybody.
51 Mutex();
54 ~Mutex();
56 // Block if necessary until this Mutex is free, then acquire it exclusively.
59 // Release this Mutex. Caller must hold it exclusively.
62 // Crash if this Mutex is not held exclusively by this thread.
70 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Mutex);
[all...]
/external/valgrind/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;
/external/clang/test/SemaCXX/
H A Dwarn-thread-safety-negative.cpp30 class __attribute__((lockable)) Mutex { class
40 const Mutex& operator!() const { return *this; }
50 Mutex mu;
63 Mutex mu;
109 Mutex &mutex();
H A Dwarn-thread-safety-verbose.cpp27 class __attribute__((lockable)) Mutex { class
37 const Mutex& operator!() const { return *this; }
45 Mutex mu;
/external/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test_util.h32 class Mutex { class
44 explicit Mutex(Type type = Normal);
45 ~Mutex();
63 Mutex(const Mutex&);
64 void operator = (const Mutex&);
104 void Create(const Mutex &m);
105 void Destroy(const Mutex &m);
106 void Lock(const Mutex &m);
107 bool TryLock(const Mutex
[all...]
/external/google-benchmark/src/
H A Dmutex.h75 class CAPABILITY("mutex") Mutex {
77 Mutex() {} function
91 MutexLock(Mutex& m) ACQUIRE(m) : ml_(m.native_handle()) {}
121 Mutex lock_;

Completed in 467 milliseconds

123