Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DBitSet.h32 struct BitSet32 { struct
35 inline BitSet32() : value(0UL) { } in BitSet32() argument
36 explicit inline BitSet32(uint32_t value) : value(value) { } in BitSet32() argument
134 inline bool operator== (const BitSet32& other) const { return value == other.value; } argument
135 inline bool operator!= (const BitSet32& other) const { return value != other.value; }
136 inline BitSet32 operator& (const BitSet32& other) const {
137 return BitSet32(value & other.value);
139 inline BitSet32& operator&= (const BitSet32& other) {
143 inline BitSet32 operator| (const BitSet32& other) const {
144 return BitSet32(value | other.value);
[all …]
/system/core/libutils/
DBitSet_test.cpp29 BitSet32 b1;
30 BitSet32 b2;
42 BitSet32 tmp = b1 | b2; in TEST_F()
58 BitSet32 tmp = b1 & b2; in TEST_F()
77 BitSet32 tmp = b1 & b2; in TEST_F()