Home
last modified time | relevance | path

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

/external/skia/tests/
DGrMemoryPoolTest.cpp329 constexpr size_t kSmallestMinAllocCount = DataObjectPool::kSmallestMinAllocCount; in DEF_TEST() local
346 DataObjectPool pool(kSmallestMinAllocCount / 3, 0); in DEF_TEST()
350 REPORTER_ASSERT(reporter, preallocCount == kSmallestMinAllocCount); in DEF_TEST()
355 DataObjectPool pool(kSmallestMinAllocCount, 2 * kSmallestMinAllocCount); in DEF_TEST()
359 REPORTER_ASSERT(reporter, preallocCount == 2 * kSmallestMinAllocCount); in DEF_TEST()
364 DataObjectPool pool(kSmallestMinAllocCount, kSmallestMinAllocCount / 2); in DEF_TEST()
371 REPORTER_ASSERT(reporter, minAllocCount == kSmallestMinAllocCount); in DEF_TEST()
376 constexpr size_t kPreallocCount = kSmallestMinAllocCount * 7 / 3; in DEF_TEST()
386 constexpr size_t kMinAllocCount = kSmallestMinAllocCount * 11 / 3; in DEF_TEST()
/external/skia/src/gpu/
DGrMemoryPool.h155 CountToSize(SkTMax(minAllocCount, kSmallestMinAllocCount))) { in GrObjectMemoryPool()
176 constexpr static size_t kSmallestMinAllocCount =
182 constexpr size_t GrObjectMemoryPool<T>::kSmallestMinAllocCount;