Lines Matching refs:first
175 BitVector first(2, true, Allocator::GetMallocAllocator()); in TEST() local
181 bool changed = first.UnionIfNotIn(&second, &third); in TEST()
182 EXPECT_EQ(0u, first.NumSetBits()); in TEST()
187 BitVector first(2, true, Allocator::GetMallocAllocator()); in TEST() local
192 bool changed = first.UnionIfNotIn(&second, &third); in TEST()
193 EXPECT_EQ(1u, first.NumSetBits()); in TEST()
195 EXPECT_TRUE(first.IsBitSet(64)); in TEST()
201 BitVector first(2, true, Allocator::GetMallocAllocator()); in TEST() local
204 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
206 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
210 BitVector first(5, true, Allocator::GetMallocAllocator()); in TEST() local
213 first.SetBit(5); in TEST()
214 EXPECT_FALSE(first.IsSubsetOf(&second)); in TEST()
216 EXPECT_FALSE(first.IsSubsetOf(&second)); in TEST()
220 BitVector first(5, true, Allocator::GetMallocAllocator()); in TEST() local
223 first.SetBit(16); in TEST()
224 first.SetBit(32); in TEST()
225 first.SetBit(48); in TEST()
230 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
232 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
234 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
236 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
238 first.SetBit(9); in TEST()
239 EXPECT_FALSE(first.IsSubsetOf(&second)); in TEST()