• Home
  • Raw
  • Download

Lines Matching refs:Thread

32       mu.AssertNotHeld(Thread::Current());  in AssertDepth()
34 mu.AssertHeld(Thread::Current()); in AssertDepth()
42 mu.Lock(Thread::Current()); in TEST_F()
44 mu.Unlock(Thread::Current()); in TEST_F()
52 ASSERT_TRUE(mu.TryLock(Thread::Current())); in TryLockUnlockTest()
54 mu.Unlock(Thread::Current()); in TryLockUnlockTest()
66 mu.Lock(Thread::Current()); in RecursiveLockUnlockTest()
68 mu.Lock(Thread::Current()); in RecursiveLockUnlockTest()
70 mu.Unlock(Thread::Current()); in RecursiveLockUnlockTest()
72 mu.Unlock(Thread::Current()); in RecursiveLockUnlockTest()
84 ASSERT_TRUE(mu.TryLock(Thread::Current())); in RecursiveTryLockUnlockTest()
86 ASSERT_TRUE(mu.TryLock(Thread::Current())); in RecursiveTryLockUnlockTest()
88 mu.Unlock(Thread::Current()); in RecursiveTryLockUnlockTest()
90 mu.Unlock(Thread::Current()); in RecursiveTryLockUnlockTest()
110 state->mu.Lock(Thread::Current()); in RecursiveLockWaitCallback()
111 state->cv.Signal(Thread::Current()); in RecursiveLockWaitCallback()
112 state->mu.Unlock(Thread::Current()); in RecursiveLockWaitCallback()
119 state.mu.Lock(Thread::Current()); in RecursiveLockWaitTest()
120 state.mu.Lock(Thread::Current()); in RecursiveLockWaitTest()
126 state.cv.Wait(Thread::Current()); in RecursiveLockWaitTest()
128 state.mu.Unlock(Thread::Current()); in RecursiveLockWaitTest()
129 state.mu.Unlock(Thread::Current()); in RecursiveLockWaitTest()
141 mu.AssertNotHeld(Thread::Current()); in TEST_F()
142 mu.AssertNotExclusiveHeld(Thread::Current()); in TEST_F()
143 mu.SharedLock(Thread::Current()); in TEST_F()
144 mu.AssertSharedHeld(Thread::Current()); in TEST_F()
145 mu.AssertNotExclusiveHeld(Thread::Current()); in TEST_F()
146 mu.SharedUnlock(Thread::Current()); in TEST_F()
147 mu.AssertNotHeld(Thread::Current()); in TEST_F()
152 mu.AssertNotHeld(Thread::Current()); in TEST_F()
153 mu.ExclusiveLock(Thread::Current()); in TEST_F()
154 mu.AssertSharedHeld(Thread::Current()); in TEST_F()
155 mu.AssertExclusiveHeld(Thread::Current()); in TEST_F()
156 mu.ExclusiveUnlock(Thread::Current()); in TEST_F()
157 mu.AssertNotHeld(Thread::Current()); in TEST_F()
163 mu.AssertNotHeld(Thread::Current()); in SharedTryLockUnlockTest()
164 ASSERT_TRUE(mu.SharedTryLock(Thread::Current())); in SharedTryLockUnlockTest()
165 mu.AssertSharedHeld(Thread::Current()); in SharedTryLockUnlockTest()
166 mu.SharedUnlock(Thread::Current()); in SharedTryLockUnlockTest()
167 mu.AssertNotHeld(Thread::Current()); in SharedTryLockUnlockTest()