Lines Matching defs:pool
19 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()
102 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
183 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
236 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
270 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
307 SkSBlockAllocator<kInitSize> pool{(GrowthPolicy) gp}; in DEF_TEST() local
322 SkSBlockAllocator<kBlockIncrement> pool{GrowthPolicy::kLinear}; in DEF_TEST() local
356 SkSBlockAllocator<1024> pool{(GrowthPolicy) gp}; in DEF_TEST() local
414 SkSBlockAllocator<256> pool; in DEF_TEST() local
451 SkSBlockAllocator<256> pool; in DEF_TEST() local
564 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
602 SkSBlockAllocator<256> pool{}; in DEF_TEST() local
621 static void run_owning_block_test(skiatest::Reporter* r, SkBlockAllocator* pool) { in run_owning_block_test()
638 static void run_owning_block_tests(skiatest::Reporter* r, SkBlockAllocator* pool) { in run_owning_block_tests()
650 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local