Searched refs:getIndexOfBit (Results 1 – 3 of 3) sorted by relevance
/system/core/libutils/ |
D | BitSet_test.cpp | 142 EXPECT_EQ(0U, b1.getIndexOfBit(1)); in TEST_F() 143 EXPECT_EQ(1U, b1.getIndexOfBit(4)); in TEST_F() 145 EXPECT_EQ(1U, b1.getIndexOfBit(1)); in TEST_F() 146 EXPECT_EQ(2U, b1.getIndexOfBit(4)); in TEST_F() 264 EXPECT_EQ(0U, b1.getIndexOfBit(10)); in TEST_F() 265 EXPECT_EQ(1U, b1.getIndexOfBit(40)); in TEST_F() 267 EXPECT_EQ(1U, b1.getIndexOfBit(10)); in TEST_F() 268 EXPECT_EQ(2U, b1.getIndexOfBit(40)); in TEST_F()
|
D | BitSet_fuzz.cpp | 32 [](T bs, uint32_t val) -> void { bs.getIndexOfBit(val); }, in getOperationsForType()
|
/system/core/libutils/include/utils/ |
D | BitSet.h | 131 inline uint32_t getIndexOfBit(uint32_t n) const { in getIndexOfBit() function 132 return getIndexOfBit(value, n); in getIndexOfBit() 135 static inline uint32_t getIndexOfBit(uint32_t value, uint32_t n) { in getIndexOfBit() function 281 inline uint32_t getIndexOfBit(uint32_t n) const { return getIndexOfBit(value, n); } in getIndexOfBit() function 283 static inline uint32_t getIndexOfBit(uint64_t value, uint32_t n) { in getIndexOfBit() function
|