Lines Matching refs:this
185 ALWAYS_INLINE void AssertExclusiveHeld(const Thread* self) const ASSERT_CAPABILITY(this);
186 ALWAYS_INLINE void AssertHeld(const Thread* self) const ASSERT_CAPABILITY(this);
189 void AssertNotHeldExclusive(const Thread* self) ASSERT_CAPABILITY(!*this) { in AssertNotHeldExclusive()
191 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotHeldExclusive()
194 void AssertNotHeld(const Thread* self) ASSERT_CAPABILITY(!*this) { in AssertNotHeld()
211 const Mutex& operator!() const { return *this; }
310 ALWAYS_INLINE void AssertExclusiveHeld(const Thread* self) const ASSERT_CAPABILITY(this);
311 ALWAYS_INLINE void AssertWriterHeld(const Thread* self) const ASSERT_CAPABILITY(this);
314 void AssertNotExclusiveHeld(const Thread* self) ASSERT_CAPABILITY(!this) { in AssertNotExclusiveHeld()
316 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotExclusiveHeld()
319 void AssertNotWriterHeld(const Thread* self) ASSERT_CAPABILITY(!this) { in AssertNotWriterHeld()
327 ALWAYS_INLINE void AssertSharedHeld(const Thread* self) ASSERT_SHARED_CAPABILITY(this) { in AssertSharedHeld()
330 CHECK(IsSharedHeld(self) || self == nullptr) << *this; in AssertSharedHeld()
333 ALWAYS_INLINE void AssertReaderHeld(const Thread* self) ASSERT_SHARED_CAPABILITY(this) { in AssertReaderHeld()
339 ALWAYS_INLINE void AssertNotHeld(const Thread* self) ASSERT_SHARED_CAPABILITY(!this) { in AssertNotHeld()
341 CHECK(!IsSharedHeld(self)) << *this; in AssertNotHeld()
353 const ReaderWriterMutex& operator!() const { return *this; }
400 const MutatorMutex& operator!() const { return *this; }