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
42 explicit Mutex(MutexType type, StatType stat_type);
56 MutexType type_;
72 void Lock(MutexType t);
73 void Unlock(MutexType t);
Dtsan_mutex.cc29 const MutexType MutexTypeLeaf = (MutexType)-1;
30 static MutexType CanLockTab[MutexTypeCount][MutexTypeCount] = {
58 MutexType z = CanLockTab[i][j]; in InitializeMutex()
132 void InternalDeadlockDetector::Lock(MutexType t) { in Lock()
159 void InternalDeadlockDetector::Unlock(MutexType t) { in Unlock()
208 Mutex::Mutex(MutexType type, StatType stat_type) { in Mutex()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h168 template<typename MutexType>
171 explicit GenericScopedLock(MutexType *mu) in GenericScopedLock()
181 MutexType *mu_;
187 template<typename MutexType>
190 explicit GenericScopedReadLock(MutexType *mu) in GenericScopedReadLock()
200 MutexType *mu_;
/external/ceres-solver/internal/ceres/
Dmutex.h101 typedef int MutexType; // to keep a lock-count typedef
121 typedef CRITICAL_SECTION MutexType; typedef
131 typedef pthread_rwlock_t MutexType; typedef
134 typedef pthread_mutex_t MutexType; typedef
176 MutexType mutex_;
/external/chromium_org/third_party/re2/util/
Dmutex.h21 typedef int MutexType; // to keep a lock-count typedef
32 typedef pthread_rwlock_t MutexType;
35 typedef pthread_mutex_t MutexType;
49 typedef CRITICAL_SECTION MutexType;
76 MutexType mutex_;
/external/regex-re2/util/
Dmutex.h19 typedef int MutexType; // to keep a lock-count typedef
30 typedef pthread_rwlock_t MutexType;
33 typedef pthread_mutex_t MutexType;
45 typedef CRITICAL_SECTION MutexType;
72 MutexType mutex_;
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dsimple_mutex.h110 typedef int MutexType; // to keep a lock-count typedef
122 typedef CRITICAL_SECTION MutexType; typedef
132 typedef pthread_rwlock_t MutexType; typedef
135 typedef pthread_mutex_t MutexType; typedef
177 MutexType mutex_;
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dsimple_mutex.h110 typedef int MutexType; // to keep a lock-count typedef
122 typedef CRITICAL_SECTION MutexType; typedef
132 typedef pthread_rwlock_t MutexType; typedef
135 typedef pthread_mutex_t MutexType; typedef
177 MutexType mutex_;
/external/chromium_org/third_party/re2/patches/
Dre2-msvc9-chrome.patch222 typedef int MutexType; // to keep a lock-count
225 typedef pthread_mutex_t MutexType;
/external/chromium_org/testing/gtest/include/gtest/internal/
Dgtest-port.h1623 enum MutexType { kStatic = 0, kDynamic = 1 };
1655 MutexType type_;