Searched refs:BitMask (Results 1 – 2 of 2) sorted by relevance
46 constexpr uint32_t BitMask(uint32_t size) { return (1u << size) - 1; } in BitMask() function52 constexpr uint32_t BitMask() { in BitMask() function53 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>();
150 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