/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 | 12 pthread_mutex_t mtx; variable 15 pthread_mutex_lock(&mtx); in Thread1() 17 pthread_mutex_unlock(&mtx); in Thread1() 23 pthread_mutex_lock(&mtx); in Thread2() 25 pthread_mutex_unlock(&mtx); in Thread2() 31 pthread_mutex_init(&mtx, 0); in main() 36 pthread_mutex_destroy(&mtx); in main()
|
D | mutexset8.cc | 7 pthread_mutex_t *mtx; variable 11 pthread_mutex_lock(mtx); in Thread1() 13 pthread_mutex_unlock(mtx); in Thread1() 30 mtx = new pthread_mutex_t; in main() 31 pthread_mutex_init(mtx, 0); in main() 37 pthread_mutex_destroy(mtx); in main() 38 delete 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 | 16 pthread_mutex_t mtx; in Thread2() local 17 pthread_mutex_init(&mtx, 0); in Thread2() 18 pthread_mutex_lock(&mtx); in Thread2() 20 pthread_mutex_unlock(&mtx); in Thread2() 21 pthread_mutex_destroy(&mtx); in Thread2()
|
D | longjmp3.cc | 20 pthread_mutex_t mtx; in badguy() local 21 pthread_mutex_init(&mtx, 0); in badguy() 22 pthread_mutex_lock(&mtx); in badguy() 23 pthread_mutex_destroy(&mtx); in badguy()
|
D | longjmp4.cc | 23 pthread_mutex_t mtx; in badguy() local 24 pthread_mutex_init(&mtx, 0); in badguy() 25 pthread_mutex_lock(&mtx); in badguy() 26 pthread_mutex_destroy(&mtx); in badguy()
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
D | ptw32_mutex_check_need_init.c | 52 register pthread_mutex_t mtx; in ptw32_mutex_check_need_init() local 65 mtx = *mutex; in ptw32_mutex_check_need_init() 67 if (mtx == PTHREAD_MUTEX_INITIALIZER) in ptw32_mutex_check_need_init() 71 else if (mtx == PTHREAD_RECURSIVE_MUTEX_INITIALIZER) in ptw32_mutex_check_need_init() 75 else if (mtx == PTHREAD_ERRORCHECK_MUTEX_INITIALIZER) in ptw32_mutex_check_need_init() 79 else if (mtx == NULL) in ptw32_mutex_check_need_init()
|
/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()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_sync.cc | 21 : mtx(MutexTypeSyncVar, StatMtxSyncVar) in SyncVar() 34 : mtx(MutexTypeSyncTab, StatMtxSyncTab) in Part() 99 res->mtx.Lock(); in GetAndLock() 101 res->mtx.ReadLock(); in GetAndLock() 108 ReadLock l(&p->mtx); in GetAndLock() 112 res->mtx.Lock(); in GetAndLock() 114 res->mtx.ReadLock(); in GetAndLock() 122 Lock l(&p->mtx); in GetAndLock() 134 res->mtx.Lock(); in GetAndLock() 136 res->mtx.ReadLock(); in GetAndLock() [all …]
|
D | tsan_rtl_mutex.cc | 39 s->mtx.Unlock(); in MutexCreate() 113 s->mtx.Unlock(); in MutexLock() 152 s->mtx.Unlock(); in MutexUnlock() 174 s->mtx.ReadUnlock(); in MutexReadLock() 195 s->mtx.Unlock(); in MutexReadUnlock() 242 s->mtx.Unlock(); in MutexReadOrWriteUnlock() 252 s->mtx.ReadUnlock(); in Acquire() 277 s->mtx.Unlock(); in Release() 287 s->mtx.Unlock(); in ReleaseStore()
|
D | tsan_interface_java.cc | 31 Mutex mtx; member 35 : mtx(MutexTypeJavaMBlock, StatMtxJavaMBlock) in BlockDesc() 49 s->mtx.Lock(); in ~BlockDesc() 50 s->mtx.Unlock(); in ~BlockDesc() 128 Lock l(&b->mtx); in GetJavaSync() 144 s->mtx.Lock(); in GetJavaSync() 146 s->mtx.ReadLock(); in GetJavaSync()
|
D | tsan_trace.h | 64 Mutex mtx; member 67 : mtx(MutexTypeTrace, StatMtxTrace) { in Trace()
|
D | tsan_interface_ann.cc | 81 Mutex mtx; member 86 : mtx(MutexTypeAnnotations, StatMtxAnnotations) { in DynamicAnnContext() 156 Lock lock(&dyn_ann_ctx->mtx); in IsExpectedReport() 188 Lock lock(&dyn_ann_ctx->mtx); in PrintMatchedBenignRaces() 310 Lock lock(&dyn_ann_ctx->mtx); in AnnotateFlushExpectedRaces() 357 Lock lock(&dyn_ann_ctx->mtx); in AnnotateExpectRace() 365 Lock lock(&dyn_ann_ctx->mtx); in BenignRaceImpl()
|
D | tsan_sync.h | 57 Mutex mtx; member 105 Mutex mtx; member
|
/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/chromium_org/content/common/gpu/ |
D | stream_texture_manager_android.cc | 34 float mtx[16]; in Update() local 35 surface_texture_->GetTransformMatrix(mtx); in Update() 38 if (has_updated_ && memcmp(current_matrix_, mtx, sizeof(mtx)) != 0) { in Update() 39 memcpy(current_matrix_, mtx, sizeof(mtx)); in Update() 42 memcpy(¶ms.m00, mtx, sizeof(mtx)); in Update()
|
/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/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/chromium_org/ui/gl/android/ |
D | surface_texture.cc | 55 void SurfaceTexture::GetTransformMatrix(float mtx[16]) { in GetTransformMatrix() 66 mtx[i] = static_cast<float>(elements[i]); in GetTransformMatrix()
|