Lines Matching refs:Current
32 mu.AssertNotHeld(Thread::Current());
34 mu.AssertHeld(Thread::Current());
42 mu.Lock(Thread::Current());
44 mu.Unlock(Thread::Current());
52 ASSERT_TRUE(mu.TryLock(Thread::Current()));
54 mu.Unlock(Thread::Current());
66 mu.Lock(Thread::Current());
68 mu.Lock(Thread::Current());
70 mu.Unlock(Thread::Current());
72 mu.Unlock(Thread::Current());
84 ASSERT_TRUE(mu.TryLock(Thread::Current()));
86 ASSERT_TRUE(mu.TryLock(Thread::Current()));
88 mu.Unlock(Thread::Current());
90 mu.Unlock(Thread::Current());
106 state->mu.Lock(Thread::Current());
107 state->cv.Signal(Thread::Current());
108 state->mu.Unlock(Thread::Current());
119 state.mu.Lock(Thread::Current());
120 state.mu.Lock(Thread::Current());
126 state.cv.Wait(Thread::Current());
128 state.mu.Unlock(Thread::Current());
129 state.mu.Unlock(Thread::Current());
141 mu.AssertNotHeld(Thread::Current());
142 mu.AssertNotExclusiveHeld(Thread::Current());
143 mu.SharedLock(Thread::Current());
144 mu.AssertSharedHeld(Thread::Current());
145 mu.AssertNotExclusiveHeld(Thread::Current());
146 mu.SharedUnlock(Thread::Current());
147 mu.AssertNotHeld(Thread::Current());
152 mu.AssertNotHeld(Thread::Current());
153 mu.ExclusiveLock(Thread::Current());
154 mu.AssertSharedHeld(Thread::Current());
155 mu.AssertExclusiveHeld(Thread::Current());
156 mu.ExclusiveUnlock(Thread::Current());
157 mu.AssertNotHeld(Thread::Current());
163 mu.AssertNotHeld(Thread::Current());
164 ASSERT_TRUE(mu.SharedTryLock(Thread::Current()));
165 mu.AssertSharedHeld(Thread::Current());
166 mu.SharedUnlock(Thread::Current());
167 mu.AssertNotHeld(Thread::Current());