Home
last modified time | relevance | path

Searched refs:usedSize (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/unit_tests/
DLinearAllocatorTests.cpp51 EXPECT_EQ(0u, la.usedSize()); in TEST()
55 EXPECT_LE(64u, la.usedSize()); in TEST()
56 EXPECT_GT(80u, la.usedSize()); in TEST()
58 EXPECT_LE(64u + sizeof(SimplePair), la.usedSize()); in TEST()
59 EXPECT_GT(80u + sizeof(SimplePair), la.usedSize()); in TEST()
93 EXPECT_LE(100u, la.usedSize()); in TEST()
95 EXPECT_GT(16u, la.usedSize()); in TEST()
96 size_t emptySize = la.usedSize(); in TEST()
100 EXPECT_LE(emptySize, la.usedSize()); in TEST()
103 EXPECT_EQ(emptySize, la.usedSize()); in TEST()
/frameworks/base/libs/hwui/utils/
DLinearAllocator.h102 size_t usedSize() const { return mTotalAllocated - mWastedSpace; } in usedSize() function
/frameworks/base/libs/hwui/
DDisplayList.h156 return allocator.usedSize(); in getUsedSize()