Searched refs:mtx_ (Results 1 - 8 of 8) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_mutex_test.cc28 : mtx_(mtx) {
34 Lock l(mtx_);
43 if (!mtx_->TryLock())
50 mtx_->Unlock();
65 MutexType *mtx_; member in class:__sanitizer::TestData
/external/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test_util_linux.cc108 CHECK_EQ(pthread_mutex_init((pthread_mutex_t*)mtx_, 0), 0);
110 CHECK_EQ(pthread_spin_init((pthread_spinlock_t*)mtx_, 0), 0);
112 CHECK_EQ(pthread_rwlock_init((pthread_rwlock_t*)mtx_, 0), 0);
122 memcpy(mtx_, &tmp, sizeof(tmp));
129 CHECK_EQ(pthread_mutex_destroy((pthread_mutex_t*)mtx_), 0);
131 CHECK_EQ(pthread_spin_destroy((pthread_spinlock_t*)mtx_), 0);
133 CHECK_EQ(pthread_rwlock_destroy((pthread_rwlock_t*)mtx_), 0);
139 CHECK_EQ(pthread_mutex_lock((pthread_mutex_t*)mtx_), 0);
141 CHECK_EQ(pthread_spin_lock((pthread_spinlock_t*)mtx_), 0);
143 CHECK_EQ(pthread_rwlock_wrlock((pthread_rwlock_t*)mtx_),
[all...]
H A Dtsan_test_util.h51 void *mtx_[128]; member in class:Mutex
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.h84 void Lock() { mtx_.Lock(); }
85 void CheckLocked() { mtx_.CheckLocked(); }
86 void Unlock() { mtx_.Unlock(); }
124 BlockingMutex mtx_; member in class:__sanitizer::ThreadRegistry
H A Dsanitizer_thread_registry.cc96 mtx_(),
110 BlockingMutexLock l(&mtx_);
117 BlockingMutexLock l(&mtx_);
123 BlockingMutexLock l(&mtx_);
169 BlockingMutexLock l(&mtx_);
201 BlockingMutexLock l(&mtx_);
210 BlockingMutexLock l(&mtx_);
222 BlockingMutexLock l(&mtx_);
239 BlockingMutexLock l(&mtx_);
252 BlockingMutexLock l(&mtx_);
[all...]
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_mutex_test.cc26 : mtx_(mtx) {
32 Lock l(mtx_);
41 ReadLock l(mtx_);
60 MutexType *mtx_; member in class:__tsan::TestData
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h80 SpinMutexLock lock(&mtx_);
95 SpinMutex mtx_; member in class:__tsan::DenseSlabAlloc
100 SpinMutexLock lock(&mtx_);
125 SpinMutexLock lock(&mtx_);
H A Dtsan_interceptors.cc266 : mtx_(MutexTypeAtExit, StatMtxAtExit)
274 Lock l(&mtx_);
291 Lock l(&mtx_);
312 Mutex mtx_; member in class:AtExitContext

Completed in 242 milliseconds