Lines Matching refs:Thread
31 mu.AssertNotHeld(Thread::Current()); in AssertDepth()
33 mu.AssertHeld(Thread::Current()); in AssertDepth()
41 mu.Lock(Thread::Current()); in TEST_F()
43 mu.Unlock(Thread::Current()); in TEST_F()
51 ASSERT_TRUE(mu.TryLock(Thread::Current())); in TryLockUnlockTest()
53 mu.Unlock(Thread::Current()); in TryLockUnlockTest()
65 mu.Lock(Thread::Current()); in RecursiveLockUnlockTest()
67 mu.Lock(Thread::Current()); in RecursiveLockUnlockTest()
69 mu.Unlock(Thread::Current()); in RecursiveLockUnlockTest()
71 mu.Unlock(Thread::Current()); in RecursiveLockUnlockTest()
83 ASSERT_TRUE(mu.TryLock(Thread::Current())); in RecursiveTryLockUnlockTest()
85 ASSERT_TRUE(mu.TryLock(Thread::Current())); in RecursiveTryLockUnlockTest()
87 mu.Unlock(Thread::Current()); in RecursiveTryLockUnlockTest()
89 mu.Unlock(Thread::Current()); in RecursiveTryLockUnlockTest()
105 state->mu.Lock(Thread::Current()); in Callback()
106 state->cv.Signal(Thread::Current()); in Callback()
107 state->mu.Unlock(Thread::Current()); in Callback()
118 state.mu.Lock(Thread::Current()); in RecursiveLockWaitTest()
119 state.mu.Lock(Thread::Current()); in RecursiveLockWaitTest()
125 state.cv.Wait(Thread::Current()); in RecursiveLockWaitTest()
127 state.mu.Unlock(Thread::Current()); in RecursiveLockWaitTest()
128 state.mu.Unlock(Thread::Current()); in RecursiveLockWaitTest()
140 mu.AssertNotHeld(Thread::Current()); in TEST_F()
141 mu.AssertNotExclusiveHeld(Thread::Current()); in TEST_F()
142 mu.SharedLock(Thread::Current()); in TEST_F()
143 mu.AssertSharedHeld(Thread::Current()); in TEST_F()
144 mu.AssertNotExclusiveHeld(Thread::Current()); in TEST_F()
145 mu.SharedUnlock(Thread::Current()); in TEST_F()
146 mu.AssertNotHeld(Thread::Current()); in TEST_F()
151 mu.AssertNotHeld(Thread::Current()); in TEST_F()
152 mu.ExclusiveLock(Thread::Current()); in TEST_F()
153 mu.AssertSharedHeld(Thread::Current()); in TEST_F()
154 mu.AssertExclusiveHeld(Thread::Current()); in TEST_F()
155 mu.ExclusiveUnlock(Thread::Current()); in TEST_F()
156 mu.AssertNotHeld(Thread::Current()); in TEST_F()
162 mu.AssertNotHeld(Thread::Current()); in SharedTryLockUnlockTest()
163 ASSERT_TRUE(mu.SharedTryLock(Thread::Current())); in SharedTryLockUnlockTest()
164 mu.AssertSharedHeld(Thread::Current()); in SharedTryLockUnlockTest()
165 mu.SharedUnlock(Thread::Current()); in SharedTryLockUnlockTest()
166 mu.AssertNotHeld(Thread::Current()); in SharedTryLockUnlockTest()