Home
last modified time | relevance | path

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

/external/skia/tests/
DGrMemoryPoolTest.cpp269 constexpr size_t kMinAllocSize = kSmallestMinAllocSize * 2; in DEF_TEST() local
270 GrMemoryPool pool(kSmallestMinAllocSize, kMinAllocSize); in DEF_TEST()
271 REPORTER_ASSERT(reporter, pool.preallocSize() == kMinAllocSize); in DEF_TEST()
292 constexpr size_t kMinAllocSize = kSmallestMinAllocSize * 7; in DEF_TEST() local
293 GrMemoryPool pool(0, kMinAllocSize); in DEF_TEST()
297 REPORTER_ASSERT(reporter, pool.size() == kMinAllocSize); in DEF_TEST()
300 REPORTER_ASSERT(reporter, pool.size() == 2 * kMinAllocSize); in DEF_TEST()
306 constexpr size_t kMinAllocSize = kSmallestMinAllocSize * 2; in DEF_TEST() local
307 GrMemoryPool pool(kSmallestMinAllocSize, kMinAllocSize); in DEF_TEST()
312 constexpr size_t hugeSize = 10 * kMinAllocSize; in DEF_TEST()
[all …]
/external/skia/src/core/
DSkRWBuffer.cpp16 static const size_t kMinAllocSize = 4096; variable
59 const size_t minSize = kMinAllocSize - sizeof(SkBufferBlock); in LengthToCapacity()
71 const size_t minSize = kMinAllocSize - sizeof(SkBufferHead); in LengthToCapacity()