Lines Matching defs:self

209   void Lock(Thread* self) EXCLUSIVE_LOCK_FUNCTION() {  ExclusiveLock(self); }  in Lock()
213 bool TryLock(Thread* self) EXCLUSIVE_TRYLOCK_FUNCTION(true) { return ExclusiveTryLock(self); } in TryLock()
217 void Unlock(Thread* self) UNLOCK_FUNCTION() { ExclusiveUnlock(self); } in Unlock()
223 void AssertExclusiveHeld(const Thread* self) { in AssertExclusiveHeld()
228 void AssertHeld(const Thread* self) { AssertExclusiveHeld(self); } in AssertHeld()
231 void AssertNotHeldExclusive(const Thread* self) { in AssertNotHeldExclusive()
236 void AssertNotHeld(const Thread* self) { AssertNotHeldExclusive(self); } in AssertNotHeld()
293 void WriterLock(Thread* self) EXCLUSIVE_LOCK_FUNCTION() { ExclusiveLock(self); } in WriterLock()
297 void WriterUnlock(Thread* self) UNLOCK_FUNCTION() { ExclusiveUnlock(self); } in WriterUnlock()
308 void ReaderLock(Thread* self) SHARED_LOCK_FUNCTION() { SharedLock(self); } in ReaderLock()
315 void ReaderUnlock(Thread* self) UNLOCK_FUNCTION() { SharedUnlock(self); } in ReaderUnlock()
321 void AssertExclusiveHeld(const Thread* self) { in AssertExclusiveHeld()
326 void AssertWriterHeld(const Thread* self) { AssertExclusiveHeld(self); } in AssertWriterHeld()
329 void AssertNotExclusiveHeld(const Thread* self) { in AssertNotExclusiveHeld()
334 void AssertNotWriterHeld(const Thread* self) { AssertNotExclusiveHeld(self); } in AssertNotWriterHeld()
340 void AssertSharedHeld(const Thread* self) { in AssertSharedHeld()
346 void AssertReaderHeld(const Thread* self) { AssertSharedHeld(self); } in AssertReaderHeld()
350 void AssertNotHeld(const Thread* self) { in AssertNotHeld()
421 explicit MutexLock(Thread* self, Mutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : self_(self), mu_(mu) { in MutexLock()
441 explicit ReaderMutexLock(Thread* self, ReaderWriterMutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : in ReaderMutexLock()
463 explicit WriterMutexLock(Thread* self, ReaderWriterMutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : in WriterMutexLock()