Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DBitSet.h174 struct BitSet64 { struct
177 inline BitSet64() : value(0ULL) { } in BitSet64() function
178 explicit inline BitSet64(uint64_t value) : value(value) { } in BitSet64() function
274 inline bool operator== (const BitSet64& other) const { return value == other.value; } argument
275 inline bool operator!= (const BitSet64& other) const { return value != other.value; }
276 inline BitSet64 operator& (const BitSet64& other) const {
277 return BitSet64(value & other.value);
279 inline BitSet64& operator&= (const BitSet64& other) {
283 inline BitSet64 operator| (const BitSet64& other) const {
284 return BitSet64(value | other.value);
[all …]
/system/core/libutils/
DBitSet_test.cpp151 BitSet64 b1;
152 BitSet64 b2;
164 BitSet64 tmp = b1 | b2; in TEST_F()
180 BitSet64 tmp = b1 & b2; in TEST_F()
199 BitSet64 tmp = b1 & b2; in TEST_F()