Lines Matching refs:this
269 ALWAYS_INLINE void AssertExclusiveHeld(const Thread* self) const ASSERT_CAPABILITY(this);
270 ALWAYS_INLINE void AssertHeld(const Thread* self) const ASSERT_CAPABILITY(this);
273 void AssertNotHeldExclusive(const Thread* self) ASSERT_CAPABILITY(!*this) { in AssertNotHeldExclusive()
275 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotHeldExclusive()
278 void AssertNotHeld(const Thread* self) ASSERT_CAPABILITY(!*this) { in AssertNotHeld()
294 const Mutex& operator!() const { return *this; }
370 ALWAYS_INLINE void AssertExclusiveHeld(const Thread* self) const ASSERT_CAPABILITY(this);
371 ALWAYS_INLINE void AssertWriterHeld(const Thread* self) const ASSERT_CAPABILITY(this);
374 void AssertNotExclusiveHeld(const Thread* self) ASSERT_CAPABILITY(!this) { in AssertNotExclusiveHeld()
376 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotExclusiveHeld()
379 void AssertNotWriterHeld(const Thread* self) ASSERT_CAPABILITY(!this) { in AssertNotWriterHeld()
387 ALWAYS_INLINE void AssertSharedHeld(const Thread* self) ASSERT_SHARED_CAPABILITY(this) { in AssertSharedHeld()
390 CHECK(IsSharedHeld(self) || self == nullptr) << *this; in AssertSharedHeld()
393 ALWAYS_INLINE void AssertReaderHeld(const Thread* self) ASSERT_SHARED_CAPABILITY(this) { in AssertReaderHeld()
399 ALWAYS_INLINE void AssertNotHeld(const Thread* self) ASSERT_SHARED_CAPABILITY(!this) { in AssertNotHeld()
401 CHECK(!IsSharedHeld(self)) << *this; in AssertNotHeld()
413 const ReaderWriterMutex& operator!() const { return *this; }
460 const MutatorMutex& operator!() const { return *this; }
569 const Role& operator!() const { return *this; }