Searched refs:mtx_ (Results 1 - 7 of 7) 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/sanitizer_common/
H A Dsanitizer_thread_registry.h86 void Lock() { mtx_.Lock(); }
87 void CheckLocked() { mtx_.CheckLocked(); }
88 void Unlock() { mtx_.Unlock(); }
126 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_);
240 BlockingMutexLock l(&mtx_);
253 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/tests/rtl/
H A Dtsan_test_util_posix.cc150 CHECK_EQ(__interceptor_pthread_mutex_init((pthread_mutex_t*)mtx_, 0), 0);
153 CHECK_EQ(pthread_spin_init((pthread_spinlock_t*)mtx_, 0), 0);
156 CHECK_EQ(__interceptor_pthread_rwlock_init((pthread_rwlock_t*)mtx_, 0), 0);
166 memcpy(mtx_, &tmp, sizeof(tmp));
173 CHECK_EQ(__interceptor_pthread_mutex_destroy((pthread_mutex_t*)mtx_), 0);
176 CHECK_EQ(pthread_spin_destroy((pthread_spinlock_t*)mtx_), 0);
179 CHECK_EQ(__interceptor_pthread_rwlock_destroy((pthread_rwlock_t*)mtx_), 0);
185 CHECK_EQ(__interceptor_pthread_mutex_lock((pthread_mutex_t*)mtx_), 0);
188 CHECK_EQ(pthread_spin_lock((pthread_spinlock_t*)mtx_), 0);
191 CHECK_EQ(__interceptor_pthread_rwlock_wrlock((pthread_rwlock_t*)mtx_),
[all...]
H A Dtsan_test_util.h59 void *mtx_[128]; member in class:Mutex
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h81 SpinMutexLock lock(&mtx_);
96 SpinMutex mtx_; member in class:__tsan::DenseSlabAlloc
101 SpinMutexLock lock(&mtx_);
126 SpinMutexLock lock(&mtx_);

Completed in 113 milliseconds