Searched refs:kTagMask (Results 1 – 5 of 5) sorted by relevance
27 if ((data_ & kTagMask) == kEmptyTag) return 0; in size()28 if ((data_ & kTagMask) == kSingletonTag) return 1; in size()33 DCHECK_NE(kEmptyTag, data_ & kTagMask); in at()34 if ((data_ & kTagMask) == kSingletonTag) { in at()46 if ((data_ & kTagMask) == kEmptyTag) { in insert()48 } else if ((data_ & kTagMask) == kSingletonTag) { in insert()61 DCHECK_EQ(kListTag, data_ & kTagMask); in insert()88 if ((data_ & kTagMask) == kSingletonTag) return false; in contains()89 DCHECK_EQ(kListTag, data_ & kTagMask); in contains()91 if ((other.data_ & kTagMask) == kSingletonTag) { in contains()[all …]
24 T* ptr() const { return reinterpret_cast<T*>(value_ & ~kTagMask); } in ptr()25 unsigned tag() const { return static_cast<unsigned>(value_ & kTagMask); } in tag()29 value_ = reinterpret_cast<uintptr_t>(ptr) | (value_ & kTagMask); in set_ptr()34 value_ = (value_ & ~kTagMask) | tag; in set_tag()44 static const uintptr_t kTagMask = (uintptr_t(1) << BITS) - 1u;47 DCHECK((reinterpret_cast<uintptr_t>(ptr) & kTagMask) == 0) in CheckPointerValue()51 DCHECK(tag <= kTagMask) in CheckTagValue()
135 inline static constexpr uint8_t kTagMask = 0b00000111; variable141 return static_cast<Tag>(fData8[0] & kTagMask); in getTag()198 : reinterpret_cast<T*>(*this->cast<uintptr_t>() & ~static_cast<uintptr_t>(kTagMask)); in ptr()
40 SkASSERT(!(fData8[0] & kTagMask)); in init_tagged_pointer()
66 const int kTagMask = (1 << kTagBits) - 1; variable171 inline int RelocIterator::AdvanceGetTag() { return *--pos_ & kTagMask; } in AdvanceGetTag()