Home
last modified time | relevance | path

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

/art/libartbase/base/
Dhiddenapi_flags.h46 constexpr uint32_t BitMask(uint32_t size) { return (1u << size) - 1; } in BitMask() function
52 constexpr uint32_t BitMask() { in BitMask() function
53 return BitMask(ToUint(T::kMax) + 1) & (~BitMask(ToUint(T::kMin))); in BitMask()
85 static constexpr uint32_t kValueBitMask = helper::BitMask(kValueBitSize);
120 static constexpr uint32_t kDomainApiBitMask = helper::BitMask<DomainApi>();
Dbit_vector.h150 storage_[WordIndex(idx)] |= BitMask(idx); in SetBit()
158 storage_[WordIndex(idx)] &= ~BitMask(idx); in ClearBit()
257 return (storage[WordIndex(idx)] & BitMask(idx)) != 0; in IsBitSet()
296 static constexpr uint32_t BitMask(uint32_t idx) { in BitMask() function