Home
last modified time | relevance | path

Searched defs:BitSet64 (Results 1 – 1 of 1) sorted by relevance

/system/core/libutils/include/utils/
DBitSet.h179 struct BitSet64 { struct
182 inline BitSet64() : value(0ULL) { } in BitSet64() argument
183 explicit inline BitSet64(uint64_t value) : value(value) { } in BitSet64() function
186 static inline uint64_t valueForBit(uint32_t n) { return 0x8000000000000000ULL >> n; } in valueForBit()
189 inline void clear() { clear(value); } in clear()
191 static inline void clear(uint64_t& value) { value = 0ULL; } in clear()
194 inline uint32_t count() const { return count(value); } in count()
196 static inline uint32_t count(uint64_t value) { in count()
201 inline bool isEmpty() const { return isEmpty(value); } in isEmpty()
203 static inline bool isEmpty(uint64_t value) { return ! value; } in isEmpty()
[all …]