/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_mutex_test.cc | 28 : mtx_(mtx) { 34 Lock l(mtx_); 43 if (!mtx_->TryLock()) 50 mtx_->Unlock(); 65 MutexType *mtx_; member in class:__sanitizer::TestData
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/ |
tsan_test_util_posix.cc | 105 CHECK_EQ(__interceptor_pthread_mutex_init((pthread_mutex_t*)mtx_, 0), 0); 108 CHECK_EQ(pthread_spin_init((pthread_spinlock_t*)mtx_, 0), 0); 111 CHECK_EQ(__interceptor_pthread_rwlock_init((pthread_rwlock_t*)mtx_, 0), 0); 121 memcpy(mtx_, &tmp, sizeof(tmp)); 128 CHECK_EQ(__interceptor_pthread_mutex_destroy((pthread_mutex_t*)mtx_), 0); 131 CHECK_EQ(pthread_spin_destroy((pthread_spinlock_t*)mtx_), 0); 134 CHECK_EQ(__interceptor_pthread_rwlock_destroy((pthread_rwlock_t*)mtx_), 0); 140 CHECK_EQ(__interceptor_pthread_mutex_lock((pthread_mutex_t*)mtx_), 0); 143 CHECK_EQ(pthread_spin_lock((pthread_spinlock_t*)mtx_), 0); 146 CHECK_EQ(__interceptor_pthread_rwlock_wrlock((pthread_rwlock_t*)mtx_), 0) [all...] |
tsan_test_util.h | 59 void *mtx_[128]; member in class:Mutex
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_thread_registry.cc | 111 mtx_(), 125 BlockingMutexLock l(&mtx_); 132 BlockingMutexLock l(&mtx_); 138 BlockingMutexLock l(&mtx_); 184 BlockingMutexLock l(&mtx_); 216 BlockingMutexLock l(&mtx_); 226 BlockingMutexLock l(&mtx_); 238 BlockingMutexLock l(&mtx_); 259 BlockingMutexLock l(&mtx_); 283 BlockingMutexLock l(&mtx_); [all...] |
sanitizer_thread_registry.h | 92 void Lock() { mtx_.Lock(); } 93 void CheckLocked() { mtx_.CheckLocked(); } 94 void Unlock() { mtx_.Unlock(); } 133 BlockingMutex mtx_; member in class:__sanitizer::ThreadRegistry
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/ |
tsan_mutex_test.cc | 26 : mtx_(mtx) { 32 Lock l(mtx_); 41 ReadLock l(mtx_); 60 MutexType *mtx_; member in class:__tsan::TestData
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
tsan_dense_alloc.h | 82 SpinMutexLock lock(&mtx_); 97 SpinMutex mtx_; member in class:__tsan::DenseSlabAlloc 103 SpinMutexLock lock(&mtx_); 131 SpinMutexLock lock(&mtx_);
|