Home
last modified time | relevance | path

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

/lvgl-latest/src/libs/thorvg/
DtvgSwMemPool.cpp85 auto allocSize = threads + 1; in mpoolInit() local
88 mpool->outline = static_cast<SwOutline*>(calloc(1, sizeof(SwOutline) * allocSize)); in mpoolInit()
89 mpool->strokeOutline = static_cast<SwOutline*>(calloc(1, sizeof(SwOutline) * allocSize)); in mpoolInit()
90 mpool->dashOutline = static_cast<SwOutline*>(calloc(1, sizeof(SwOutline) * allocSize)); in mpoolInit()
91 mpool->allocSize = allocSize; in mpoolInit()
99 for (unsigned i = 0; i < mpool->allocSize; ++i) { in mpoolClear()
DtvgSwCommon.h292 unsigned allocSize; member