Home
last modified time | relevance | path

Searched refs:kPayloadMask (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/common/
DRefCounted.cpp22 static constexpr uint64_t kPayloadMask = (uint64_t(1) << kPayloadBits) - 1; variable
26 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()
/third_party/node/deps/v8/src/base/
Dpointer-with-payload.h81 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;