/external/compiler-rt/lib/tsan/lit_tests/ |
free_race.c | 12 pthread_mutex_t mtx; variable 15 pthread_mutex_lock(&mtx); 17 pthread_mutex_unlock(&mtx); 23 pthread_mutex_lock(&mtx); 25 pthread_mutex_unlock(&mtx); 31 pthread_mutex_init(&mtx, 0); 36 pthread_mutex_destroy(&mtx);
|
mutexset8.cc | 7 pthread_mutex_t *mtx; variable 11 pthread_mutex_lock(mtx); 13 pthread_mutex_unlock(mtx); 30 mtx = new pthread_mutex_t; 31 pthread_mutex_init(mtx, 0); 37 pthread_mutex_destroy(mtx); 38 delete mtx;
|
mutexset1.cc | 7 pthread_mutex_t mtx; variable 11 pthread_mutex_lock(&mtx); 13 pthread_mutex_unlock(&mtx); 30 pthread_mutex_init(&mtx, 0); 36 pthread_mutex_destroy(&mtx);
|
mutexset2.cc | 7 pthread_mutex_t mtx; variable 10 pthread_mutex_lock(&mtx); 12 pthread_mutex_unlock(&mtx); 30 pthread_mutex_init(&mtx, 0); 36 pthread_mutex_destroy(&mtx);
|
mutexset7.cc | 16 pthread_mutex_t mtx; local 17 pthread_mutex_init(&mtx, 0); 18 pthread_mutex_lock(&mtx); 20 pthread_mutex_unlock(&mtx); 21 pthread_mutex_destroy(&mtx);
|
longjmp3.cc | 20 pthread_mutex_t mtx; local 21 pthread_mutex_init(&mtx, 0); 22 pthread_mutex_lock(&mtx); 23 pthread_mutex_destroy(&mtx);
|
longjmp4.cc | 23 pthread_mutex_t mtx; local 24 pthread_mutex_init(&mtx, 0); 25 pthread_mutex_lock(&mtx); 26 pthread_mutex_destroy(&mtx);
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
ptw32_mutex_check_need_init.c | 52 register pthread_mutex_t mtx; local 65 mtx = *mutex; 67 if (mtx == PTHREAD_MUTEX_INITIALIZER) 71 else if (mtx == PTHREAD_RECURSIVE_MUTEX_INITIALIZER) 75 else if (mtx == PTHREAD_ERRORCHECK_MUTEX_INITIALIZER) 79 else if (mtx == NULL)
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_mutex_test.cc | 24 explicit TestData(MutexType *mtx) 25 : mtx_(mtx) { 96 static void check_locked(MutexType *mtx) { 97 GenericScopedLock<MutexType> l(mtx); 98 mtx->CheckLocked(); 102 SpinMutex mtx; local 103 mtx.Init(); 104 TestData<SpinMutex> data(&mtx); 113 SpinMutex mtx; local 114 mtx.Init() 125 BlockingMutex *mtx = new(mtxmem) BlockingMutex(LINKER_INITIALIZED); local [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Description.cpp | 80 void Description::setProjectionMatrix(const mat4& mtx) { 81 mProjectionMatrix = mtx; 85 void Description::setColorMatrix(const mat4& mtx) { 87 mColorMatrix = mtx; 88 mColorMatrixEnabled = (mtx != identity);
|
Description.h | 67 void setProjectionMatrix(const mat4& mtx); 68 void setColorMatrix(const mat4& mtx);
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_trace.h | 64 Mutex mtx; member in struct:__tsan::Trace 67 : mtx(MutexTypeTrace, StatMtxTrace) {
|
tsan_sync.cc | 21 : mtx(MutexTypeSyncVar, StatMtxSyncVar) 34 : mtx(MutexTypeSyncTab, StatMtxSyncTab) 99 res->mtx.Lock(); 101 res->mtx.ReadLock(); 108 ReadLock l(&p->mtx); 112 res->mtx.Lock(); 114 res->mtx.ReadLock(); 122 Lock l(&p->mtx); 134 res->mtx.Lock(); 136 res->mtx.ReadLock() [all...] |
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_mutex_test.cc | 25 explicit TestData(MutexType *mtx) 26 : mtx_(mtx) { 97 Mutex mtx(MutexTypeAnnotations, StatMtxAnnotations); 98 TestData<Mutex> data(&mtx); 107 Mutex mtx(MutexTypeAnnotations, StatMtxAnnotations); 108 TestData<Mutex> data(&mtx); 117 SpinMutex mtx; local 118 TestData<SpinMutex> data(&mtx);
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_posix.cc | 20 pthread_mutex_t *mtx; member in struct:thread_key 23 thread_key(pthread_key_t key, pthread_mutex_t *mtx, int val, int *cnt) 25 , mtx(mtx) 33 EXPECT_EQ(pthread_mutex_lock(k->mtx), 0); 36 EXPECT_EQ(pthread_mutex_unlock(k->mtx), 0); 57 pthread_mutex_t mtx; local 58 EXPECT_EQ(pthread_mutex_init(&mtx, 0), 0); 61 k[0] = new thread_key(key, &mtx, 42, &cnt); 62 k[1] = new thread_key(key, &mtx, 43, &cnt) [all...] |
/external/llvm/include/llvm/Support/ |
Mutex.h | 139 SmartMutex<mt_only>& mtx; member in class:llvm::sys::SmartScopedLock 142 SmartScopedLock(SmartMutex<mt_only>& m) : mtx(m) { 143 mtx.acquire(); 147 mtx.release();
|
/frameworks/native/libs/gui/tests/ |
SurfaceTextureClient_test.cpp | 551 float mtx[16] = {}; local 556 mST->getTransformMatrix(mtx); 558 EXPECT_EQ(1.f, mtx[0]); 559 EXPECT_EQ(0.f, mtx[1]); 560 EXPECT_EQ(0.f, mtx[2]); 561 EXPECT_EQ(0.f, mtx[3]); 563 EXPECT_EQ(0.f, mtx[4]); 564 EXPECT_EQ(-1.f, mtx[5]); 565 EXPECT_EQ(0.f, mtx[6]); 566 EXPECT_EQ(0.f, mtx[7]) 581 float mtx[16] = {}; local 612 float mtx[16] = {}; local [all...] |
/external/chromium_org/content/common/gpu/ |
stream_texture_manager_android.cc | 34 float mtx[16]; local 35 surface_texture_->GetTransformMatrix(mtx); 38 if (has_updated_ && memcmp(current_matrix_, mtx, sizeof(mtx)) != 0) { 39 memcpy(current_matrix_, mtx, sizeof(mtx)); 42 memcpy(¶ms.m00, mtx, sizeof(mtx));
|
/hardware/invensense/60xx/mlsdk/mllite/ |
accel.c | 137 signed char *mtx = mldl_cfg->pdata->accel.orientation; local 178 data[ii] = ((long)tmp[0] * mtx[3 * ii] + 179 (long)tmp[1] * mtx[3 * ii + 1] + 180 (long)tmp[2] * mtx[3 * ii + 2]);
|
/external/chromium_org/ui/gl/android/ |
surface_texture.h | 38 void GetTransformMatrix(float mtx[16]);
|
surface_texture.cc | 55 void SurfaceTexture::GetTransformMatrix(float mtx[16]) { 66 mtx[i] = static_cast<float>(elements[i]);
|
/frameworks/base/graphics/java/android/graphics/ |
SurfaceTexture.java | 231 * @param mtx the array into which the 4x4 matrix will be stored. The array must have exactly 234 public void getTransformMatrix(float[] mtx) { 235 // Note we intentionally don't check mtx for null, so this will result in a 237 if (mtx.length != 16) { 240 nativeGetTransformMatrix(mtx); 333 private native void nativeGetTransformMatrix(float[] mtx);
|
/external/chromium_org/content/renderer/gpu/ |
stream_texture_host_android.h | 36 virtual void OnMatrixChanged(const float mtx[16]) = 0;
|
/external/jmonkeyengine/engine/src/bullet-native/ |
com_jme3_bullet_collision_shapes_CompoundCollisionShape.cpp | 74 btMatrix3x3 mtx = btMatrix3x3(); local 75 btTransform trans = btTransform(mtx);
|
/external/valgrind/main/drd/ |
drd.h | 165 * and a lock on the mutex at address mtx is now held. Since DRD always inserts 171 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, mtx) do { } while(0) 198 #define ANNOTATE_PURE_HAPPENS_BEFORE_MUTEX(mtx) do { } while(0) 201 #define ANNOTATE_MUTEX_IS_USED_AS_CONDVAR(mtx) do { } while(0)
|