Searched defs:BitSet32 (Results 1 – 1 of 1) sorted by relevance
35 struct BitSet32 { struct38 inline BitSet32() : value(0UL) { } in BitSet32() function39 explicit inline BitSet32(uint32_t value) : value(value) { } in BitSet32() function42 static inline uint32_t valueForBit(uint32_t n) { return 0x80000000UL >> n; } in valueForBit()45 inline void clear() { clear(value); } in clear()47 static inline void clear(uint32_t& value) { value = 0UL; } in clear()50 inline uint32_t count() const { return count(value); } in count()52 static inline uint32_t count(uint32_t value) { in count()57 inline bool isEmpty() const { return isEmpty(value); } in isEmpty()59 static inline bool isEmpty(uint32_t value) { return ! value; } in isEmpty()[all …]