Home
last modified time | relevance | path

Searched refs:SkSBlockAllocator (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/tests/
H A DSkBlockAllocatorTest.cpp19 static size_t ScratchBlockSize(SkSBlockAllocator<N>& pool) { in ScratchBlockSize()
26 static int block_count(const SkSBlockAllocator<N>& pool) { in block_count()
36 static Block* get_block(SkSBlockAllocator<N>& pool, int blockIndex) { in get_block()
55 static size_t total_size(SkSBlockAllocator<N>& pool) { in total_size()
60 static size_t add_block(SkSBlockAllocator<N>& pool) { in add_block()
70 static void* alloc_byte(SkSBlockAllocator<N>& pool) { in alloc_byte()
94 SkSBlockAllocator<2048> inlined{}; in DEF_TEST()
102 SkSBlockAllocator<1024> pool{}; in DEF_TEST()
183 SkSBlockAllocator<1024> pool{}; in DEF_TEST()
236 SkSBlockAllocator<102 in DEF_TEST()
[all...]
/third_party/skia/src/core/
H A DSkBlockAllocator.h47 * 3. Use SkSBlockAllocator to increase the preallocation size
48 * SkSBlockAllocator<1024> allocator(policy, heapAllocSize);
201 * Ex. To preallocate a SkSBlockAllocator to hold N instances of T, its arge should be
480 class SkSBlockAllocator : SkNoncopyable { class in final::GrowthPolicy
484 SkSBlockAllocator() { in SkSBlockAllocator() function in final::GrowthPolicy::SkSBlockAllocator
487 explicit SkSBlockAllocator(GrowthPolicy policy) { in SkSBlockAllocator() function in final::GrowthPolicy::SkSBlockAllocator
491 SkSBlockAllocator(GrowthPolicy policy, size_t blockIncrementBytes) { in SkSBlockAllocator() function in final::GrowthPolicy::SkSBlockAllocator
495 ~SkSBlockAllocator() { in ~SkSBlockAllocator()
H A DSkTBlockList.h264 // N represents the number of items, whereas SkSBlockAllocator takes total bytes, so must
269 SkSBlockAllocator<StartingSize> fAllocator;

Completed in 3 milliseconds