Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DBitSet.h35 struct BitSet32 { struct
38 inline BitSet32() : value(0UL) { } in BitSet32() function
39 explicit inline BitSet32(uint32_t value) : value(value) { } in BitSet32() argument
139 inline bool operator== (const BitSet32& other) const { return value == other.value; } argument
140 inline bool operator!= (const BitSet32& other) const { return value != other.value; }
141 inline BitSet32 operator& (const BitSet32& other) const {
142 return BitSet32(value & other.value);
144 inline BitSet32& operator&= (const BitSet32& other) {
148 inline BitSet32 operator| (const BitSet32& other) const {
149 return BitSet32(value | other.value);
[all …]
/system/core/libutils/
DBitSet_fuzz.cpp46 static const std::vector<std::function<void(android::BitSet32, uint32_t)>> thirtyTwoBitOps =
47 getOperationsForType<android::BitSet32>();
51 void runOperationFor32Bit(android::BitSet32 bs, uint32_t bit, uint8_t operation) { in runOperationFor32Bit()
59 android::BitSet32 b1 = android::BitSet32(thirty_two_base); in LLVMFuzzerTestOneInput()
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()