Home
last modified time | relevance | path

Searched refs:bv (Results 1 – 2 of 2) sorted by relevance

/art/runtime/base/
Dbit_vector_test.cc28 BitVector bv(kBits, false, Allocator::GetMallocAllocator()); in TEST() local
29 EXPECT_EQ(1U, bv.GetStorageSize()); in TEST()
30 EXPECT_EQ(sizeof(uint32_t), bv.GetSizeOf()); in TEST()
31 EXPECT_FALSE(bv.IsExpandable()); in TEST()
33 EXPECT_EQ(0U, bv.NumSetBits()); in TEST()
34 EXPECT_EQ(0U, bv.NumSetBits(1)); in TEST()
35 EXPECT_EQ(0U, bv.NumSetBits(kBits)); in TEST()
37 EXPECT_FALSE(bv.IsBitSet(i)); in TEST()
39 EXPECT_EQ(0U, bv.GetRawStorageWord(0)); in TEST()
40 EXPECT_EQ(0U, *bv.GetRawStorage()); in TEST()
[all …]
Darena_allocator_test.cc38 ArenaBitVector bv(&arena, 10, true); in TEST_F() local
39 bv.SetBit(5); in TEST_F()
40 EXPECT_EQ(1U, bv.GetStorageSize()); in TEST_F()
41 bv.SetBit(35); in TEST_F()
42 EXPECT_EQ(2U, bv.GetStorageSize()); in TEST_F()