Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DBitSet.h172 struct BitSet64 { struct
175 inline BitSet64() : value(0ULL) { } in BitSet64() function
176 explicit inline BitSet64(uint64_t value) : value(value) { } in BitSet64() function
272 inline bool operator== (const BitSet64& other) const { return value == other.value; } argument
273 inline bool operator!= (const BitSet64& other) const { return value != other.value; }
274 inline BitSet64 operator& (const BitSet64& other) const {
275 return BitSet64(value & other.value);
277 inline BitSet64& operator&= (const BitSet64& other) {
281 inline BitSet64 operator| (const BitSet64& other) const {
282 return BitSet64(value | other.value);
[all …]
/system/core/libutils/tests/
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()