Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A 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 …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
H A 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()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_mutex.h77 typedef int MutexType; typedef
106 MutexType type;
112 MutexType can_lock[10];
118 explicit constexpr CheckedMutex(MutexType type) in CheckedMutex()
147 const MutexType type_;
161 explicit constexpr Mutex(MutexType type = MutexUnchecked)
363 template <typename MutexType>
366 explicit GenericScopedLock(MutexType *mu) ACQUIRE(mu) : mu_(mu) { in GenericScopedLock()
373 MutexType *mu_;
379 template <typename MutexType>
[all …]
H A Dsanitizer_mutex.cpp84 MutexType z = mutex_meta[t].can_lock[j]; in DebugMutexInit()
150 void Lock(MutexType type, uptr pc) { in Lock()
157 MutexType max_idx = MutexInvalid; in Lock()
164 max_idx = (MutexType)i; in Lock()
185 void Unlock(MutexType type) { in Unlock()
201 bool Initialize(MutexType type) { in Initialize()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A 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);
H A 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()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_mutex.h20 enum MutexType { enum
43 explicit Mutex(MutexType type, StatType stat_type);
57 MutexType type_;
73 void Lock(MutexType t);
74 void Unlock(MutexType t);
H A Dtsan_mutex.cc27 const MutexType MutexTypeLeaf = (MutexType)-1;
28 static MutexType CanLockTab[MutexTypeCount][MutexTypeCount] = {
59 MutexType z = CanLockTab[i][j]; in InitializeMutex()
133 void InternalDeadlockDetector::Lock(MutexType t) { in Lock()
160 void InternalDeadlockDetector::Unlock(MutexType t) { in Unlock()
209 Mutex::Mutex(MutexType type, StatType stat_type) { in Mutex()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_mutex.h179 template<typename MutexType>
182 explicit GenericScopedLock(MutexType *mu) in GenericScopedLock()
192 MutexType *mu_;
198 template<typename MutexType>
201 explicit GenericScopedReadLock(MutexType *mu) in GenericScopedReadLock()
211 MutexType *mu_;
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_mutex.h177 template<typename MutexType>
180 explicit GenericScopedLock(MutexType *mu) in GenericScopedLock()
190 MutexType *mu_;
196 template<typename MutexType>
199 explicit GenericScopedReadLock(MutexType *mu) in GenericScopedReadLock()
209 MutexType *mu_;
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_defs.h222 enum MutexType { enum
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-port.h1367 enum MutexType { kStatic = 0, kDynamic = 1 };
1399 MutexType type_;