Home
last modified time | relevance | path

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

/external/skia/tests/
DGrMemoryPoolTest.cpp349 size_t preallocCount = allocateObjects(pool, r); in DEF_TEST() local
350 REPORTER_ASSERT(reporter, preallocCount == kSmallestMinAllocCount); in DEF_TEST()
358 size_t preallocCount = allocateObjects(pool, r); in DEF_TEST() local
359 REPORTER_ASSERT(reporter, preallocCount == 2 * kSmallestMinAllocCount); in DEF_TEST()
380 size_t preallocCount = allocateObjects(pool, r); in DEF_TEST() local
381 REPORTER_ASSERT(reporter, preallocCount == kPreallocCount); in DEF_TEST()
/external/skia/src/gpu/
DGrMemoryPool.h153 GrObjectMemoryPool(size_t preallocCount, size_t minAllocCount) in GrObjectMemoryPool() argument
154 : GrMemoryPool(CountToSize(preallocCount), in GrObjectMemoryPool()
/external/skia/include/private/
DSkTArray.h441 void initWithPreallocatedStorage(int count, void* preallocStorage, int preallocCount) { in initWithPreallocatedStorage() argument
443 SkASSERT(preallocCount > 0); in initWithPreallocatedStorage()
447 if (count > preallocCount) { in initWithPreallocatedStorage()
452 fAllocCount = preallocCount; in initWithPreallocatedStorage()