Searched refs:kPayloadMask (Results 1 – 2 of 2) sorted by relevance
22 static constexpr uint64_t kPayloadMask = (uint64_t(1) << kPayloadBits) - 1; variable26 ASSERT((payload & kPayloadMask) == payload); in RefCounted()38 return kPayloadMask & mRefCount.load(std::memory_order_relaxed); in GetRefCountPayload()42 ASSERT((mRefCount & ~kPayloadMask) != 0); in Reference()53 ASSERT((mRefCount & ~kPayloadMask) != 0); in Release()
81 DCHECK_EQ(reinterpret_cast<uintptr_t>(newptr) & kPayloadMask, 0);83 (pointer_with_payload_ & kPayloadMask);88 return static_cast<PayloadType>(pointer_with_payload_ & kPayloadMask);93 DCHECK_EQ(new_payload_ptr & kPayloadMask, new_payload_ptr);108 static constexpr uintptr_t kPayloadMask =110 static constexpr uintptr_t kPointerMask = ~kPayloadMask;