Home
last modified time | relevance | path

Searched refs:lock2 (Results 1 – 18 of 18) sorted by relevance

/external/libchrome/base/task_scheduler/
Dscheduler_lock_unittest.cc139 SchedulerLock lock2; in TEST() local
142 lock2.Acquire(); in TEST()
148 SchedulerLock lock2(&lock1); in TEST() local
149 SchedulerLock lock3(&lock2); in TEST()
151 lock2.Acquire(); in TEST()
154 lock2.Release(); in TEST()
160 SchedulerLock lock2(&lock1); in TEST() local
161 SchedulerLock lock3(&lock2); in TEST()
162 lock2.Acquire(); in TEST()
165 lock2.Release(); in TEST()
[all …]
/external/fio/
Drate-submit.c175 pthread_mutex_t *lock2) in pthread_double_unlock() argument
179 pthread_mutex_unlock(lock2); in pthread_double_unlock()
183 static void pthread_double_lock(pthread_mutex_t *lock1, pthread_mutex_t *lock2) in pthread_double_lock() argument
186 if (lock1 < lock2) { in pthread_double_lock()
188 pthread_mutex_lock(lock2); in pthread_double_lock()
190 pthread_mutex_lock(lock2); in pthread_double_lock()
/external/libevent/
Devthread-internal.h302 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
303 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
338 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument
341 void *lock2_tmplock_ = (lock2); \
348 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument
351 void *lock2_tmplock_ = (lock2); \
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/
DTarget12.java32 Object lock2 = new Object(); in nested() local
33 synchronized (lock2) { in nested()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DCycleDetectingLockFactoryTest.java51 private ReentrantLock lock2; field in CycleDetectingLockFactoryTest
81 lock2 = factory2.newReentrantLock(MyOrder.SECOND); in setUp()
166 lock2.lock(); in testExplicitOrdering_noViolations()
173 lock2.lock(); in testExplicitOrdering_violations()
187 lock2.lock(); in testExplicitOrdering_violations()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl17.c75 struct flock lock2 = { (short)F_WRLCK, (short)0, 9, 5, (short)0 }; variable
222 if (fcntl(file_fd, F_SETLK, &lock2) < 0) { in do_child2()
557 if (do_test(&lock2, child_pid2)) { in main()
613 do_test(&lock2, child_pid2); in main()
/external/libchrome/base/debug/
Dactivity_tracker_unittest.cc177 char lock2; in TEST_F() local
179 ActivityData::ForLock(&lock2)); in TEST_F()
188 EXPECT_EQ(reinterpret_cast<uintptr_t>(&lock2), in TEST_F()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_testset.sh141 cpuset_memory_test --mmap-lock2 >"$MEMORY_RESULT" &
/external/dng_sdk/source/
Ddng_pthread.cpp614 ScopedLock lock2(real_cond.lock); in cond_wait_internal() local
/external/valgrind/drd/tests/
Dtsan_unittest.cpp7000 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in Writer2() local
7010 MutexLock lock2(&mu2); // Oh, gosh, this is a wrong mutex! in Reader() local
7059 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in GoodWriter2() local
7070 MutexLock lock2(&mu2); // Wrong mutex! in BuggyWriter() local
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py952 lock2 = val2.get_lock()
1039 lock2 = arr2.get_lock()
/external/python/cpython3/Lib/test/
D_test_multiprocessing.py1501 lock2 = val2.get_lock()
1581 lock2 = arr2.get_lock()
/external/robolectric/v3/runtime/
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...