Lines Matching refs:this
200 ALWAYS_INLINE void AssertExclusiveHeld(const Thread* self) const ASSERT_CAPABILITY(this);
201 ALWAYS_INLINE void AssertHeld(const Thread* self) const ASSERT_CAPABILITY(this);
204 void AssertNotHeldExclusive(const Thread* self) ASSERT_CAPABILITY(!*this) { in AssertNotHeldExclusive()
206 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotHeldExclusive()
209 void AssertNotHeld(const Thread* self) ASSERT_CAPABILITY(!*this) { in AssertNotHeld()
240 const Mutex& operator!() const { return *this; }
355 ALWAYS_INLINE void AssertExclusiveHeld(const Thread* self) const ASSERT_CAPABILITY(this);
356 ALWAYS_INLINE void AssertWriterHeld(const Thread* self) const ASSERT_CAPABILITY(this);
359 void AssertNotExclusiveHeld(const Thread* self) ASSERT_CAPABILITY(!this) { in AssertNotExclusiveHeld()
361 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotExclusiveHeld()
364 void AssertNotWriterHeld(const Thread* self) ASSERT_CAPABILITY(!this) { in AssertNotWriterHeld()
372 ALWAYS_INLINE void AssertSharedHeld(const Thread* self) ASSERT_SHARED_CAPABILITY(this) { in AssertSharedHeld()
375 CHECK(IsSharedHeld(self) || self == nullptr) << *this; in AssertSharedHeld()
378 ALWAYS_INLINE void AssertReaderHeld(const Thread* self) ASSERT_SHARED_CAPABILITY(this) { in AssertReaderHeld()
384 ALWAYS_INLINE void AssertNotHeld(const Thread* self) ASSERT_CAPABILITY(!this) { in AssertNotHeld()
386 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotHeld()
387 CHECK(!IsSharedHeld(self)) << *this; in AssertNotHeld()
399 const ReaderWriterMutex& operator!() const { return *this; }
447 const MutatorMutex& operator!() const { return *this; }