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

1 2 3 4

  /external/compiler-rt/test/tsan/
bench_rwmutex.cc 6 pthread_rwlock_t mtx; variable
10 pthread_rwlock_rdlock(&mtx);
11 pthread_rwlock_unlock(&mtx);
16 pthread_rwlock_init(&mtx, 0);
17 pthread_rwlock_wrlock(&mtx);
18 pthread_rwlock_unlock(&mtx);
19 pthread_rwlock_rdlock(&mtx);
20 pthread_rwlock_unlock(&mtx);
bench_mutex.cc 6 pthread_mutex_t mtx; variable
12 pthread_mutex_lock(&mtx);
14 pthread_cond_wait(&cv, &mtx);
17 pthread_mutex_unlock(&mtx);
22 pthread_mutex_init(&mtx, 0);
bench_local_mutex.cc 6 pthread_mutex_t *mtx; variable
11 pthread_mutex_lock(&mtx[tid * kStride]);
12 pthread_mutex_unlock(&mtx[tid * kStride]);
17 mtx = (pthread_mutex_t*)malloc(bench_nthread * kStride * sizeof(*mtx));
19 pthread_mutex_init(&mtx[i * kStride], 0);
20 pthread_mutex_lock(&mtx[i * kStride]);
21 pthread_mutex_unlock(&mtx[i * kStride]);
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;
mutexset7.cc 16 pthread_mutex_t *mtx = new pthread_mutex_t; local
17 pthread_mutex_init(mtx, 0);
18 pthread_mutex_lock(mtx);
20 pthread_mutex_unlock(mtx);
21 pthread_mutex_destroy(mtx);
22 delete mtx;
bench_ten_mutexes.cc 7 pthread_mutex_t mtx[kMutex]; variable
14 pthread_mutex_lock(&mtx[idx]);
15 pthread_mutex_unlock(&mtx[idx]);
21 pthread_mutex_init(&mtx[i], 0);
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);
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/jemalloc/test/src/
mtx.c 8 mtx_init(mtx_t *mtx)
12 if (!InitializeCriticalSectionAndSpinCount(&mtx->lock, _CRT_SPINCOUNT))
15 mtx->lock = 0;
22 if (pthread_mutex_init(&mtx->lock, &attr) != 0) {
32 mtx_fini(mtx_t *mtx)
38 pthread_mutex_destroy(&mtx->lock);
43 mtx_lock(mtx_t *mtx)
47 EnterCriticalSection(&mtx->lock);
49 OSSpinLockLock(&mtx->lock);
51 pthread_mutex_lock(&mtx->lock)
    [all...]
  /external/jemalloc/test/include/test/
mtx.h 2 * mtx is a slightly simplified version of malloc_mutex. This code duplication
18 bool mtx_init(mtx_t *mtx);
19 void mtx_fini(mtx_t *mtx);
20 void mtx_lock(mtx_t *mtx);
21 void mtx_unlock(mtx_t *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:__anon27281
29 mtx_lock(&arg->mtx);
31 mtx_unlock(&arg->mtx);
42 assert_false(mtx_init(&arg.mtx), "Unexpected mtx_init() failure");
  /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/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/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...]
  /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
72 : mtx(MutexTypeTrace, StatMtxTrace) {
  /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 554 float mtx[16] = {}; local
559 mST->getTransformMatrix(mtx);
561 EXPECT_EQ(1.f, mtx[0]);
562 EXPECT_EQ(0.f, mtx[1]);
563 EXPECT_EQ(0.f, mtx[2]);
564 EXPECT_EQ(0.f, mtx[3]);
566 EXPECT_EQ(0.f, mtx[4]);
567 EXPECT_EQ(-1.f, mtx[5]);
568 EXPECT_EQ(0.f, mtx[6]);
569 EXPECT_EQ(0.f, mtx[7])
584 float mtx[16] = {}; local
615 float mtx[16] = {}; local
    [all...]
  /external/chromium_org/content/common/gpu/
stream_texture_android.cc 141 float mtx[16]; local
142 surface_texture_->GetTransformMatrix(mtx);
145 if (memcmp(current_matrix_, mtx, sizeof(mtx)) != 0) {
146 memcpy(current_matrix_, mtx, sizeof(mtx));
149 memcpy(&params.m00, mtx, sizeof(mtx));

Completed in 565 milliseconds

1 2 3 4