Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DLinearAllocatorTests.cpp32 EXPECT_EQ(0u, la.usedSize()); in TEST()
36 EXPECT_LE(64u, la.usedSize()); in TEST()
37 EXPECT_GT(80u, la.usedSize()); in TEST()
39 EXPECT_LE(64u + sizeof(SimplePair), la.usedSize()); in TEST()
40 EXPECT_GT(80u + sizeof(SimplePair), la.usedSize()); in TEST()
73 EXPECT_LE(100u, la.usedSize()); in TEST()
75 EXPECT_GT(16u, la.usedSize()); in TEST()
76 size_t emptySize = la.usedSize(); in TEST()
80 EXPECT_LE(emptySize, la.usedSize()); in TEST()
83 EXPECT_EQ(emptySize, la.usedSize()); in TEST()
DBakedOpStateTests.cpp190 size_t successAllocSize = allocator.usedSize(); in TEST()
198 EXPECT_EQ(successAllocSize, allocator.usedSize()) << "no extra allocation used for rejected op"; in TEST()
211 EXPECT_EQ(0u, allocator.usedSize()) << "no serialization, even for clip," in TEST()
219 EXPECT_LE(64u, allocator.usedSize()) << "relatively large alloc for non-rejected op"; in TEST()
240 EXPECT_GT(8u, allocator.usedSize()); // no significant allocation space used for rejected op in TEST()
/frameworks/base/libs/hwui/
DDisplayList.h115 return allocator.usedSize(); in getUsedSize()
/frameworks/base/libs/hwui/utils/
DLinearAllocator.h117 size_t usedSize() const { return mTotalAllocated - mWastedSpace; } in usedSize() function