/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_test_util_linux.cc | 108 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_), 0) [all...] |
tsan_test_util.h | 51 void *mtx_[128]; member in class:Mutex
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_thread_registry.cc | 96 mtx_(), 109 BlockingMutexLock l(&mtx_); 116 BlockingMutexLock l(&mtx_); 122 BlockingMutexLock l(&mtx_); 170 BlockingMutexLock l(&mtx_); 191 BlockingMutexLock l(&mtx_); 200 BlockingMutexLock l(&mtx_); 217 BlockingMutexLock l(&mtx_); 230 BlockingMutexLock l(&mtx_); 247 BlockingMutexLock l(&mtx_); [all...] |
sanitizer_thread_registry.h | 87 void Lock() { mtx_.Lock(); } 88 void CheckLocked() { mtx_.CheckLocked(); } 89 void Unlock() { mtx_.Unlock(); } 124 BlockingMutex mtx_; member in class:__sanitizer::ThreadRegistry
|
/external/compiler-rt/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
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_mutex_test.cc | 25 : mtx_(mtx) { 31 Lock l(mtx_); 40 if (!mtx_->TryLock()) 47 mtx_->Unlock(); 62 MutexType *mtx_; member in class:__sanitizer::TestData
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_interceptors.cc | 236 : mtx_(MutexTypeAtExit, StatMtxAtExit) 244 Lock l(&mtx_); 262 Lock l(&mtx_); 285 Mutex mtx_; member in class:AtExitContext [all...] |