Home
last modified time | relevance | path

Searched refs:lock2 (Results 1 – 25 of 25) 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/angle/src/common/
DSynchronizedValue.h223 std::unique_lock<Lockable> lock2(other.mMutex, std::defer_lock);
224 std::lock(lock1, lock2);
235 std::unique_lock<Lockable> lock2(other.mMutex, std::defer_lock);
236 std::lock(lock1, lock2);
275 std::unique_lock<Lockable> lock2(other.mMutex, std::defer_lock);
276 std::lock(lock1, lock2);
402 std::unique_lock<Lockable> lock2(other.mMutex, std::defer_lock);
403 std::lock(lock1, lock2);
410 std::unique_lock<Lockable> lock2(other.mMutex, std::defer_lock);
411 std::lock(lock1, lock2);
[all …]
/external/libevent/
Devthread-internal.h314 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
315 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
350 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument
353 void *lock2_tmplock_ = (lock2); \
360 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument
363 void *lock2_tmplock_ = (lock2); \
/external/jacoco/org.jacoco.core.test.validation.java5/src/org/jacoco/core/test/validation/java5/targets/
DStructuredLockingTarget.java32 Object lock2 = new Object(); in nested() local
33 synchronized (lock2) { in nested()
/external/llvm-project/libcxxabi/test/
Dguard_threaded_test.pass.cpp351 int lock2 = 0; in test_futex_syscall() local
360 PlatformFutexWait(&lock2, expect); in test_futex_syscall()
361 assert(lock2 == 2); in test_futex_syscall()
370 lock2 = 2; in test_futex_syscall()
371 PlatformFutexWake(&lock2); in test_futex_syscall()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DCycleDetectingLockFactoryTest.java49 private ReentrantLock lock2; field in CycleDetectingLockFactoryTest
75 lock2 = factory2.newReentrantLock(MyOrder.SECOND); in setUp()
160 lock2.lock(); in testExplicitOrdering_noViolations()
167 lock2.lock(); in testExplicitOrdering_violations()
181 lock2.lock(); in testExplicitOrdering_violations()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DCycleDetectingLockFactoryTest.java49 private ReentrantLock lock2; field in CycleDetectingLockFactoryTest
75 lock2 = factory2.newReentrantLock(MyOrder.SECOND); in setUp()
160 lock2.lock(); in testExplicitOrdering_noViolations()
167 lock2.lock(); in testExplicitOrdering_violations()
181 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/guice/core/test/com/google/inject/internal/
DCycleDetectingLockTest.java228 final CycleDetectingLock<T> lock2, in grabLocksInThread() argument
237 ListMultimap<Thread, T> cycle = lock2.lockOrDetectPotentialLocksCycle(); in grabLocksInThread()
239 lock2.unlock(); in grabLocksInThread()
/external/rust/crates/parking_lot/src/
Dfair_mutex.rs209 let lock2 = lock.lock(); in test_mutex_arc_nested() localVariable
210 assert_eq!(*lock2, 1); in test_mutex_arc_nested()
Dmutex.rs243 let lock2 = lock.lock(); in test_mutex_arc_nested() localVariable
244 assert_eq!(*lock2, 1); in test_mutex_arc_nested()
Drwlock.rs557 let lock2 = arc.read_recursive(); in test_rwlock_recursive() localVariable
561 drop(lock2); in test_rwlock_recursive()
/external/crosvm/cros_async/src/sync/
Dspin.rs237 let lock2 = nested.lock(); in arc_nested() localVariable
238 assert_eq!(*lock2, 1); in arc_nested()
Dmu.rs995 let lock2 = block_on(nested.lock()); in arc_nested() localVariable
996 assert_eq!(*lock2, 1); in arc_nested()
/external/libchromeos-rs/src/sync/
Dspin.rs231 let lock2 = nested.lock(); in arc_nested() localVariable
232 assert_eq!(*lock2, 1); in arc_nested()
Dmu.rs1118 let lock2 = block_on(nested.lock()); in arc_nested() localVariable
1119 assert_eq!(*lock2, 1); in arc_nested()
/external/rust/crates/spin/src/mutex/
Dticket.rs423 let lock2 = lock.lock(); in test_mutex_arc_nested() localVariable
424 assert_eq!(*lock2, 1); in test_mutex_arc_nested()
Dspin.rs427 let lock2 = lock.lock(); in test_mutex_arc_nested() localVariable
428 assert_eq!(*lock2, 1); in test_mutex_arc_nested()
/external/libchrome/base/debug/
Dactivity_tracker_unittest.cc176 char lock2; in TEST_F() local
178 ActivityData::ForLock(&lock2)); in TEST_F()
187 EXPECT_EQ(reinterpret_cast<uintptr_t>(&lock2), in TEST_F()
/external/python/cpython3/Lib/test/
Dlock_tests.py288 lock2 = self.locktype()
289 lock2.acquire()
290 lock2._at_fork_reinit()
291 use_lock(lock2)
D_test_multiprocessing.py2048 lock2 = val2.get_lock()
2128 lock2 = arr2.get_lock()
/external/webrtc/test/pc/e2e/analyzer/video/
Ddefault_video_quality_analyzer.cc522 MutexLock lock2(&comparison_lock_); in Stop() local
569 MutexLock lock2(&comparison_lock_); in GetKnownVideoStreams() local
596 MutexLock lock2(&comparison_lock_); in GetStats() local
759 MutexLock lock2(&comparison_lock_); in ReportResults() local
/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/python/cpython2/Lib/test/
Dtest_multiprocessing.py993 lock2 = val2.get_lock()
1080 lock2 = arr2.get_lock()