Searched refs:mtx (Results 1 - 25 of 27) sorted by relevance

12

/external/compiler-rt/lib/tsan/output_tests/
H A Dfree_race.c8 pthread_mutex_t mtx; variable
11 pthread_mutex_lock(&mtx);
13 pthread_mutex_unlock(&mtx);
19 pthread_mutex_lock(&mtx);
21 pthread_mutex_unlock(&mtx);
27 pthread_mutex_init(&mtx, 0);
32 pthread_mutex_destroy(&mtx);
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_sync.cc21 : mtx(MutexTypeSyncVar, StatMtxSyncVar)
33 : mtx(MutexTypeSyncTab, StatMtxSyncTab)
55 Lock l(&b->mtx);
70 res->mtx.Lock();
72 res->mtx.ReadLock();
79 ReadLock l(&p->mtx);
83 res->mtx.Lock();
85 res->mtx.ReadLock();
91 Lock l(&p->mtx);
108 res->mtx
[all...]
H A Dtsan_trace.h66 Mutex mtx; member in struct:__tsan::Trace
69 : mtx(MutexTypeTrace, StatMtxTrace) {
H A Dtsan_sync.h57 Mutex mtx; member in struct:__tsan::SyncVar
90 Mutex mtx; member in struct:__tsan::SyncTab::Part
H A Dtsan_rtl_mutex.cc35 s->mtx.Unlock();
101 s->mtx.Unlock();
137 s->mtx.Unlock();
157 s->mtx.ReadUnlock();
178 s->mtx.Unlock();
221 s->mtx.Unlock();
231 s->mtx.ReadUnlock();
241 s->mtx.Unlock();
251 s->mtx.Unlock();
H A Dtsan_mman.cc68 Lock l(&b->mtx);
73 res->mtx.Lock();
74 res->mtx.Unlock();
H A Dtsan_interface_ann.cc77 Mutex mtx; member in struct:__tsan::DynamicAnnContext
82 : mtx(MutexTypeAnnotations, StatMtxAnnotations) {
149 Lock lock(&dyn_ann_ctx->mtx);
245 Lock lock(&dyn_ann_ctx->mtx);
285 Lock lock(&dyn_ann_ctx->mtx);
292 Lock lock(&dyn_ann_ctx->mtx);
H A Dtsan_rtl.h43 Mutex mtx; member in struct:__tsan::MBlock
H A Dtsan_rtl.cc252 Lock l(&thr->trace.mtx);
/external/compiler-rt/lib/tsan/unit_tests/
H A Dtsan_mutex_test.cc25 explicit TestData(MutexType *mtx) argument
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);
H A Dtsan_sync_test.cc43 v->mtx.Unlock();
/external/compiler-rt/lib/tsan/rtl_tests/
H A Dtsan_posix.cc20 pthread_mutex_t *mtx; member in struct:thread_key
23 thread_key(pthread_key_t key, pthread_mutex_t *mtx, int val, int *cnt) argument
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, 4
[all...]
H A Dtsan_test_util_linux.cc50 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; local
51 pthread_mutex_lock(&mtx);
52 pthread_mutex_unlock(&mtx);
53 pthread_mutex_destroy(&mtx);
/external/llvm/include/llvm/Support/
H A DMutex.h138 SmartMutex<mt_only>& mtx; member in class:llvm::sys::SmartScopedLock
141 SmartScopedLock(SmartMutex<mt_only>& m) : mtx(m) {
142 mtx.acquire();
146 mtx.release();
/external/jmonkeyengine/engine/src/bullet-native/
H A Dcom_jme3_bullet_collision_shapes_CompoundCollisionShape.cpp74 btMatrix3x3 mtx = btMatrix3x3(); local
75 btTransform trans = btTransform(mtx);
/external/valgrind/main/drd/
H A Ddrd.h128 * and a lock on the mutex at address mtx is now held. Since DRD always inserts
134 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, mtx) do { } while(0)
161 #define ANNOTATE_PURE_HAPPENS_BEFORE_MUTEX(mtx) do { } while(0)
164 #define ANNOTATE_MUTEX_IS_USED_AS_CONDVAR(mtx) do { } while(0)
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
H A DEASLib.c122 pthread_mutex_t mtx; variable
350 pthread_mutex_lock(&mtx);
362 pthread_mutex_unlock(&mtx);
379 pthread_mutex_unlock(&mtx);
409 pthread_mutex_lock(&mtx);
413 pthread_cond_wait(&cond, &mtx);
420 pthread_mutex_unlock(&mtx);
430 pthread_mutex_lock(&mtx);
434 pthread_cond_wait(&cond, &mtx);
440 pthread_mutex_unlock(&mtx);
[all...]
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
H A DPhysicsGhostObject.java194 Matrix3f mtx = new Matrix3f();
195 getPhysicsRotationMatrix(objectId, mtx);
196 return mtx;
H A DPhysicsRigidBody.java228 Matrix3f mtx = new Matrix3f();
229 getPhysicsRotationMatrix(objectId, mtx);
230 return mtx;
/external/webkit/Source/WebCore/rendering/
H A DEllipsisBox.cpp110 int mtx = tx + m_logicalWidth - m_markupBox->x(); local
112 if (m_markupBox->nodeAtPoint(request, result, x, y, mtx, mty, lineTop, lineBottom)) {
113 renderer()->updateHitTestResult(result, IntPoint(x - mtx, y - mty));
/external/webp/src/dsp/
H A Denc_sse2.c691 int n, const VP8Matrix* const mtx) {
704 const __m128i sharpen0 = _mm_loadu_si128((__m128i*)&mtx->sharpen_[0]);
705 const __m128i sharpen8 = _mm_loadu_si128((__m128i*)&mtx->sharpen_[8]);
706 const __m128i iq0 = _mm_loadu_si128((__m128i*)&mtx->iq_[0]);
707 const __m128i iq8 = _mm_loadu_si128((__m128i*)&mtx->iq_[8]);
708 const __m128i bias0 = _mm_loadu_si128((__m128i*)&mtx->bias_[0]);
709 const __m128i bias8 = _mm_loadu_si128((__m128i*)&mtx->bias_[8]);
710 const __m128i q0 = _mm_loadu_si128((__m128i*)&mtx->q_[0]);
711 const __m128i q8 = _mm_loadu_si128((__m128i*)&mtx->q_[8]);
712 const __m128i zthresh0 = _mm_loadu_si128((__m128i*)&mtx
690 QuantizeBlockSSE2(int16_t in[16], int16_t out[16], int n, const VP8Matrix* const mtx) argument
[all...]
H A Ddsp.h85 int n, const struct VP8Matrix* const mtx);
H A Denc.c649 int n, const VP8Matrix* const mtx) {
654 int coeff = (sign ? -in[j] : in[j]) + mtx->sharpen_[j];
656 if (coeff > mtx->zthresh_[j]) {
657 const int Q = mtx->q_[j];
658 const int iQ = mtx->iq_[j];
659 const int B = mtx->bias_[j];
648 QuantizeBlock(int16_t in[16], int16_t out[16], int n, const VP8Matrix* const mtx) argument
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stackdepot.cc37 StaticSpinMutex mtx; // Protects alloc of new blocks for region allocator. member in struct:__sanitizer::__anon4914
85 SpinMutexLock l(&depot.mtx);
/external/webp/src/enc/
H A Dquant.c422 const VP8Matrix* const mtx,
437 const int thresh = mtx->q_[1] * mtx->q_[1] / 4;
468 const int Q = mtx->q_[j];
469 const int iQ = mtx->iq_[j];
474 int coeff0 = (sign ? -in[j] : in[j]) + mtx->sharpen_[j];
566 in[j] = out[n] * mtx->q_[j];
419 TrellisQuantizeBlock(const VP8EncIterator* const it, int16_t in[16], int16_t out[16], int ctx0, int coeff_type, const VP8Matrix* const mtx, int lambda) argument

Completed in 435 milliseconds

12