Lines Matching refs:first
146 BitVector first(2, true, Allocator::GetMallocAllocator()); in TEST() local
152 bool changed = first.UnionIfNotIn(&second, &third); in TEST()
153 EXPECT_EQ(0u, first.NumSetBits()); in TEST()
158 BitVector first(2, true, Allocator::GetMallocAllocator()); in TEST() local
163 bool changed = first.UnionIfNotIn(&second, &third); in TEST()
164 EXPECT_EQ(1u, first.NumSetBits()); in TEST()
166 EXPECT_TRUE(first.IsBitSet(64)); in TEST()
172 BitVector first(2, true, Allocator::GetMallocAllocator()); in TEST() local
175 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
177 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
181 BitVector first(5, true, Allocator::GetMallocAllocator()); in TEST() local
184 first.SetBit(5); in TEST()
185 EXPECT_FALSE(first.IsSubsetOf(&second)); in TEST()
187 EXPECT_FALSE(first.IsSubsetOf(&second)); in TEST()
191 BitVector first(5, true, Allocator::GetMallocAllocator()); in TEST() local
194 first.SetBit(16); in TEST()
195 first.SetBit(32); in TEST()
196 first.SetBit(48); in TEST()
201 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
203 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
205 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
207 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
209 first.SetBit(9); in TEST()
210 EXPECT_FALSE(first.IsSubsetOf(&second)); in TEST()