Searched refs:valueForBit (Results 1 – 2 of 2) sorted by relevance
42 static inline uint32_t valueForBit(uint32_t n) { return 0x80000000UL >> n; } in valueForBit() function69 static inline bool hasBit(uint32_t value, uint32_t n) { return value & valueForBit(n); } in hasBit()74 static inline void markBit (uint32_t& value, uint32_t n) { value |= valueForBit(n); } in markBit()79 static inline void clearBit(uint32_t& value, uint32_t n) { value &= ~ valueForBit(n); } in clearBit()186 static inline uint64_t valueForBit(uint32_t n) { return 0x8000000000000000ULL >> n; } in valueForBit() function213 static inline bool hasBit(uint64_t value, uint32_t n) { return value & valueForBit(n); } in hasBit()218 static inline void markBit(uint64_t& value, uint32_t n) { value |= valueForBit(n); } in markBit()223 static inline void clearBit(uint64_t& value, uint32_t n) { value &= ~ valueForBit(n); } in clearBit()
29 [](T bs, uint32_t val) -> void { bs.valueForBit(val); }, in getOperationsForType()