Home
last modified time | relevance | path

Searched refs:fAllocCount (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/include/private/
DSkTArray.h63 fAllocCount = that.fAllocCount; in SkTArray()
69 that.fAllocCount = 0; in SkTArray()
345 auto allocCount = fAllocCount; in swap()
346 fAllocCount = that.fAllocCount; in swap()
347 that.fAllocCount = allocCount; in swap()
438 return fAllocCount; in capacity()
466 fAllocCount = 0; in init()
469 fAllocCount = SkToU32(std::max(count, kMinHeapAllocCount)); in init()
470 fItemArray = (T*)sk_malloc_throw((size_t)fAllocCount, sizeof(T)); in init()
484 fAllocCount = std::max(count, kMinHeapAllocCount); in initWithPreallocatedStorage()
[all …]
DSkDeque.h126 int fAllocCount; // number of elements to allocate per block variable
/third_party/flutter/skia/include/private/
DSkTArray.h313 swap(fAllocCount, that.fAllocCount); in swap()
452 fAllocCount = 0;
457 fAllocCount = SkTMax(count, SkTMax(kMinHeapAllocCount, reserveCount));
458 fMemArray = sk_malloc_throw(fAllocCount, sizeof(T));
472 fAllocCount = SkTMax(count, kMinHeapAllocCount); in initWithPreallocatedStorage()
473 fMemArray = sk_malloc_throw(fAllocCount, sizeof(T)); in initWithPreallocatedStorage()
476 fAllocCount = preallocCount; in initWithPreallocatedStorage()
526 SkASSERT(fAllocCount >= 0); in checkRealloc()
535 bool mustGrow = newCount > fAllocCount; in checkRealloc()
536 bool shouldShrink = fAllocCount > 3 * newCount && fOwnMemory && !fReserved; in checkRealloc()
[all …]
/third_party/flutter/skia/src/core/
DSkDeque.cpp32 , fAllocCount(allocCount) { in SkDeque()
42 , fAllocCount(allocCount) { in SkDeque()
73 fFrontBlock = this->allocateBlock(fAllocCount); in push_front()
88 first = this->allocateBlock(fAllocCount); in push_front()
113 fBackBlock = this->allocateBlock(fAllocCount); in push_back()
128 last = this->allocateBlock(fAllocCount); in push_back()
/third_party/skia/src/core/
DSkDeque.cpp32 , fAllocCount(allocCount) { in SkDeque()
42 , fAllocCount(allocCount) { in SkDeque()
73 fFrontBlock = this->allocateBlock(fAllocCount); in push_front()
88 first = this->allocateBlock(fAllocCount); in push_front()
113 fBackBlock = this->allocateBlock(fAllocCount); in push_back()
128 last = this->allocateBlock(fAllocCount); in push_back()
/third_party/flutter/skia/include/core/
DSkDeque.h126 int fAllocCount; // number of elements to allocate per block variable
/third_party/flutter/skia/tests/
DTArrayTest.cpp123 return fAllocCount; in allocCntForTest()