Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h79 typedef int MutexType; typedef
108 MutexType type;
114 MutexType can_lock[10];
120 explicit constexpr CheckedMutex(MutexType type) in CheckedMutex()
149 const MutexType type_;
163 explicit constexpr Mutex(MutexType type = MutexUnchecked)
379 template <typename MutexType>
382 explicit GenericScopedLock(MutexType *mu) SANITIZER_ACQUIRE(mu) : mu_(mu) { in GenericScopedLock()
389 MutexType *mu_;
395 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()
/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Dmutex.h26 template <typename MutexType> class lock_guard {
27 MutexType &mutex;
31 explicit lock_guard(MutexType &m) : mutex(m) { mutex.lock(); } in lock_guard()
36 lock_guard(MutexType &m, adopt_lock_t /* t */) : mutex(m) {} in lock_guard()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DIterable.h34 template <typename MutexType, typename C,
38 LockingAdaptedIterable(const C &container, MutexType &mutex) in LockingAdaptedIterable()
54 MutexType *m_mutex = nullptr;
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h1387 enum MutexType { kStatic = 0, kDynamic = 1 };
1419 MutexType type_;