/external/llvm-project/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_test_util_posix.cpp | 106 CHECK_EQ(__interceptor_pthread_mutex_init((pthread_mutex_t*)mtx_, 0), 0); in Init() 109 CHECK_EQ(pthread_spin_init((pthread_spinlock_t*)mtx_, 0), 0); in Init() 112 CHECK_EQ(__interceptor_pthread_rwlock_init((pthread_rwlock_t*)mtx_, 0), 0); in Init() 122 memcpy(mtx_, &tmp, sizeof(tmp)); in StaticInit() 129 CHECK_EQ(__interceptor_pthread_mutex_destroy((pthread_mutex_t*)mtx_), 0); in Destroy() 132 CHECK_EQ(pthread_spin_destroy((pthread_spinlock_t*)mtx_), 0); in Destroy() 135 CHECK_EQ(__interceptor_pthread_rwlock_destroy((pthread_rwlock_t*)mtx_), 0); in Destroy() 141 CHECK_EQ(__interceptor_pthread_mutex_lock((pthread_mutex_t*)mtx_), 0); in Lock() 144 CHECK_EQ(pthread_spin_lock((pthread_spinlock_t*)mtx_), 0); in Lock() 147 CHECK_EQ(__interceptor_pthread_rwlock_wrlock((pthread_rwlock_t*)mtx_), 0); in Lock() [all …]
|
D | tsan_test_util.h | 58 void *mtx_[128];
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_test_util_posix.cc | 150 CHECK_EQ(__interceptor_pthread_mutex_init((pthread_mutex_t*)mtx_, 0), 0); in Init() 153 CHECK_EQ(pthread_spin_init((pthread_spinlock_t*)mtx_, 0), 0); in Init() 156 CHECK_EQ(__interceptor_pthread_rwlock_init((pthread_rwlock_t*)mtx_, 0), 0); in Init() 166 memcpy(mtx_, &tmp, sizeof(tmp)); in StaticInit() 173 CHECK_EQ(__interceptor_pthread_mutex_destroy((pthread_mutex_t*)mtx_), 0); in Destroy() 176 CHECK_EQ(pthread_spin_destroy((pthread_spinlock_t*)mtx_), 0); in Destroy() 179 CHECK_EQ(__interceptor_pthread_rwlock_destroy((pthread_rwlock_t*)mtx_), 0); in Destroy() 185 CHECK_EQ(__interceptor_pthread_mutex_lock((pthread_mutex_t*)mtx_), 0); in Lock() 188 CHECK_EQ(pthread_spin_lock((pthread_spinlock_t*)mtx_), 0); in Lock() 191 CHECK_EQ(__interceptor_pthread_rwlock_wrlock((pthread_rwlock_t*)mtx_), 0); in Lock() [all …]
|
D | tsan_test_util.h | 59 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() 240 BlockingMutexLock l(&mtx_); in JoinThread() 253 BlockingMutexLock l(&mtx_); in FinishThread() [all …]
|
D | sanitizer_thread_registry.h | 86 void Lock() { mtx_.Lock(); } in Lock() 87 void CheckLocked() { mtx_.CheckLocked(); } in CheckLocked() 88 void Unlock() { mtx_.Unlock(); } in Unlock() 126 BlockingMutex mtx_; variable
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_thread_registry.cpp | 110 mtx_(), in ThreadRegistry() 124 BlockingMutexLock l(&mtx_); in GetNumberOfThreads() 131 BlockingMutexLock l(&mtx_); in GetMaxAliveThreads() 137 BlockingMutexLock l(&mtx_); in CreateThread() 183 BlockingMutexLock l(&mtx_); in FindThread() 215 BlockingMutexLock l(&mtx_); in SetThreadName() 225 BlockingMutexLock l(&mtx_); in SetThreadNameByUserId() 237 BlockingMutexLock l(&mtx_); in DetachThread() 258 BlockingMutexLock l(&mtx_); in JoinThread() 282 BlockingMutexLock l(&mtx_); in FinishThread() [all …]
|
D | sanitizer_thread_registry.h | 98 void Lock() { mtx_.Lock(); } in Lock() 99 void CheckLocked() { mtx_.CheckLocked(); } in CheckLocked() 100 void Unlock() { mtx_.Unlock(); } in Unlock() 139 BlockingMutex mtx_; variable
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_mutex_test.cpp | 27 : mtx_(mtx) { in TestData() 33 Lock l(mtx_); in Write() 42 if (!mtx_->TryLock()) in TryWrite() 49 mtx_->Unlock(); in TryWrite() 64 MutexType *mtx_; member in __sanitizer::TestData
|
/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/llvm-project/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mutex_test.cpp | 25 : mtx_(mtx) { in TestData() 31 Lock l(mtx_); in Write() 40 ReadLock l(mtx_); in Read() 59 MutexType *mtx_; member in __tsan::TestData
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_dense_alloc.h | 81 SpinMutexLock lock(&mtx_); in FlushCache() 96 SpinMutex mtx_; variable 101 SpinMutexLock lock(&mtx_); in Refill() 126 SpinMutexLock lock(&mtx_); in Drain()
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_dense_alloc.h | 81 SpinMutexLock lock(&mtx_); in FlushCache() 96 SpinMutex mtx_; variable 102 SpinMutexLock lock(&mtx_); in Refill() 130 SpinMutexLock lock(&mtx_); in Drain()
|
/external/libcxxabi/src/ |
D | fallback_malloc.cpp | 43 mutexor(std::__libcpp_mutex_t* m) : mtx_(m) { in mutexor() 44 std::__libcpp_mutex_lock(mtx_); in mutexor() 46 ~mutexor() { std::__libcpp_mutex_unlock(mtx_); } in ~mutexor() 55 std::__libcpp_mutex_t* mtx_; member in __anon2c0dd58c0111::mutexor
|
/external/llvm-project/libcxxabi/src/ |
D | fallback_malloc.cpp | 45 mutexor(std::__libcpp_mutex_t* m) : mtx_(m) { in mutexor() 46 std::__libcpp_mutex_lock(mtx_); in mutexor() 48 ~mutexor() { std::__libcpp_mutex_unlock(mtx_); } in ~mutexor() 57 std::__libcpp_mutex_t* mtx_; member in __anonfd8c1ffa0111::mutexor
|
/external/dynamic_depth/internal/xmpmeta/xml/ |
D | deserializer_impl.h | 88 mutable std::mutex mtx_; variable
|
D | deserializer_impl.cc | 157 std::lock_guard<std::mutex> lock(mtx_); in CreateDeserializerFromListElementAt()
|
/external/libabigail/tests/data/test-annotate/ |
D | test15-pr18892.so.abi | 10589 <!-- __sanitizer::BlockingMutex __sanitizer::ThreadRegistry::mtx_ --> 10590 …<var-decl name='mtx_' type-id='type-id-229' visibility='default' filepath='../../.././libsanitizer… 11599 <!-- __tsan::Mutex AtExitContext::mtx_ --> 11600 …<var-decl name='mtx_' type-id='type-id-510' visibility='default' filepath='../../.././libsanitizer… 28566 <!-- __sanitizer::BlockingMutex __sanitizer::ThreadRegistry::mtx_ --> 28567 …<var-decl name='mtx_' type-id='type-id-229' visibility='default' filepath='../../.././libsanitizer…
|
/external/libabigail/tests/data/test-read-dwarf/ |
D | test15-pr18892.so.abi | 6342 …<var-decl name='mtx_' type-id='type-id-229' visibility='default' filepath='../../.././libsanitizer… 7177 …<var-decl name='mtx_' type-id='type-id-510' visibility='default' filepath='../../.././libsanitizer… 16574 …<var-decl name='mtx_' type-id='type-id-229' visibility='default' filepath='../../.././libsanitizer…
|