Home
last modified time | relevance | path

Searched refs:lock3 (Results 1 – 6 of 6) 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/guava-tests/test/com/google/common/util/concurrent/
DCycleDetectingLockFactoryTest.java52 private ReentrantLock lock3; field in CycleDetectingLockFactoryTest
82 lock3 = factory2.newReentrantLock(MyOrder.THIRD); in setUp()
164 lock3.lock(); in testExplicitOrdering_noViolations()
165 lock3.unlock(); in testExplicitOrdering_noViolations()
167 lock3.lock(); in testExplicitOrdering_noViolations()
171 lock3.lock(); in testExplicitOrdering_violations()
186 lock3.unlock(); in testExplicitOrdering_violations()
198 lock3.lock(); // MyOrder, ordinal() == 3 in testDifferentOrderings_noViolations()
203 lock3.lock(); // MyOrder, ordinal() == 3 in testExplicitOrderings_generalCycleDetection()
206 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/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/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.py1949 lock3 = val3.get_lock()
1951 self.assertEqual(lock, lock3)
2029 lock3 = arr3.get_lock()
2031 self.assertEqual(lock, lock3)