Home
last modified time | relevance | path

Searched refs:MutexType (Results 1 – 12 of 12) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_mutex_test.cc24 template<typename MutexType>
27 explicit TestData(MutexType *mtx) in TestData()
62 typedef GenericScopedLock<MutexType> Lock;
65 MutexType *mtx_;
77 template<typename MutexType>
79 TestData<MutexType> *data = (TestData<MutexType>*)param; in lock_thread()
87 template<typename MutexType>
89 TestData<MutexType> *data = (TestData<MutexType>*)param; in try_thread()
97 template<typename MutexType>
98 static void check_locked(MutexType *mtx) { in check_locked()
[all …]
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mutex_test.cc22 template<typename MutexType>
25 explicit TestData(MutexType *mtx) in TestData()
57 typedef GenericScopedLock<MutexType> Lock;
60 MutexType *mtx_;
73 template<typename MutexType>
75 TestData<MutexType> *data = (TestData<MutexType>*)param; in write_mutex_thread()
83 template<typename MutexType>
85 TestData<MutexType> *data = (TestData<MutexType>*)param; in read_mutex_thread()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.h22 enum MutexType { enum
45 explicit Mutex(MutexType type, StatType stat_type);
59 MutexType type_;
75 void Lock(MutexType t);
76 void Unlock(MutexType t);
Dtsan_mutex.cc29 const MutexType MutexTypeLeaf = (MutexType)-1;
30 static MutexType CanLockTab[MutexTypeCount][MutexTypeCount] = {
61 MutexType z = CanLockTab[i][j]; in InitializeMutex()
135 void InternalDeadlockDetector::Lock(MutexType t) { in Lock()
162 void InternalDeadlockDetector::Unlock(MutexType t) { in Unlock()
211 Mutex::Mutex(MutexType type, StatType stat_type) { in Mutex()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h174 template<typename MutexType>
177 explicit GenericScopedLock(MutexType *mu) in GenericScopedLock()
187 MutexType *mu_;
193 template<typename MutexType>
196 explicit GenericScopedReadLock(MutexType *mu) in GenericScopedReadLock()
206 MutexType *mu_;
/external/gflags/src/
Dmutex.h112 typedef int MutexType; // to keep a lock-count typedef
129 typedef CRITICAL_SECTION MutexType; typedef
142 typedef pthread_rwlock_t MutexType; typedef
145 typedef pthread_mutex_t MutexType; typedef
189 MutexType mutex_;
/external/googletest/googletest/include/gtest/internal/
Dgtest-port.h1436 enum MutexType { kStatic = 0, kDynamic = 1 };
1468 MutexType type_;
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-port.h1795 enum MutexType { kStatic = 0, kDynamic = 1 };
1827 MutexType type_;
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h1671 enum MutexType { kStatic = 0, kDynamic = 1 };
1703 MutexType type_;
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-port.h1662 enum MutexType { kStatic = 0, kDynamic = 1 };
1694 MutexType type_;
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-port.h1675 enum MutexType { kStatic = 0, kDynamic = 1 };
1707 MutexType type_;
/external/epid-sdk/ext/gtest/
Dgtest.h2944 enum MutexType { kStatic = 0, kDynamic = 1 };
2976 MutexType type_;