HomeSort by relevance Sort by last modified time
    Searched defs:mtx (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/jemalloc/include/jemalloc/internal/
mb.h 105 malloc_mutex_t mtx; local
107 malloc_mutex_init(&mtx);
108 malloc_mutex_lock(&mtx);
109 malloc_mutex_unlock(&mtx);
  /external/compiler-rt/test/tsan/
bench_local_mutex.cc 9 pthread_mutex_t *mtx; variable
14 pthread_mutex_lock(&mtx[tid * kStride]);
15 pthread_mutex_unlock(&mtx[tid * kStride]);
20 mtx = (pthread_mutex_t*)malloc(bench_nthread * kStride * sizeof(*mtx));
22 pthread_mutex_init(&mtx[i * kStride], 0);
23 pthread_mutex_lock(&mtx[i * kStride]);
24 pthread_mutex_unlock(&mtx[i * kStride]);
bench_rwmutex.cc 9 pthread_rwlock_t mtx; variable
13 pthread_rwlock_rdlock(&mtx);
14 pthread_rwlock_unlock(&mtx);
19 pthread_rwlock_init(&mtx, 0);
20 pthread_rwlock_wrlock(&mtx);
21 pthread_rwlock_unlock(&mtx);
22 pthread_rwlock_rdlock(&mtx);
23 pthread_rwlock_unlock(&mtx);
bench_mutex.cc 9 pthread_mutex_t mtx; variable
15 pthread_mutex_lock(&mtx);
17 pthread_cond_wait(&cv, &mtx);
20 pthread_mutex_unlock(&mtx);
25 pthread_mutex_init(&mtx, 0);
bench_ten_mutexes.cc 10 pthread_mutex_t mtx[kMutex]; variable
17 pthread_mutex_lock(&mtx[idx]);
18 pthread_mutex_unlock(&mtx[idx]);
24 pthread_mutex_init(&mtx[i], 0);
free_race.c 8 pthread_mutex_t mtx; variable
11 pthread_mutex_lock(&mtx);
13 pthread_mutex_unlock(&mtx);
20 pthread_mutex_lock(&mtx);
22 pthread_mutex_unlock(&mtx);
29 pthread_mutex_init(&mtx, 0);
34 pthread_mutex_destroy(&mtx);
mutexset1.cc 5 pthread_mutex_t mtx; variable
9 pthread_mutex_lock(&mtx);
11 pthread_mutex_unlock(&mtx);
30 pthread_mutex_init(&mtx, 0);
36 pthread_mutex_destroy(&mtx);
mutexset2.cc 5 pthread_mutex_t mtx; variable
8 pthread_mutex_lock(&mtx);
10 pthread_mutex_unlock(&mtx);
30 pthread_mutex_init(&mtx, 0);
36 pthread_mutex_destroy(&mtx);
mutexset7.cc 14 pthread_mutex_t *mtx = new pthread_mutex_t; local
15 pthread_mutex_init(mtx, 0);
16 pthread_mutex_lock(mtx);
18 pthread_mutex_unlock(mtx);
19 pthread_mutex_destroy(mtx);
20 delete mtx;
mutexset8.cc 5 pthread_mutex_t *mtx; variable
9 pthread_mutex_lock(mtx);
11 pthread_mutex_unlock(mtx);
30 mtx = new pthread_mutex_t;
31 pthread_mutex_init(mtx, 0);
37 pthread_mutex_destroy(mtx);
38 delete mtx;
longjmp3.cc 24 pthread_mutex_t mtx; local
25 pthread_mutex_init(&mtx, 0);
26 pthread_mutex_lock(&mtx);
27 pthread_mutex_destroy(&mtx);
longjmp4.cc 27 pthread_mutex_t mtx; local
28 pthread_mutex_init(&mtx, 0);
29 pthread_mutex_lock(&mtx);
30 pthread_mutex_destroy(&mtx);
real_deadlock_detector_stress_test.cc 27 Mutex mtx[kMutexes]; variable
58 Mutex *m = &mtx[id];
129 Mutex *m = &mtx[id];
141 Mutex *m = &mtx[id];
159 Mutex *m = &mtx[id];
175 mtx[i].state = kStateNotInited;
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_persistent_allocator.h 30 StaticSpinMutex mtx; // Protects alloc of new blocks for region allocator. member in class:__sanitizer::PersistentAllocator
52 SpinMutexLock l(&mtx);
sanitizer_deadlock_detector1.cc 37 SpinMutex mtx; member in struct:__sanitizer::DD
109 SpinMutexLock lk(&mtx);
159 SpinMutexLock lk(&mtx);
176 SpinMutexLock lk(&mtx);
  /external/jemalloc/test/unit/
mtx.c 8 mtx_t mtx; local
10 assert_false(mtx_init(&mtx), "Unexpected mtx_init() failure");
11 mtx_lock(&mtx);
12 mtx_unlock(&mtx);
13 mtx_fini(&mtx);
18 mtx_t mtx; member in struct:__anon12833
29 mtx_lock(&arg->mtx);
31 mtx_unlock(&arg->mtx);
42 assert_false(mtx_init(&arg.mtx), "Unexpected mtx_init() failure");
  /external/llvm/include/llvm/Support/
Mutex.h 142 SmartMutex<mt_only>& mtx; member in class:llvm::sys::SmartScopedLock
145 SmartScopedLock(SmartMutex<mt_only>& m) : mtx(m) {
146 mtx.lock();
150 mtx.unlock();
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Region_Delegate.java 238 AffineTransform mtx = new AffineTransform(); local
239 mtx.translate(dx, dy);
240 targetRegionDelegate.mArea.transform(mtx);
260 AffineTransform mtx = new AffineTransform(); local
261 mtx.scale(scale, scale);
262 targetRegionDelegate.mArea.transform(mtx);
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_mutex_test.cc 27 explicit TestData(MutexType *mtx)
28 : mtx_(mtx) {
98 static void check_locked(MutexType *mtx) {
99 GenericScopedLock<MutexType> l(mtx);
100 mtx->CheckLocked();
104 SpinMutex mtx; local
105 mtx.Init();
106 TestData<SpinMutex> data(&mtx);
115 SpinMutex mtx; local
116 mtx.Init()
127 BlockingMutex *mtx = new(mtxmem) BlockingMutex(LINKER_INITIALIZED); local
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_sync.h 32 Mutex mtx; member in struct:__tsan::SyncVar
46 // with the mtx. This reduces contention for hot sync objects.
tsan_trace.h 57 Mutex mtx; member in struct:__tsan::Trace
68 : mtx(MutexTypeTrace, StatMtxTrace) {
  /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);
60 thread_key k1 = thread_key(key, &mtx, 42, &cnt);
61 thread_key k2 = thread_key(key, &mtx, 43, &cnt)
    [all...]
tsan_test_util_posix.cc 92 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; local
93 __interceptor_pthread_mutex_lock(&mtx);
94 __interceptor_pthread_mutex_unlock(&mtx);
95 __interceptor_pthread_mutex_destroy(&mtx);
  /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);
  /hardware/libhardware/tests/hwc/
test-arrows.c 48 static GLfloat mtx[16]; variable
96 matrix_init_ortho(mtx, w, h);
134 glUniformMatrix4fv(uTransform, 1, 0, mtx);

Completed in 247 milliseconds

1 2 3