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

1 2 3 4 5 6

  /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_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]);
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_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);
race_on_mutex2.c 14 pthread_mutex_t Mtx;
15 pthread_mutex_init(&Mtx, 0);
17 pthread_create(&t, 0, Thread, &Mtx);
19 pthread_mutex_destroy(&Mtx);
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;
race_on_mutex.c 7 pthread_mutex_t Mtx;
11 pthread_mutex_init(&Mtx, 0);
12 pthread_mutex_lock(&Mtx);
14 pthread_mutex_unlock(&Mtx);
20 pthread_mutex_lock(&Mtx);
22 pthread_mutex_unlock(&Mtx);
32 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);
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;
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);
  /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");
  /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);
  /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/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...]
  /hardware/intel/img/psb_video/src/hwdefs/
dxva_msg.h 36 specific MTX/Host messages
48 #define FWRK_MSGID_START_PSR_HOSTMTX_MSG (0x80) //!< Start of parser specific Host->MTX messages.
49 #define FWRK_MSGID_START_PSR_MTXHOST_MSG (0xC0) //!< Start of parser specific MTX->Host messages.
66 /*! Sent by the VA driver on the host to the mtx firmware.
80 /*! Sent by the mtx firmware to itself.
89 /*! Sent by the VA firmware on the MTX to the host.
  /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/jemalloc/android/test/
run_unit.sh 14 $test_dir/mtx
  /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/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/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)

Completed in 512 milliseconds

1 2 3 4 5 6