Home
last modified time | relevance | path

Searched refs:lock3 (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/base/task_scheduler/
Dscheduler_lock_unittest.cc149 SchedulerLock lock3(&lock2); in TEST() local
152 lock3.Acquire(); in TEST()
153 lock3.Release(); in TEST()
161 SchedulerLock lock3(&lock2); in TEST() local
163 lock3.Acquire(); in TEST()
164 lock3.Release(); in TEST()
171 SchedulerLock lock3(&lock2); in TEST() local
174 lock3.Acquire(); in TEST()
280 lock3(&lock2), in TEST()
281 lock4(&lock3), in TEST()
[all …]
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DCycleDetectingLockFactoryTest.java50 private ReentrantLock lock3; field in CycleDetectingLockFactoryTest
76 lock3 = factory2.newReentrantLock(MyOrder.THIRD); in setUp()
158 lock3.lock(); in testExplicitOrdering_noViolations()
159 lock3.unlock(); in testExplicitOrdering_noViolations()
161 lock3.lock(); in testExplicitOrdering_noViolations()
165 lock3.lock(); in testExplicitOrdering_violations()
180 lock3.unlock(); in testExplicitOrdering_violations()
192 lock3.lock(); // MyOrder, ordinal() == 3 in testDifferentOrderings_noViolations()
197 lock3.lock(); // MyOrder, ordinal() == 3 in testExplicitOrderings_generalCycleDetection()
200 lock3.unlock(); in testExplicitOrderings_generalCycleDetection()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DCycleDetectingLockFactoryTest.java50 private ReentrantLock lock3; field in CycleDetectingLockFactoryTest
76 lock3 = factory2.newReentrantLock(MyOrder.THIRD); in setUp()
158 lock3.lock(); in testExplicitOrdering_noViolations()
159 lock3.unlock(); in testExplicitOrdering_noViolations()
161 lock3.lock(); in testExplicitOrdering_noViolations()
165 lock3.lock(); in testExplicitOrdering_violations()
180 lock3.unlock(); in testExplicitOrdering_violations()
192 lock3.lock(); // MyOrder, ordinal() == 3 in testDifferentOrderings_noViolations()
197 lock3.lock(); // MyOrder, ordinal() == 3 in testExplicitOrderings_generalCycleDetection()
200 lock3.unlock(); in testExplicitOrderings_generalCycleDetection()
[all …]
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl17.c76 struct flock lock3 = { (short)F_WRLCK, (short)0, 17, 5, (short)0 }; variable
260 if (fcntl(file_fd, F_SETLK, &lock3) < 0) { in do_child3()
571 if (do_test(&lock3, child_pid3)) { in main()
614 do_test(&lock3, child_pid3); in main()
/external/llvm-project/libcxxabi/test/
Dguard_threaded_test.pass.cpp352 int lock3 = 0; in test_futex_syscall() local
365 PlatformFutexWait(&lock3, expect); // doesn't block in test_futex_syscall()
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp2901 void lock3() EXCLUSIVE_LOCK_FUNCTION(mu1_, mu2_, mu3_);
2927 void Foo::lock3() EXCLUSIVE_LOCK_FUNCTION(mu1_, mu2_, mu3_) { in lock3() function in DuplicateAttributeTest::Foo
3003 foo.lock3(); in test3()
3009 foo.lock3(); in test3()
3010 foo.lock3(); // \ in test3()
/external/llvm-project/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp3270 void lock3() EXCLUSIVE_LOCK_FUNCTION(mu1_, mu2_, mu3_);
3296 void Foo::lock3() EXCLUSIVE_LOCK_FUNCTION(mu1_, mu2_, mu3_) { in lock3() function in DuplicateAttributeTest::Foo
3372 foo.lock3(); in test3()
3378 foo.lock3(); // expected-note 3 {{mutex acquired here}} in test3()
3379 foo.lock3(); // \ in test3()
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py998 lock3 = val3.get_lock()
1000 self.assertEqual(lock, lock3)
1085 lock3 = arr3.get_lock()
1087 self.assertEqual(lock, lock3)
/external/python/cpython3/Lib/test/
D_test_multiprocessing.py2053 lock3 = val3.get_lock()
2055 self.assertEqual(lock, lock3)
2133 lock3 = arr3.get_lock()
2135 self.assertEqual(lock, lock3)