Home
last modified time | relevance | path

Searched refs:NumSetBits (Results 1 – 11 of 11) sorted by relevance

/art/libartbase/base/
Dbit_vector_test.cc33 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()
47 EXPECT_EQ(2U, bv.NumSetBits()); in TEST()
48 EXPECT_EQ(1U, bv.NumSetBits(1)); in TEST()
49 EXPECT_EQ(2U, bv.NumSetBits(kBits)); in TEST()
78 EXPECT_EQ(0U, bv.NumSetBits()); in TEST()
81 EXPECT_EQ(1U, bv.NumSetBits()); in TEST()
84 EXPECT_EQ(1U, bv.NumSetBits()); in TEST()
87 EXPECT_EQ(2U, bv.NumSetBits()); in TEST()
[all …]
Dbit_vector.h196 uint32_t NumSetBits() const;
199 uint32_t NumSetBits(uint32_t end) const;
245 static uint32_t NumSetBits(const uint32_t* storage, uint32_t end);
Dbit_vector.cc232 uint32_t BitVector::NumSetBits() const { in NumSetBits() function in art::BitVector
240 uint32_t BitVector::NumSetBits(uint32_t end) const { in NumSetBits() function in art::BitVector
242 return NumSetBits(storage_, end); in NumSetBits()
315 uint32_t BitVector::NumSetBits(const uint32_t* storage, uint32_t end) { in NumSetBits() function in art::BitVector
/art/compiler/optimizing/
Dlinear_order.cc64 size_t num_blocks = loop->GetBlocks().NumSetBits(); in IsLinearOrderWellFormed()
Dfind_loops_test.cc114 ASSERT_EQ(blocks.NumSetBits(), number_of_blocks); in TestBlock()
Dsuperblock_cloner_test.cc281 EXPECT_EQ(bb_set.NumSetBits(), 1u); in TEST_F()
Dsuperblock_cloner.cc1071 return work_set->NumSetBits() == 0; in IsSubgraphConnected()
Dnodes.cc814 DCHECK_EQ(blocks_.NumSetBits(), 0u) << "Loop information has already been populated"; in Populate()
2141 DCHECK_EQ(loop_info->GetBlocks().NumSetBits(), 1u); in DisconnectAndDelete()
Dregister_allocator_graph_color.cc2074 DCHECK_EQ(taken.NumSetBits(), 0u); in ColorSpillSlots()
/art/runtime/verifier/
Dreg_type.cc899 CHECK_GT(unresolved_types_.NumSetBits(), 0U); in CheckInvariants()
/art/runtime/
Doat_file.cc2137 size_t num_set_bits = BitVector::NumSetBits(bitmap_, method_index); in GetOatMethodOffsets()