Lines Matching defs:pool
24 static size_t ScratchBlockSize(SkSBlockAllocator<N>& pool) { in ScratchBlockSize()
31 static int block_count(const SkSBlockAllocator<N>& pool) { in block_count()
41 static Block* get_block(SkSBlockAllocator<N>& pool, int blockIndex) { in get_block()
60 static size_t total_size(SkSBlockAllocator<N>& pool) { in total_size()
65 static size_t add_block(SkSBlockAllocator<N>& pool) { in add_block()
75 static void* alloc_byte(SkSBlockAllocator<N>& pool) { in alloc_byte()
107 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
188 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
241 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
275 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
312 SkSBlockAllocator<kInitSize> pool{(GrowthPolicy) gp}; in DEF_TEST() local
327 SkSBlockAllocator<kBlockIncrement> pool{GrowthPolicy::kLinear}; in DEF_TEST() local
361 SkSBlockAllocator<1024> pool{(GrowthPolicy) gp}; in DEF_TEST() local
419 SkSBlockAllocator<256> pool; in DEF_TEST() local
456 SkSBlockAllocator<256> pool; in DEF_TEST() local
569 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local
607 SkSBlockAllocator<256> pool{}; in DEF_TEST() local
626 static void run_owning_block_test(skiatest::Reporter* r, SkBlockAllocator* pool) { in run_owning_block_test()
643 static void run_owning_block_tests(skiatest::Reporter* r, SkBlockAllocator* pool) { in run_owning_block_tests()
655 SkSBlockAllocator<1024> pool{}; in DEF_TEST() local