/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_mutex_test.cc | 24 explicit TestData(MutexType *mtx) in TestData() argument 25 : mtx_(mtx) { in TestData() 96 static void check_locked(MutexType *mtx) { in check_locked() argument 97 GenericScopedLock<MutexType> l(mtx); in check_locked() 98 mtx->CheckLocked(); in check_locked() 102 SpinMutex mtx; in TEST() local 103 mtx.Init(); in TEST() 104 TestData<SpinMutex> data(&mtx); in TEST() 113 SpinMutex mtx; in TEST() local 114 mtx.Init(); in TEST() [all …]
|
/external/compiler-rt/lib/tsan/lit_tests/ |
D | free_race.c | 9 pthread_mutex_t mtx; variable 12 pthread_mutex_lock(&mtx); in Thread1() 14 pthread_mutex_unlock(&mtx); in Thread1() 20 pthread_mutex_lock(&mtx); in Thread2() 22 pthread_mutex_unlock(&mtx); in Thread2() 28 pthread_mutex_init(&mtx, 0); in main() 33 pthread_mutex_destroy(&mtx); in main()
|
D | mutexset1.cc | 7 pthread_mutex_t mtx; variable 11 pthread_mutex_lock(&mtx); in Thread1() 13 pthread_mutex_unlock(&mtx); in Thread1() 30 pthread_mutex_init(&mtx, 0); in main() 36 pthread_mutex_destroy(&mtx); in main()
|
D | mutexset2.cc | 7 pthread_mutex_t mtx; variable 10 pthread_mutex_lock(&mtx); in Thread1() 12 pthread_mutex_unlock(&mtx); in Thread1() 30 pthread_mutex_init(&mtx, 0); in main() 36 pthread_mutex_destroy(&mtx); in main()
|
D | mutexset7.cc | 15 pthread_mutex_t mtx; in Thread2() local 16 pthread_mutex_init(&mtx, 0); in Thread2() 17 pthread_mutex_lock(&mtx); in Thread2() 19 pthread_mutex_unlock(&mtx); in Thread2() 20 pthread_mutex_destroy(&mtx); in Thread2()
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_posix.cc | 20 pthread_mutex_t *mtx; member 23 thread_key(pthread_key_t key, pthread_mutex_t *mtx, int val, int *cnt) in thread_key() 25 , mtx(mtx) in thread_key() 33 EXPECT_EQ(pthread_mutex_lock(k->mtx), 0); in thread_secific_dtor() 36 EXPECT_EQ(pthread_mutex_unlock(k->mtx), 0); in thread_secific_dtor() 57 pthread_mutex_t mtx; in TEST() local 58 EXPECT_EQ(pthread_mutex_init(&mtx, 0), 0); in TEST() 61 k[0] = new thread_key(key, &mtx, 42, &cnt); in TEST() 62 k[1] = new thread_key(key, &mtx, 43, &cnt); in TEST() 63 k[2] = new thread_key(key, &mtx, 44, &cnt); in TEST()
|
D | tsan_test_util_linux.cc | 50 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; in TestMutexBeforeInit() local 51 pthread_mutex_lock(&mtx); in TestMutexBeforeInit() 52 pthread_mutex_unlock(&mtx); in TestMutexBeforeInit() 53 pthread_mutex_destroy(&mtx); in TestMutexBeforeInit()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_sync.cc | 21 : mtx(MutexTypeSyncVar, StatMtxSyncVar) in SyncVar() 34 : mtx(MutexTypeSyncTab, StatMtxSyncTab) in Part() 98 res->mtx.Lock(); in GetAndLock() 100 res->mtx.ReadLock(); in GetAndLock() 107 ReadLock l(&p->mtx); in GetAndLock() 111 res->mtx.Lock(); in GetAndLock() 113 res->mtx.ReadLock(); in GetAndLock() 121 Lock l(&p->mtx); in GetAndLock() 133 res->mtx.Lock(); in GetAndLock() 135 res->mtx.ReadLock(); in GetAndLock() [all …]
|
D | tsan_interface_java.cc | 30 Mutex mtx; member 34 : mtx(MutexTypeJavaMBlock, StatMtxJavaMBlock) in BlockDesc() 48 s->mtx.Lock(); in ~BlockDesc() 49 s->mtx.Unlock(); in ~BlockDesc() 127 Lock l(&b->mtx); in GetJavaSync() 143 s->mtx.Lock(); in GetJavaSync() 145 s->mtx.ReadLock(); in GetJavaSync()
|
D | tsan_rtl_mutex.cc | 39 s->mtx.Unlock(); in MutexCreate() 112 s->mtx.Unlock(); in MutexLock() 149 s->mtx.Unlock(); in MutexUnlock() 170 s->mtx.ReadUnlock(); in MutexReadLock() 191 s->mtx.Unlock(); in MutexReadUnlock() 238 s->mtx.Unlock(); in MutexReadOrWriteUnlock() 248 s->mtx.ReadUnlock(); in Acquire() 273 s->mtx.Unlock(); in Release() 283 s->mtx.Unlock(); in ReleaseStore()
|
D | tsan_trace.h | 64 Mutex mtx; member 67 : mtx(MutexTypeTrace, StatMtxTrace) { in Trace()
|
D | tsan_interface_ann.cc | 78 Mutex mtx; member 83 : mtx(MutexTypeAnnotations, StatMtxAnnotations) { in DynamicAnnContext() 150 Lock lock(&dyn_ann_ctx->mtx); in IsExpectedReport() 250 Lock lock(&dyn_ann_ctx->mtx); in AnnotateFlushExpectedRaces() 297 Lock lock(&dyn_ann_ctx->mtx); in AnnotateExpectRace() 305 Lock lock(&dyn_ann_ctx->mtx); in BenignRaceImpl()
|
D | tsan_sync.h | 57 Mutex mtx; member 105 Mutex mtx; member
|
D | tsan_rtl_report.cc | 165 ReportMopMutex mtx = {s->uid, d.write}; in AddMemoryAccess() local 166 mop->mset.PushBack(mtx); in AddMemoryAccess() 169 ReportMopMutex mtx = {d.id, d.write}; in AddMemoryAccess() local 170 mop->mset.PushBack(mtx); in AddMemoryAccess() 174 s->mtx.ReadUnlock(); in AddMemoryAccess() 394 Lock l(&trace->mtx); in RestoreStack()
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mutex_test.cc | 25 explicit TestData(MutexType *mtx) in TestData() argument 26 : mtx_(mtx) { in TestData() 97 Mutex mtx(MutexTypeAnnotations, StatMtxAnnotations); in TEST() local 98 TestData<Mutex> data(&mtx); in TEST() 107 Mutex mtx(MutexTypeAnnotations, StatMtxAnnotations); in TEST() local 108 TestData<Mutex> data(&mtx); in TEST() 117 SpinMutex mtx; in TEST() local 118 TestData<SpinMutex> data(&mtx); in TEST()
|
/external/llvm/include/llvm/Support/ |
D | Mutex.h | 139 SmartMutex<mt_only>& mtx; variable 142 SmartScopedLock(SmartMutex<mt_only>& m) : mtx(m) { in SmartScopedLock() 143 mtx.acquire(); in SmartScopedLock() 147 mtx.release(); in ~SmartScopedLock()
|
/external/llvm/test/CodeGen/X86/ |
D | 2009-02-21-ExtWeakInitializer.ll | 9 %struct.mtx = type <{ %struct.lock_object, i64 }> 12 …, i32, i8, i8, i8, i8, i32 (%struct.uart_softc*)*, i32 (%struct.uart_softc*)*, i8*, %struct.mtx* }> 13 …void (%struct.uart_bas*, i32)*, i32 (%struct.uart_bas*)*, i32 (%struct.uart_bas*, %struct.mtx*)* }>
|
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/ |
D | EASLib.c | 122 pthread_mutex_t mtx; variable 350 pthread_mutex_lock(&mtx); in RenderProc() 362 pthread_mutex_unlock(&mtx); in RenderProc() 379 pthread_mutex_unlock(&mtx); in RenderProc() 409 pthread_mutex_lock(&mtx); in EAS_RenderWaveOut() 413 pthread_cond_wait(&cond, &mtx); in EAS_RenderWaveOut() 420 pthread_mutex_unlock(&mtx); in EAS_RenderWaveOut() 430 pthread_mutex_lock(&mtx); in EAS_RenderAuxMixerWaveOut() 434 pthread_cond_wait(&cond, &mtx); in EAS_RenderAuxMixerWaveOut() 440 pthread_mutex_unlock(&mtx); in EAS_RenderAuxMixerWaveOut() [all …]
|
/external/valgrind/main/drd/ |
D | drd.h | 171 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, mtx) do { } while(0) argument 198 #define ANNOTATE_PURE_HAPPENS_BEFORE_MUTEX(mtx) do { } while(0) argument 201 #define ANNOTATE_MUTEX_IS_USED_AS_CONDVAR(mtx) do { } while(0) argument
|
/external/jmonkeyengine/engine/src/bullet-native/ |
D | com_jme3_bullet_collision_shapes_CompoundCollisionShape.cpp | 74 btMatrix3x3 mtx = btMatrix3x3(); in Java_com_jme3_bullet_collision_shapes_CompoundCollisionShape_addChildShape() local 75 btTransform trans = btTransform(mtx); in Java_com_jme3_bullet_collision_shapes_CompoundCollisionShape_addChildShape()
|
/external/webkit/Source/WebCore/rendering/ |
D | EllipsisBox.cpp | 110 int mtx = tx + m_logicalWidth - m_markupBox->x(); in nodeAtPoint() local 112 if (m_markupBox->nodeAtPoint(request, result, x, y, mtx, mty, lineTop, lineBottom)) { in nodeAtPoint() 113 renderer()->updateHitTestResult(result, IntPoint(x - mtx, y - mty)); in nodeAtPoint()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/ |
D | PhysicsGhostObject.java | 194 Matrix3f mtx = new Matrix3f(); in getPhysicsRotationMatrix() local 195 getPhysicsRotationMatrix(objectId, mtx); in getPhysicsRotationMatrix() 196 return mtx; in getPhysicsRotationMatrix()
|
/external/llvm/test/Analysis/ScalarEvolution/ |
D | avoid-infinite-recursion-1.ll | 47 …%struct.bufobj = type <{ %struct.mtx, %struct.bufv, %struct.bufv, i64, i32, i8, i8, i8, i8, %struc… 87 …%struct.lockf = type <{ %23, %struct.mtx, %struct.lockf_entry_list, %struct.lockf_entry_list, i32,… 98 …%struct.mount = type <{ %struct.mtx, i32, i8, i8, i8, i8, %struct.mntlist, %struct.vfsops*, %struc… 100 %struct.mtx = type <{ %struct.lock_object, i64 }> 108 %struct.pgrp = type <{ %16, %13, %struct.session*, %struct.sigiolst, i32, i32, %struct.mtx }> 110 …%struct.pmap = type <{ %struct.mtx, i64*, %15, i32, i8, i8, i8, i8, %struct.bintime, %struct.vm_pa… 111 …%struct.prison = type <{ %9, i32, i32, i32, i32, %10, %9, %struct.prison*, %struct.mtx, %struct.ta… 112 …mtx, %struct.ucred*, %struct.filedesc*, %struct.filedesc_to_leader*, %struct.pstats*, %struct.plim… 120 %struct.selinfo = type <{ %struct.selfdlist, %struct.knlist, %struct.mtx* }> 122 …i8, i8, %struct.proc*, %struct.vnode*, %struct.tty*, i32, [24 x i8], i8, i8, i8, i8, %struct.mtx }> [all …]
|
/external/webp/src/dsp/ |
D | enc_sse2.c | 778 int n, const VP8Matrix* const mtx) { in QuantizeBlockSSE2() argument 790 const __m128i sharpen0 = _mm_loadu_si128((__m128i*)&mtx->sharpen_[0]); in QuantizeBlockSSE2() 791 const __m128i sharpen8 = _mm_loadu_si128((__m128i*)&mtx->sharpen_[8]); in QuantizeBlockSSE2() 792 const __m128i iq0 = _mm_loadu_si128((__m128i*)&mtx->iq_[0]); in QuantizeBlockSSE2() 793 const __m128i iq8 = _mm_loadu_si128((__m128i*)&mtx->iq_[8]); in QuantizeBlockSSE2() 794 const __m128i bias0 = _mm_loadu_si128((__m128i*)&mtx->bias_[0]); in QuantizeBlockSSE2() 795 const __m128i bias8 = _mm_loadu_si128((__m128i*)&mtx->bias_[8]); in QuantizeBlockSSE2() 796 const __m128i q0 = _mm_loadu_si128((__m128i*)&mtx->q_[0]); in QuantizeBlockSSE2() 797 const __m128i q8 = _mm_loadu_si128((__m128i*)&mtx->q_[8]); in QuantizeBlockSSE2() 798 const __m128i zthresh0 = _mm_loadu_si128((__m128i*)&mtx->zthresh_[0]); in QuantizeBlockSSE2() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stackdepot.cc | 38 StaticSpinMutex mtx; // Protects alloc of new blocks for region allocator. member 92 SpinMutexLock l(&depot.mtx); in allocDesc()
|