Searched refs:valueForBit (Results 1 – 1 of 1) sorted by relevance
37 static inline uint32_t valueForBit(uint32_t n) { return 0x80000000UL >> n; } in valueForBit() function62 static inline bool hasBit(uint32_t value, uint32_t n) { return value & valueForBit(n); } in hasBit()67 static inline void markBit (uint32_t& value, uint32_t n) { value |= valueForBit(n); } in markBit()72 static inline void clearBit(uint32_t& value, uint32_t n) { value &= ~ valueForBit(n); } in clearBit()179 static inline uint64_t valueForBit(uint32_t n) { return 0x8000000000000000ULL >> n; } in valueForBit() function204 static inline bool hasBit(uint64_t value, uint32_t n) { return value & valueForBit(n); } in hasBit()209 static inline void markBit(uint64_t& value, uint32_t n) { value |= valueForBit(n); } in markBit()214 static inline void clearBit(uint64_t& value, uint32_t n) { value &= ~ valueForBit(n); } in clearBit()