Searched refs:GetNumSlabs (Results 1 – 2 of 2) sorted by relevance
/external/llvm/unittests/Support/ |
D | AllocatorTest.cpp | 31 EXPECT_EQ(1U, Alloc.GetNumSlabs()); in TEST() 34 EXPECT_EQ(0U, Alloc.GetNumSlabs()); in TEST() 35 EXPECT_EQ(1U, Alloc2.GetNumSlabs()); in TEST() 45 EXPECT_EQ(0U, Alloc2.GetNumSlabs()); in TEST() 46 EXPECT_EQ(1U, Alloc.GetNumSlabs()); in TEST() 53 EXPECT_EQ(1U, Alloc.GetNumSlabs()); in TEST() 55 EXPECT_EQ(2U, Alloc.GetNumSlabs()); in TEST() 57 EXPECT_EQ(3U, Alloc.GetNumSlabs()); in TEST() 65 EXPECT_EQ(1U, Alloc.GetNumSlabs()); in TEST() 67 EXPECT_EQ(2U, Alloc.GetNumSlabs()); in TEST() [all …]
|
/external/llvm/include/llvm/Support/ |
D | Allocator.h | 259 size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } in GetNumSlabs() function
|