Searched refs:kMinHeapAllocCount (Results 1 – 2 of 2) sorted by relevance
/external/skqp/include/private/ |
D | SkTArray.h | 453 fAllocCount = SkTMax(count, SkTMax(kMinHeapAllocCount, reserveCount)); 468 fAllocCount = SkTMax(count, kMinHeapAllocCount); in initWithPreallocatedStorage() 509 static constexpr int kMinHeapAllocCount = 8; variable 541 static_assert(SkIsPow2(kMinHeapAllocCount), "min alloc count not power of two."); in checkRealloc() 542 newAllocCount = (newAllocCount + (kMinHeapAllocCount - 1)) & ~(kMinHeapAllocCount - 1); in checkRealloc() 575 template<typename T, bool MEM_MOVE> constexpr int SkTArray<T, MEM_MOVE>::kMinHeapAllocCount;
|
/external/skia/include/private/ |
D | SkTArray.h | 469 fAllocCount = SkToU32(std::max(count, kMinHeapAllocCount)); in init() 484 fAllocCount = std::max(count, kMinHeapAllocCount); in initWithPreallocatedStorage() 525 static constexpr int kMinHeapAllocCount = 8; variable 558 static_assert(SkIsPow2(kMinHeapAllocCount), "min alloc count not power of two."); in checkRealloc() 559 newAllocCount = (newAllocCount + (kMinHeapAllocCount - 1)) & ~(kMinHeapAllocCount - 1); in checkRealloc() 590 template<typename T, bool MEM_MOVE> constexpr int SkTArray<T, MEM_MOVE>::kMinHeapAllocCount;
|