Home
last modified time | relevance | path

Searched refs:kTagMask (Results 1 – 5 of 5) sorted by relevance

/third_party/node/deps/v8/src/zone/
Dzone-handle-set.h27 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 …]
/third_party/gn/src/gn/
Dtagged_pointer.h24 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()
/third_party/skia/src/utils/
DSkJSON.h135 inline static constexpr uint8_t kTagMask = 0b00000111; variable
141 return static_cast<Tag>(fData8[0] & kTagMask); in getTag()
198 : reinterpret_cast<T*>(*this->cast<uintptr_t>() & ~static_cast<uintptr_t>(kTagMask)); in ptr()
DSkJSON.cpp40 SkASSERT(!(fData8[0] & kTagMask)); in init_tagged_pointer()
/third_party/node/deps/v8/src/codegen/
Dreloc-info.cc66 const int kTagMask = (1 << kTagBits) - 1; variable
171 inline int RelocIterator::AdvanceGetTag() { return *--pos_ & kTagMask; } in AdvanceGetTag()