Home
last modified time | relevance | path

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

/external/libchrome/base/task_scheduler/
Dscheduler_lock_unittest.cc138 SchedulerLock lock1; in TEST() local
141 lock1.Acquire(); in TEST()
147 SchedulerLock lock1; in TEST() local
148 SchedulerLock lock2(&lock1); in TEST()
150 lock1.Acquire(); in TEST()
155 lock1.Release(); in TEST()
159 SchedulerLock lock1; in TEST() local
160 SchedulerLock lock2(&lock1); in TEST()
169 SchedulerLock lock1; in TEST() local
170 SchedulerLock lock2(&lock1); in TEST()
[all …]
/external/jacoco/org.jacoco.core.test.validation.java5/src/org/jacoco/core/test/validation/java5/targets/
DStructuredLockingTarget.java22 Object lock1 = new Object(); in simple() local
23 synchronized (lock1) { in simple()
29 Object lock1 = new Object(); in nested() local
30 synchronized (lock1) { in nested()
/external/angle/src/common/
DSynchronizedValue.h222 std::unique_lock<Lockable> lock1(mMutex, std::defer_lock);
224 std::lock(lock1, lock2);
234 std::unique_lock<Lockable> lock1(mMutex, std::defer_lock);
236 std::lock(lock1, lock2);
274 std::unique_lock<Lockable> lock1(mMutex, std::defer_lock);
276 std::lock(lock1, lock2);
401 std::unique_lock<Lockable> lock1(mMutex, std::defer_lock);
403 std::lock(lock1, lock2);
409 std::unique_lock<Lockable> lock1(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
352 void *lock1_tmplock_ = (lock1); \
360 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument
362 void *lock1_tmplock_ = (lock1); \
/external/llvm-project/libcxxabi/test/
Dguard_threaded_test.pass.cpp350 int lock1 = 0; in test_futex_syscall() local
355 PlatformFutexWait(&lock1, expect); in test_futex_syscall()
356 assert(lock1 == 1); in test_futex_syscall()
368 lock1 = 1; in test_futex_syscall()
369 PlatformFutexWake(&lock1); in test_futex_syscall()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DCycleDetectingLockFactoryTest.java48 private ReentrantLock lock1; field in CycleDetectingLockFactoryTest
74 lock1 = factory2.newReentrantLock(MyOrder.FIRST); in setUp()
157 lock1.lock(); in testExplicitOrdering_noViolations()
174 lock1.lock(); in testExplicitOrdering_violations()
184 lock1.lock(); in testExplicitOrdering_violations()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DCycleDetectingLockFactoryTest.java48 private ReentrantLock lock1; field in CycleDetectingLockFactoryTest
74 lock1 = factory2.newReentrantLock(MyOrder.FIRST); in setUp()
157 lock1.lock(); in testExplicitOrdering_noViolations()
174 lock1.lock(); in testExplicitOrdering_violations()
184 lock1.lock(); in testExplicitOrdering_violations()
/external/guice/core/test/com/google/inject/internal/
DCycleDetectingLockTest.java227 final CycleDetectingLock<T> lock1, in grabLocksInThread() argument
235 assertTrue(lock1.lockOrDetectPotentialLocksCycle().isEmpty()); in grabLocksInThread()
241 lock1.unlock(); in grabLocksInThread()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl17.c74 struct flock lock1 = { (short)F_WRLCK, (short)0, 2, 5, (short)0 }; variable
190 if (fcntl(file_fd, F_SETLK, &lock1) < 0) { in do_child1()
543 if (do_test(&lock1, child_pid1)) { in main()
/external/webrtc/test/pc/e2e/analyzer/video/
Ddefault_video_quality_analyzer.cc239 MutexLock lock1(&comparison_lock_); in OnFrameCaptured() local
446 MutexLock lock1(&comparison_lock_); in OnFrameRendered() local
521 MutexLock lock1(&lock_); in Stop() local
552 MutexLock lock1(&lock_); in GetStreamLabel() local
568 MutexLock lock1(&lock_); in GetKnownVideoStreams() local
595 MutexLock lock1(&lock_); in GetStats() local
758 MutexLock lock1(&lock_); in ReportResults() local
/external/rust/crates/parking_lot/src/
Drwlock.rs542 let lock1 = arc.read(); in test_rwlock_recursive() localVariable
560 drop(lock1); in test_rwlock_recursive()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_testset.sh124 cpuset_memory_test --mmap-lock1 >"$MEMORY_RESULT" &
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp2899 void lock1() EXCLUSIVE_LOCK_FUNCTION(mu1_);
2919 void Foo::lock1() EXCLUSIVE_LOCK_FUNCTION(mu1_) { in lock1() function in DuplicateAttributeTest::Foo
2974 foo.lock1(); in test1()
2978 foo.lock1(); in test1()
2979 foo.lock1(); // expected-warning {{acquiring mutex 'foo.mu1_' that is already held}} in test1()
/external/llvm-project/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp3268 void lock1() EXCLUSIVE_LOCK_FUNCTION(mu1_);
3288 void Foo::lock1() EXCLUSIVE_LOCK_FUNCTION(mu1_) { in lock1() function in DuplicateAttributeTest::Foo
3343 foo.lock1(); in test1()
3347 foo.lock1(); // expected-note{{mutex acquired here}} in test1()
3348 foo.lock1(); // expected-warning {{acquiring mutex 'foo.mu1_' that is already held}} in test1()
/external/dng_sdk/source/
Ddng_pthread.cpp585 ScopedLock lock1(real_cond.lock); in cond_wait_internal() local
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py989 lock1 = val1.get_lock()
1076 lock1 = arr1.get_lock()
/external/tensorflow/tensorflow/compiler/xla/python/
Djax_jit.cc1115 absl::MutexLock lock1(&mu_); in Call() local
/external/python/cpython3/Lib/test/
D_test_multiprocessing.py2044 lock1 = val1.get_lock()
2124 lock1 = arr1.get_lock()