Searched refs:mtx_ (Results 1 – 9 of 9) sorted by relevance
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_test_util_linux.cc | 108 CHECK_EQ(pthread_mutex_init((pthread_mutex_t*)mtx_, 0), 0); in Init() 110 CHECK_EQ(pthread_spin_init((pthread_spinlock_t*)mtx_, 0), 0); in Init() 112 CHECK_EQ(pthread_rwlock_init((pthread_rwlock_t*)mtx_, 0), 0); in Init() 122 memcpy(mtx_, &tmp, sizeof(tmp)); in StaticInit() 129 CHECK_EQ(pthread_mutex_destroy((pthread_mutex_t*)mtx_), 0); in Destroy() 131 CHECK_EQ(pthread_spin_destroy((pthread_spinlock_t*)mtx_), 0); in Destroy() 133 CHECK_EQ(pthread_rwlock_destroy((pthread_rwlock_t*)mtx_), 0); in Destroy() 139 CHECK_EQ(pthread_mutex_lock((pthread_mutex_t*)mtx_), 0); in Lock() 141 CHECK_EQ(pthread_spin_lock((pthread_spinlock_t*)mtx_), 0); in Lock() 143 CHECK_EQ(pthread_rwlock_wrlock((pthread_rwlock_t*)mtx_), 0); in Lock() [all …]
|
D | tsan_test_util.h | 51 void *mtx_[128];
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_thread_registry.cc | 96 mtx_(), in ThreadRegistry() 110 BlockingMutexLock l(&mtx_); in GetNumberOfThreads() 117 BlockingMutexLock l(&mtx_); in GetMaxAliveThreads() 123 BlockingMutexLock l(&mtx_); in CreateThread() 169 BlockingMutexLock l(&mtx_); in FindThread() 201 BlockingMutexLock l(&mtx_); in SetThreadName() 210 BlockingMutexLock l(&mtx_); in SetThreadNameByUserId() 222 BlockingMutexLock l(&mtx_); in DetachThread() 239 BlockingMutexLock l(&mtx_); in JoinThread() 252 BlockingMutexLock l(&mtx_); in FinishThread() [all …]
|
D | sanitizer_thread_registry.h | 84 void Lock() { mtx_.Lock(); } in Lock() 85 void CheckLocked() { mtx_.CheckLocked(); } in CheckLocked() 86 void Unlock() { mtx_.Unlock(); } in Unlock() 124 BlockingMutex mtx_; variable
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_mutex_test.cc | 28 : mtx_(mtx) { in TestData() 34 Lock l(mtx_); in Write() 43 if (!mtx_->TryLock()) in TryWrite() 50 mtx_->Unlock(); in TryWrite() 65 MutexType *mtx_; member in __sanitizer::TestData
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mutex_test.cc | 26 : mtx_(mtx) { in TestData() 32 Lock l(mtx_); in Write() 41 ReadLock l(mtx_); in Read() 60 MutexType *mtx_; member in __tsan::TestData
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_dense_alloc.h | 80 SpinMutexLock lock(&mtx_); in FlushCache() 95 SpinMutex mtx_; variable 100 SpinMutexLock lock(&mtx_); in Refill() 125 SpinMutexLock lock(&mtx_); in Drain()
|
D | tsan_interceptors.cc | 266 : mtx_(MutexTypeAtExit, StatMtxAtExit) in AtExitContext() 274 Lock l(&mtx_); in atexit() 291 Lock l(&mtx_); in exit() 312 Mutex mtx_; member in AtExitContext
|
/external/libcxxabi/src/ |
D | fallback_malloc.ipp | 41 mutexor ( pthread_mutex_t *m ) : mtx_(m) { pthread_mutex_lock ( mtx_ ); } 42 ~mutexor () { pthread_mutex_unlock ( mtx_ ); } 48 pthread_mutex_t *mtx_;
|