Searched refs:fAllocCount (Results 1 – 7 of 7) sorted by relevance
/external/skia/include/private/ |
D | SkTArray.h | 63 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 …]
|
D | SkDeque.h | 126 int fAllocCount; // number of elements to allocate per block variable
|
/external/skqp/include/private/ |
D | SkTArray.h | 309 swap(fAllocCount, that.fAllocCount); in swap() 448 fAllocCount = 0; 453 fAllocCount = SkTMax(count, SkTMax(kMinHeapAllocCount, reserveCount)); 454 fMemArray = sk_malloc_throw(fAllocCount, sizeof(T)); 468 fAllocCount = SkTMax(count, kMinHeapAllocCount); in initWithPreallocatedStorage() 469 fMemArray = sk_malloc_throw(fAllocCount, sizeof(T)); in initWithPreallocatedStorage() 472 fAllocCount = preallocCount; in initWithPreallocatedStorage() 522 SkASSERT(fAllocCount >= 0); in checkRealloc() 531 bool mustGrow = newCount > fAllocCount; in checkRealloc() 532 bool shouldShrink = fAllocCount > 3 * newCount && fOwnMemory && !fReserved; in checkRealloc() [all …]
|
/external/skqp/src/core/ |
D | SkDeque.cpp | 32 , 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()
|
/external/skia/src/core/ |
D | SkDeque.cpp | 32 , 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()
|
/external/skqp/include/core/ |
D | SkDeque.h | 127 int fAllocCount; // number of elements to allocate per block variable
|
/external/skqp/tests/ |
D | TArrayTest.cpp | 123 return fAllocCount; in allocCntForTest()
|