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 …]
/art/compiler/utils/
Darena_allocator_test.cc26 ArenaBitVector bv(&arena, 10, true); in TEST() local
27 bv.SetBit(5); in TEST()
28 EXPECT_EQ(1U, bv.GetStorageSize()); in TEST()
29 bv.SetBit(35); in TEST()
30 EXPECT_EQ(2U, bv.GetStorageSize()); in TEST()