Searched refs:hasBit (Results 1 – 3 of 3) sorted by relevance
44 EXPECT_TRUE(tmp.hasBit(2) && tmp.hasBit(4)); in TEST_F()50 EXPECT_TRUE(b1.hasBit(2) && b1.hasBit(4)); in TEST_F()51 EXPECT_TRUE(b2.hasBit(4) && b2.count() == 1u); in TEST_F()66 EXPECT_TRUE(b1.hasBit(2) && b1.hasBit(4) && b1.hasBit(6)); in TEST_F()79 EXPECT_TRUE(tmp.hasBit(6)); in TEST_F()86 EXPECT_TRUE(b2.hasBit(3) && b2.hasBit(6) && b2.hasBit(9)); in TEST_F()94 EXPECT_TRUE(b1.hasBit(0) && b1.hasBit(1)); in TEST_F()98 EXPECT_TRUE(b1.hasBit(0) && b1.hasBit(1) && b1.hasBit(2)); in TEST_F()107 EXPECT_TRUE(b1.hasBit(10)); in TEST_F()112 EXPECT_TRUE(b1.hasBit(30)); in TEST_F()[all …]
30 [](T bs, uint32_t val) -> void { bs.hasBit(val); }, in getOperationsForType()
67 inline bool hasBit(uint32_t n) const { return hasBit(value, n); } in hasBit() function69 static inline bool hasBit(uint32_t value, uint32_t n) { return value & valueForBit(n); } in hasBit() function211 inline bool hasBit(uint32_t n) const { return hasBit(value, n); } in hasBit() function213 static inline bool hasBit(uint64_t value, uint32_t n) { return value & valueForBit(n); } in hasBit() function