/external/libchrome/base/task_scheduler/ |
D | scheduler_lock_unittest.cc | 139 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/ |
D | SynchronizedValue.h | 223 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/ |
D | evthread-internal.h | 314 #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/ |
D | StructuredLockingTarget.java | 32 Object lock2 = new Object(); in nested() local 33 synchronized (lock2) { in nested()
|
/external/llvm-project/libcxxabi/test/ |
D | guard_threaded_test.pass.cpp | 351 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/ |
D | CycleDetectingLockFactoryTest.java | 49 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/ |
D | CycleDetectingLockFactoryTest.java | 49 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/ |
D | fcntl17.c | 75 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/ |
D | CycleDetectingLockTest.java | 228 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/ |
D | fair_mutex.rs | 209 let lock2 = lock.lock(); in test_mutex_arc_nested() localVariable 210 assert_eq!(*lock2, 1); in test_mutex_arc_nested()
|
D | mutex.rs | 243 let lock2 = lock.lock(); in test_mutex_arc_nested() localVariable 244 assert_eq!(*lock2, 1); in test_mutex_arc_nested()
|
D | rwlock.rs | 557 let lock2 = arc.read_recursive(); in test_rwlock_recursive() localVariable 561 drop(lock2); in test_rwlock_recursive()
|
/external/crosvm/cros_async/src/sync/ |
D | spin.rs | 237 let lock2 = nested.lock(); in arc_nested() localVariable 238 assert_eq!(*lock2, 1); in arc_nested()
|
D | mu.rs | 995 let lock2 = block_on(nested.lock()); in arc_nested() localVariable 996 assert_eq!(*lock2, 1); in arc_nested()
|
/external/libchromeos-rs/src/sync/ |
D | spin.rs | 231 let lock2 = nested.lock(); in arc_nested() localVariable 232 assert_eq!(*lock2, 1); in arc_nested()
|
D | mu.rs | 1118 let lock2 = block_on(nested.lock()); in arc_nested() localVariable 1119 assert_eq!(*lock2, 1); in arc_nested()
|
/external/rust/crates/spin/src/mutex/ |
D | ticket.rs | 423 let lock2 = lock.lock(); in test_mutex_arc_nested() localVariable 424 assert_eq!(*lock2, 1); in test_mutex_arc_nested()
|
D | spin.rs | 427 let lock2 = lock.lock(); in test_mutex_arc_nested() localVariable 428 assert_eq!(*lock2, 1); in test_mutex_arc_nested()
|
/external/libchrome/base/debug/ |
D | activity_tracker_unittest.cc | 176 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/ |
D | lock_tests.py | 288 lock2 = self.locktype() 289 lock2.acquire() 290 lock2._at_fork_reinit() 291 use_lock(lock2)
|
D | _test_multiprocessing.py | 2048 lock2 = val2.get_lock() 2128 lock2 = arr2.get_lock()
|
/external/webrtc/test/pc/e2e/analyzer/video/ |
D | default_video_quality_analyzer.cc | 522 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/ |
D | cpuset_memory_testset.sh | 141 cpuset_memory_test --mmap-lock2 >"$MEMORY_RESULT" &
|
/external/dng_sdk/source/ |
D | dng_pthread.cpp | 614 ScopedLock lock2(real_cond.lock); in cond_wait_internal() local
|
/external/python/cpython2/Lib/test/ |
D | test_multiprocessing.py | 993 lock2 = val2.get_lock() 1080 lock2 = arr2.get_lock()
|