Home
last modified time | relevance | path

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

12

/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_mutex_test.cpp23 template<typename MutexType>
26 explicit TestData(MutexType *mtx) in TestData()
61 typedef GenericScopedLock<MutexType> Lock;
64 MutexType *mtx_;
76 template<typename MutexType>
78 TestData<MutexType> *data = (TestData<MutexType>*)param; in lock_thread()
86 template<typename MutexType>
88 TestData<MutexType> *data = (TestData<MutexType>*)param; in try_thread()
96 template<typename MutexType>
97 static void check_locked(MutexType *mtx) { in check_locked()
[all …]
/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/llvm-project/compiler-rt/lib/tsan/tests/unit/
Dtsan_mutex_test.cpp21 template<typename MutexType>
24 explicit TestData(MutexType *mtx) in TestData()
56 typedef GenericScopedLock<MutexType> Lock;
59 MutexType *mtx_;
72 template<typename MutexType>
74 TestData<MutexType> *data = (TestData<MutexType>*)param; in write_mutex_thread()
82 template<typename MutexType>
84 TestData<MutexType> *data = (TestData<MutexType>*)param; in read_mutex_thread()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.h21 enum MutexType { enum
44 explicit Mutex(MutexType type, StatType stat_type);
58 MutexType type_;
74 void Lock(MutexType t);
75 void Unlock(MutexType t);
Dtsan_mutex.cpp28 const MutexType MutexTypeLeaf = (MutexType)-1;
29 static MutexType CanLockTab[MutexTypeCount][MutexTypeCount] = {
60 MutexType z = CanLockTab[i][j]; in InitializeMutex()
134 void InternalDeadlockDetector::Lock(MutexType t) { in Lock()
161 void InternalDeadlockDetector::Unlock(MutexType t) { in Unlock()
210 Mutex::Mutex(MutexType type, StatType stat_type) { in Mutex()
/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/webrtc/rtc_base/synchronization/
Dmutex_unittest.cc42 template <class MutexType>
45 explicit RawMutexLocker(MutexType& mutex) : mutex_(mutex) {} in RawMutexLocker()
50 MutexType& mutex_;
67 template <class MutexType, class MutexLockType>
70 explicit MutexLockLocker(MutexType& mutex) : mutex_(mutex) {} in MutexLockLocker()
75 MutexType& mutex_;
79 template <class MutexType, class MutexLocker>
139 MutexType 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/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h178 template<typename MutexType>
181 explicit GenericScopedLock(MutexType *mu) in GenericScopedLock()
191 MutexType *mu_;
197 template<typename MutexType>
200 explicit GenericScopedReadLock(MutexType *mu) in GenericScopedReadLock()
210 MutexType *mu_;
/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc45 template <typename MutexType>
48 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker()
51 MutexType* mu_;
63 template <typename MutexType>
66 MutexType mu; in BM_Contended()
83 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
/external/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc45 template <typename MutexType>
48 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker()
51 MutexType* mu_;
63 template <typename MutexType>
66 MutexType mu; in BM_Contended()
83 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc46 template <typename MutexType>
49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker()
52 MutexType* mu_;
64 template <typename MutexType>
67 MutexType mu; in BM_Contended()
84 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
/external/openscreen/third_party/abseil/src/absl/synchronization/
Dmutex_benchmark.cc46 template <typename MutexType>
49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker()
52 MutexType* mu_;
64 template <typename MutexType>
67 MutexType mu; in BM_Contended()
84 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc46 template <typename MutexType>
49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker()
52 MutexType* mu_;
64 template <typename MutexType>
67 MutexType mu; in BM_Contended()
84 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
/external/angle/third_party/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc46 template <typename MutexType>
49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker()
52 MutexType* mu_;
177 template <typename MutexType>
183 MutexType mu; in BM_Contended()
200 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/util/
Dmutex.h30 typedef SRWLOCK MutexType; typedef
34 typedef pthread_rwlock_t MutexType; typedef
37 typedef std::mutex MutexType; typedef
58 MutexType mutex_;
/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/llvm-project/lldb/include/lldb/Utility/
DIterable.h170 typename MutexType>
173 LockingAdaptedIterable(C &container, MutexType &mutex) in LockingAdaptedIterable()
189 MutexType *m_mutex = nullptr;
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-port.h1367 enum MutexType { kStatic = 0, kDynamic = 1 };
1399 MutexType type_;
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/internal/
Dgtest-port.h1399 enum MutexType { kStatic = 0, kDynamic = 1 };
1431 MutexType type_;
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-port.h1358 enum MutexType { kStatic = 0, kDynamic = 1 };
1390 MutexType type_;
/external/llvm-project/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h1671 enum MutexType { kStatic = 0, kDynamic = 1 };
1703 MutexType type_;
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-port.h1795 enum MutexType { kStatic = 0, kDynamic = 1 };
1827 MutexType type_;

12