/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 | 95 mtx_(), 109 BlockingMutexLock l(&mtx_); 116 BlockingMutexLock l(&mtx_); 122 BlockingMutexLock l(&mtx_); 163 BlockingMutexLock l(&mtx_); 195 BlockingMutexLock l(&mtx_); 204 BlockingMutexLock l(&mtx_); 221 BlockingMutexLock l(&mtx_); 234 BlockingMutexLock l(&mtx_); 251 BlockingMutexLock l(&mtx_); [all...] |
sanitizer_thread_registry.h | 84 void Lock() { mtx_.Lock(); } 85 void CheckLocked() { mtx_.CheckLocked(); } 86 void Unlock() { mtx_.Unlock(); } 122 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 | 241 : mtx_(MutexTypeAtExit, StatMtxAtExit) 249 Lock l(&mtx_); 267 Lock l(&mtx_); 290 Mutex mtx_; member in class:AtExitContext [all...] |