Lines Matching defs:self

181   void Lock(Thread* self) ACQUIRE() {  ExclusiveLock(self); }  in Lock()
185 bool TryLock(Thread* self) TRY_ACQUIRE(true) { return ExclusiveTryLock(self); } in TryLock()
191 void Unlock(Thread* self) RELEASE() { ExclusiveUnlock(self); } in Unlock()
201 void AssertNotHeldExclusive(const Thread* self) ASSERT_CAPABILITY(!*this) { in AssertNotHeldExclusive()
206 void AssertNotHeld(const Thread* self) ASSERT_CAPABILITY(!*this) { in AssertNotHeld()
308 void WriterLock(Thread* self) ACQUIRE() { ExclusiveLock(self); } in WriterLock()
312 void WriterUnlock(Thread* self) RELEASE() { ExclusiveUnlock(self); } in WriterUnlock()
323 void ReaderLock(Thread* self) ACQUIRE_SHARED() { SharedLock(self); } in ReaderLock()
330 void ReaderUnlock(Thread* self) RELEASE_SHARED() { SharedUnlock(self); } in ReaderUnlock()
340 void AssertNotExclusiveHeld(const Thread* self) ASSERT_CAPABILITY(!this) { in AssertNotExclusiveHeld()
345 void AssertNotWriterHeld(const Thread* self) ASSERT_CAPABILITY(!this) { in AssertNotWriterHeld()
353 ALWAYS_INLINE void AssertSharedHeld(const Thread* self) ASSERT_SHARED_CAPABILITY(this) { in AssertSharedHeld()
359 ALWAYS_INLINE void AssertReaderHeld(const Thread* self) ASSERT_SHARED_CAPABILITY(this) { in AssertReaderHeld()
365 ALWAYS_INLINE void AssertNotHeld(const Thread* self) ASSERT_CAPABILITY(!this) { in AssertNotHeld()
458 void CheckSafeToWait(Thread* self) NO_THREAD_SAFETY_ANALYSIS { in CheckSafeToWait()
490 MutexLock(Thread* self, Mutex& mu) ACQUIRE(mu) : self_(self), mu_(mu) { in MutexLock()
522 WriterMutexLock(Thread* self, ReaderWriterMutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : in WriterMutexLock()