Searched refs:kPreallocCount (Results 1 - 4 of 4) sorted by relevance

/external/skia/src/core/
H A DSkClipStackDevice.h40 kPreallocCount = 16 // empirically determined, adjust as needed to reduce mallocs enumerator in enum:SkClipStackDevice::__anon20653
42 intptr_t fStorage[kPreallocCount * sizeof(SkClipStack::Element) / sizeof(intptr_t)];
/external/skqp/src/core/
H A DSkClipStackDevice.h40 kPreallocCount = 16 // empirically determined, adjust as needed to reduce mallocs enumerator in enum:SkClipStackDevice::__anon21321
42 intptr_t fStorage[kPreallocCount * sizeof(SkClipStack::Element) / sizeof(intptr_t)];
/external/skia/tests/
H A DGrMemoryPoolTest.cpp376 constexpr size_t kPreallocCount = kSmallestMinAllocCount * 7 / 3; local
377 DataObjectPool pool(kPreallocCount, 0);
381 REPORTER_ASSERT(reporter, preallocCount == kPreallocCount);
/external/skqp/tests/
H A DGrMemoryPoolTest.cpp376 constexpr size_t kPreallocCount = kSmallestMinAllocCount * 7 / 3; local
377 DataObjectPool pool(kPreallocCount, 0);
381 REPORTER_ASSERT(reporter, preallocCount == kPreallocCount);

Completed in 213 milliseconds