Lines Matching refs:lock
26 explicit BasicLockTestThread(SchedulerLock* lock) in BasicLockTestThread() argument
28 lock_(lock), in BasicLockTestThread()
56 explicit BasicLockAcquireAndWaitThread(SchedulerLock* lock) in BasicLockAcquireAndWaitThread() argument
58 lock_(lock), in BasicLockAcquireAndWaitThread()
89 SchedulerLock lock; in TEST() local
90 BasicLockTestThread thread(&lock); in TEST()
96 lock.Acquire(); in TEST()
98 lock.Release(); in TEST()
101 lock.Acquire(); in TEST()
104 lock.Release(); in TEST()
107 lock.Acquire(); in TEST()
110 lock.Release(); in TEST()
121 SchedulerLock lock(&predecessor); in TEST() local
123 lock.Acquire(); in TEST()
124 lock.Release(); in TEST()
130 SchedulerLock lock(&predecessor); in TEST() local
132 lock.Acquire(); in TEST()
200 SchedulerLock lock(&predecessor); in TEST() local
202 BasicLockAcquireAndWaitThread thread(&lock); in TEST()
219 SchedulerLock lock(&predecessor); in TEST() local
220 lock.Acquire(); in TEST()
224 lock.Release(); in TEST()
241 SchedulerLock lock(&predecessor); in TEST() local
247 lock.Acquire(); in TEST()
250 lock.Release(); in TEST()
256 SelfReferentialLock() : lock(&lock) {} in TEST()
258 SchedulerLock lock; in TEST() member
261 EXPECT_DCHECK_DEATH({ SelfReferentialLock lock; }, ""); in TEST()