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

123

/external/chromium_org/third_party/mesa/src/src/egl/main/
H A Degldisplay.h125 _EGLMutex Mutex; member in struct:_egl_display
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector2.cc77 struct Mutex { struct in namespace:__sanitizer
105 Mutex *getMutex(u32 id);
106 u32 getMutexId(Mutex *m);
110 Mutex* mutex[kL1Size];
160 Mutex *DD::getMutex(u32 id) {
164 u32 DD::getMutexId(Mutex *m) {
166 Mutex *tab = mutex[i];
184 mutex[id_gen / kL2Size] = (Mutex*)MmapOrDie(kL2Size * sizeof(Mutex),
224 Mutex *mt
[all...]
/external/mesa3d/src/egl/main/
H A Degldisplay.h125 _EGLMutex Mutex; member in struct:_egl_display
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dcompat.h54 class Mutex { class
56 Mutex();
59 DISALLOW_EVIL_CONSTRUCTORS(Mutex);
64 MutexLock(Mutex *);
181 register_lock_ = new Mutex;
185 static Mutex* register_lock_; // multithreading lock
195 Mutex *FlagRegister<T>::register_lock_ = 0;
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
H A Dgtest-port.h135 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
1185 // MutexBase and Mutex implement mutex on pthreads-based platforms. They
1188 // Mutex mutex;
1203 // To create a dynamic mutex, just define an object of type Mutex.
1246 // The Mutex class can only be used for mutexes created at runtime. It
1248 class Mutex : public MutexBase { class in namespace:testing::internal
1250 Mutex() { function in class:testing::internal::Mutex
1254 ~Mutex() {
1259 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex);
1399 class Mutex { class in namespace:testing::internal
1401 Mutex() {} function in class:testing::internal::Mutex
[all...]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-port.h137 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
1195 // MutexBase and Mutex implement mutex on pthreads-based platforms. They
1198 // Mutex mutex;
1213 // To create a dynamic mutex, just define an object of type Mutex.
1256 // The Mutex class can only be used for mutexes created at runtime. It
1258 class Mutex : public MutexBase { class in namespace:testing::internal
1260 Mutex() { function in class:testing::internal::Mutex
1264 ~Mutex() {
1269 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex);
1409 class Mutex { class in namespace:testing::internal
1411 Mutex() {} function in class:testing::internal::Mutex
[all...]
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-port.h135 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
1185 // MutexBase and Mutex implement mutex on pthreads-based platforms. They
1188 // Mutex mutex;
1203 // To create a dynamic mutex, just define an object of type Mutex.
1246 // The Mutex class can only be used for mutexes created at runtime. It
1248 class Mutex : public MutexBase { class in namespace:testing::internal
1250 Mutex() { function in class:testing::internal::Mutex
1254 ~Mutex() {
1259 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex);
1399 class Mutex { class in namespace:testing::internal
1401 Mutex() {} function in class:testing::internal::Mutex
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dcommon.h1108 // A Mutex is a non-reentrant (aka non-recursive) mutex. At most one thread T
1109 // may hold a mutex at a given time. If T attempts to Lock() the same Mutex
1111 class LIBPROTOBUF_EXPORT Mutex { class in namespace:google::protobuf::internal
1113 // Create a Mutex that is not held by anybody.
1114 Mutex();
1117 ~Mutex();
1119 // Block if necessary until this Mutex is free, then acquire it exclusively.
1122 // Release this Mutex. Caller must hold it exclusively.
1125 // Crash if this Mutex is not held exclusively by this thread.
1133 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Mutex);
[all...]
/external/clang/include/clang/Frontend/
H A DASTUnit.h450 void *Mutex; // a llvm::sys::MutexImpl in debug; member in class:clang::ASTUnit::ConcurrencyState
/external/clang/test/SemaCXX/
H A Dwarn-thread-safety-parsing.cpp27 class LOCKABLE Mutex { class
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 foom
[all...]
H A Dwarn-thread-safety-analysis.cpp30 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);
99 Mutex sls_mu;
101 Mutex sls_mu2 __attribute__((acquired_after(sls_mu)));
109 Mutex mu;
320 Mutex aa_mu;
355 Mutex wmu;
515 Mutex m
[all...]
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-port.h115 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
748 class Mutex { class in namespace:testing::internal
750 Mutex() {} function in class:testing::internal::Mutex
751 explicit Mutex(int /*unused*/) {} function in class:testing::internal::Mutex
761 explicit GTestMutexLock(Mutex*) {} // NOLINT
/external/protobuf/src/google/protobuf/stubs/
H A Dcommon.h1043 // A Mutex is a non-reentrant (aka non-recursive) mutex. At most one thread T
1044 // may hold a mutex at a given time. If T attempts to Lock() the same Mutex
1046 class LIBPROTOBUF_EXPORT Mutex { class in namespace:google::protobuf::internal
1048 // Create a Mutex that is not held by anybody.
1049 Mutex();
1052 ~Mutex();
1054 // Block if necessary until this Mutex is free, then acquire it exclusively.
1057 // Release this Mutex. Caller must hold it exclusively.
1060 // Crash if this Mutex is not held exclusively by this thread.
1068 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Mutex);
[all...]
/external/chromium_org/testing/gtest/include/gtest/internal/
H A Dgtest-port.h212 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
1607 // Mutex implements mutex on Windows platforms. It is used in conjunction
1610 // Mutex mutex;
1615 // A static Mutex *must* be defined or declared using one of the following
1620 // (A non-static Mutex is defined/declared in the usual way).
1621 class GTEST_API_ Mutex { class in namespace:testing::internal
1632 explicit Mutex(StaticConstructorSelector /*dummy*/) {} function in class:testing::internal::Mutex
1634 Mutex();
1635 ~Mutex();
1659 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex);
1909 class Mutex : public MutexBase { class in namespace:testing::internal
1911 Mutex() { function in class:testing::internal::Mutex
2034 class Mutex { class in namespace:testing::internal
2036 Mutex() {} function in class:testing::internal::Mutex
[all...]
/external/gtest/include/gtest/internal/
H A Dgtest-port.h145 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
1317 // MutexBase and Mutex implement mutex on pthreads-based platforms. They
1320 // Mutex mutex;
1335 // To create a dynamic mutex, just define an object of type Mutex.
1392 // The Mutex class can only be used for mutexes created at runtime. It
1394 class Mutex : public MutexBase { class in namespace:testing::internal
1396 Mutex() { function in class:testing::internal::Mutex
1400 ~Mutex() {
1405 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex);
1545 class Mutex { class in namespace:testing::internal
1547 Mutex() {} function in class:testing::internal::Mutex
[all...]
/external/clang/lib/Analysis/
H A DThreadSafety.cpp560 assert(NodeVec.size() > 0 && "Invalid Mutex");
565 assert(NodeVec.size() > 0 && "Invalid Mutex");
1419 void addLock(FactSet &FSet, const SExpr &Mutex, const LockData &LDat,
1421 void removeLock(FactSet &FSet, const SExpr &Mutex, SourceLocation UnlockLoc,
1534 /// \param Mutex -- the Mutex expression for the lock
1536 void ThreadSafetyAnalyzer::addLock(FactSet &FSet, const SExpr &Mutex, argument
1540 if (Mutex.shouldIgnore())
1543 if (FSet.findLock(FactMan, Mutex)) {
1545 Handler.handleDoubleLock(DiagKind, Mutex
1555 removeLock(FactSet &FSet, const SExpr &Mutex, SourceLocation UnlockLoc, bool FullyRemove, LockKind ReceivedKind, StringRef DiagKind) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/include/gtest/
H A Dgtest.h241 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
2424 // MutexBase and Mutex implement mutex on pthreads-based platforms. They
2427 // Mutex mutex;
2442 // To create a dynamic mutex, just define an object of type Mutex.
2499 // The Mutex class can only be used for mutexes created at runtime. It
2501 class Mutex : public MutexBase { class in namespace:std::tr1
2503 Mutex() { function in class:std::tr1::Mutex
2507 ~Mutex() {
2512 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex);
2652 class Mutex { class in namespace:std::tr1
2654 Mutex() {} function in class:std::tr1::Mutex
[all...]
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
H A Dgtest.h241 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
2424 // MutexBase and Mutex implement mutex on pthreads-based platforms. They
2427 // Mutex mutex;
2442 // To create a dynamic mutex, just define an object of type Mutex.
2499 // The Mutex class can only be used for mutexes created at runtime. It
2501 class Mutex : public MutexBase { class in namespace:std::tr1
2503 Mutex() { function in class:std::tr1::Mutex
2507 ~Mutex() {
2512 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex);
2652 class Mutex { class in namespace:std::tr1
2654 Mutex() {} function in class:std::tr1::Mutex
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dmtypes.h1265 _glthread_Mutex Mutex; /**< for thread safety */ member in struct:gl_texture_object
1508 _glthread_Mutex Mutex; member in struct:gl_buffer_object
1577 _glthread_Mutex Mutex; member in struct:gl_array_object
2543 _glthread_Mutex Mutex; /**< for thread safety */ member in struct:gl_shared_state
2607 _glthread_Mutex Mutex; /**< for thread safety */ member in struct:gl_renderbuffer
2665 _glthread_Mutex Mutex; /**< for thread safety */ member in struct:gl_framebuffer
/external/mesa3d/src/mesa/main/
H A Dmtypes.h1265 _glthread_Mutex Mutex; /**< for thread safety */ member in struct:gl_texture_object
1508 _glthread_Mutex Mutex; member in struct:gl_buffer_object
1577 _glthread_Mutex Mutex; member in struct:gl_array_object
2543 _glthread_Mutex Mutex; /**< for thread safety */ member in struct:gl_shared_state
2607 _glthread_Mutex Mutex; /**< for thread safety */ member in struct:gl_renderbuffer
2665 _glthread_Mutex Mutex; /**< for thread safety */ member in struct:gl_framebuffer

Completed in 7258 milliseconds

123