• Home
  • Raw
  • Download

Lines Matching refs:b2

30     BitSet32 b2;  member in android::BitSet32Test
33 b2.clear(); in TearDown()
40 b2.markBit(4); in TEST_F()
42 BitSet32 tmp = b1 | b2; in TEST_F()
46 EXPECT_TRUE((b2 | b1) == (b1 | b2)); in TEST_F()
48 b1 |= b2; in TEST_F()
51 EXPECT_TRUE(b2.hasBit(4) && b2.count() == 1u); in TEST_F()
58 BitSet32 tmp = b1 & b2; in TEST_F()
61 EXPECT_TRUE((b2 & b1) == (b1 & b2)); in TEST_F()
63 b2 &= b1; in TEST_F()
64 EXPECT_TRUE(b2.isEmpty()); in TEST_F()
73 b2.markBit(3); in TEST_F()
74 b2.markBit(6); in TEST_F()
75 b2.markBit(9); in TEST_F()
77 BitSet32 tmp = b1 & b2; in TEST_F()
81 EXPECT_TRUE((b2 & b1) == (b1 & b2)); in TEST_F()
83 b1 &= b2; in TEST_F()
85 EXPECT_EQ(b2.count(), 3u); in TEST_F()
86 EXPECT_TRUE(b2.hasBit(3) && b2.hasBit(6) && b2.hasBit(9)); in TEST_F()
152 BitSet64 b2; member in android::BitSet64Test
155 b2.clear(); in TearDown()
162 b2.markBit(40); in TEST_F()
164 BitSet64 tmp = b1 | b2; in TEST_F()
168 EXPECT_TRUE((b2 | b1) == (b1 | b2)); in TEST_F()
170 b1 |= b2; in TEST_F()
173 EXPECT_TRUE(b2.hasBit(40) && b2.count() == 1u); in TEST_F()
180 BitSet64 tmp = b1 & b2; in TEST_F()
183 EXPECT_TRUE((b2 & b1) == (b1 & b2)); in TEST_F()
185 b2 &= b1; in TEST_F()
186 EXPECT_TRUE(b2.isEmpty()); in TEST_F()
195 b2.markBit(30); in TEST_F()
196 b2.markBit(60); in TEST_F()
197 b2.markBit(63); in TEST_F()
199 BitSet64 tmp = b1 & b2; in TEST_F()
203 EXPECT_TRUE((b2 & b1) == (b1 & b2)); in TEST_F()
205 b1 &= b2; in TEST_F()
207 EXPECT_EQ(b2.count(), 3u); in TEST_F()
208 EXPECT_TRUE(b2.hasBit(30) && b2.hasBit(60) && b2.hasBit(63)); in TEST_F()