Searched refs:bitAsInt (Results 1 – 1 of 1) sorted by relevance
336 const uint32_t bitAsInt = static_cast<uint32_t>(bit); in hasBit() local337 CHECK(bitAsInt && (bitAsInt & (bitAsInt - 1)) == 0) in hasBit()339 return static_cast<uint32_t>(mask) & bitAsInt; in hasBit()343 const uint32_t bitAsInt = static_cast<uint32_t>(bit); in clearBit() local344 CHECK(bitAsInt && (bitAsInt & (bitAsInt - 1)) == 0) in clearBit()346 return static_cast<Success>(static_cast<uint32_t>(mask) & ~bitAsInt); in clearBit()