Searched refs:getIndexOfBit (Results 1 – 2 of 2) 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()
|
/system/core/libutils/include/utils/ |
D | BitSet.h | 126 inline uint32_t getIndexOfBit(uint32_t n) const { in getIndexOfBit() function 127 return getIndexOfBit(value, n); in getIndexOfBit() 130 static inline uint32_t getIndexOfBit(uint32_t value, uint32_t n) { in getIndexOfBit() function 268 inline uint32_t getIndexOfBit(uint32_t n) const { return getIndexOfBit(value, n); } in getIndexOfBit() function 270 static inline uint32_t getIndexOfBit(uint64_t value, uint32_t n) { in getIndexOfBit() function
|