Home
last modified time | relevance | path

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

/external/llvm/unittests/Support/
DAllocatorTest.cpp31 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/
DAllocator.h259 size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } in GetNumSlabs() function