Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DBitSet.h30 struct BitSet32 { struct
33 inline BitSet32() : value(0UL) { } in BitSet32() function
34 explicit inline BitSet32(uint32_t value) : value(value) { } in BitSet32() function
132 inline bool operator== (const BitSet32& other) const { return value == other.value; } argument
133 inline bool operator!= (const BitSet32& other) const { return value != other.value; }
134 inline BitSet32 operator& (const BitSet32& other) const {
135 return BitSet32(value & other.value);
137 inline BitSet32& operator&= (const BitSet32& other) {
141 inline BitSet32 operator| (const BitSet32& other) const {
142 return BitSet32(value | other.value);
[all …]
/system/core/libutils/tests/
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()