Home
last modified time | relevance | path

Searched refs:mtx_ (Results 1 – 11 of 11) sorted by relevance

/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_posix.cc150 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 …]
Dtsan_test_util.h59 void *mtx_[128];
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cc96 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 …]
Dsanitizer_thread_registry.h86 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/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_mutex_test.cc28 : 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/
Dtsan_mutex_test.cc26 : 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/
Dtsan_dense_alloc.h81 SpinMutexLock lock(&mtx_); in FlushCache()
96 SpinMutex mtx_; variable
101 SpinMutexLock lock(&mtx_); in Refill()
126 SpinMutexLock lock(&mtx_); in Drain()
/external/opencv3/modules/cudacodec/src/
Dframe_queue.cpp83 AutoLock autoLock(mtx_); in enqueue()
104 AutoLock autoLock(mtx_); in dequeue()
Dframe_queue.hpp86 Mutex mtx_; member in cv::cudacodec::detail::FrameQueue
/external/libcxxabi/src/
Dfallback_malloc.ipp41 mutexor ( pthread_mutex_t *m ) : mtx_(m) { pthread_mutex_lock ( mtx_ ); }
42 ~mutexor () { pthread_mutex_unlock ( mtx_ ); }
48 pthread_mutex_t *mtx_;
/external/opencv3/modules/core/src/
Dcuda_stream.cpp130 Mutex mtx_; member in __anon9033fd5a0211::MemoryPool
150 AutoLock lock(mtx_); in initialize()
210 AutoLock lock(mtx_); in getFreeMemStack()
232 AutoLock lock(mtx_); in returnMemStack()