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

1 2 3 4 5

  /external/jemalloc/include/jemalloc/internal/
mb.h 105 malloc_mutex_t mtx; local
107 malloc_mutex_init(&mtx, "mb", WITNESS_RANK_OMIT);
108 malloc_mutex_lock(TSDN_NULL, &mtx);
109 malloc_mutex_unlock(TSDN_NULL, &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);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
4-1.c 50 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; variable
58 ret = pthread_mutex_lock(&mtx);
62 ret = pthread_mutex_unlock(&mtx);
104 ret = pthread_mutex_lock(&mtx);
166 ret = pthread_mutex_unlock(&mtx);
178 ret = pthread_mutex_unlock(&mtx);
  /bionic/benchmarks/
atomic_benchmark.cpp 44 std::mutex mtx; variable
142 std::lock_guard<std::mutex> _(mtx);
  /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);
  /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:__anon21116
29 mtx_lock(&arg->mtx);
31 mtx_unlock(&arg->mtx);
42 assert_false(mtx_init(&arg.mtx), "Unexpected mtx_init() failure");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/
1-2.c 92 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; variable
118 ret = pthread_mutex_lock(&mtx);
124 ret = pthread_mutex_unlock(&mtx);
185 ret = pthread_mutex_lock(&mtx);
205 ret = pthread_mutex_unlock(&mtx);
3-2.c 80 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; variable
107 ret = pthread_mutex_lock(&mtx);
113 ret = pthread_mutex_unlock(&mtx);
172 ret = pthread_mutex_lock(&mtx);
202 ret = pthread_mutex_unlock(&mtx);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/
4-1.c 96 pthread_mutex_t mtx; variable
104 ret = pthread_mutex_trylock(&mtx);
117 if ((ret = pthread_mutex_lock(&mtx))) {
130 if ((ret = pthread_mutex_unlock(&mtx))) {
168 if ((ret = pthread_mutex_init(&mtx, &ma))) {
179 if ((ret = pthread_mutex_lock(&mtx))) {
183 if ((ret = pthread_mutex_lock(&mtx))) {
187 if ((ret = pthread_mutex_unlock(&mtx))) {
211 if ((ret = pthread_mutex_unlock(&mtx))) {
221 ret = pthread_mutex_unlock(&mtx);
    [all...]
5-1.c 97 pthread_mutex_t mtx[5]; variable
129 if ((ret = pthread_mutex_lock(&mtx[i]))) { /* Attempt to lock the mutex */
135 if ((ret = pthread_mutex_unlock(&mtx[i]))) { /* We don't need the mutex anymore */
185 if ((ret = pthread_mutex_init(&mtx[i], pma[i]))) {
187 if ((ret = pthread_mutex_lock(&mtx[i]))) {
258 if ((ret = pthread_mutex_unlock(&mtx[i]))) {
274 if ((ret = pthread_mutex_destroy(&mtx[i]))) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/
1-3.c 81 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; variable
86 ret = pthread_mutex_lock(&mtx);
94 ret = pthread_mutex_unlock(&mtx);
151 ret = pthread_mutex_lock(&mtx);
162 ret = pthread_mutex_unlock(&mtx);
  /hardware/interfaces/radio/1.0/vts/functional/
sap_hidl_hal_utils.h 85 std::mutex mtx; member in class:SapHidlTest
  /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();
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/
5-2.c 111 pthread_mutex_t mtx; local
181 ret = pthread_mutex_init(&mtx, pma[i]);
186 ret = pthread_mutex_lock(&mtx);
191 ret = pthread_mutex_unlock(&mtx);
196 ret = pthread_mutex_destroy(&mtx);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
5-1.c 89 pthread_mutex_t mtx; local
201 retini[i] = pthread_mutex_init(&mtx, pma[i]);
203 retdtr[i] = pthread_mutex_destroy(&mtx);

Completed in 350 milliseconds

1 2 3 4 5