Searched refs:ScratchBlockSize (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/tests/ |
D | SkBlockAllocatorTest.cpp | 19 static size_t ScratchBlockSize(SkSBlockAllocator<N>& pool) { in ScratchBlockSize() function in BlockAllocatorTestAccess 56 return pool->totalSize() - BlockAllocatorTestAccess::ScratchBlockSize(pool); in total_size() 454 REPORTER_ASSERT(r, BlockAllocatorTestAccess::ScratchBlockSize(pool) == 0); in DEF_TEST() 460 REPORTER_ASSERT(r, BlockAllocatorTestAccess::ScratchBlockSize(pool) == added); in DEF_TEST() 464 REPORTER_ASSERT(r, BlockAllocatorTestAccess::ScratchBlockSize(pool) == 0); in DEF_TEST() 472 REPORTER_ASSERT(r, BlockAllocatorTestAccess::ScratchBlockSize(pool) >= reserve && in DEF_TEST() 473 BlockAllocatorTestAccess::ScratchBlockSize(pool) % 256 == 0); in DEF_TEST() 478 REPORTER_ASSERT(r, BlockAllocatorTestAccess::ScratchBlockSize(pool) == 0); in DEF_TEST() 484 REPORTER_ASSERT(r, BlockAllocatorTestAccess::ScratchBlockSize(pool) == 0); in DEF_TEST() 488 REPORTER_ASSERT(r, BlockAllocatorTestAccess::ScratchBlockSize(pool) > 0); in DEF_TEST() [all …]
|
D | SkTBlockListTest.cpp | 43 static size_t ScratchBlockSize(SkTBlockList<C, N>& list) { in ScratchBlockSize() function in TBlockListTestAccess 281 REPORTER_ASSERT(reporter, TBlockListTestAccess::ScratchBlockSize(list) >= in run_reserve_test() 292 REPORTER_ASSERT(reporter, TBlockListTestAccess::ScratchBlockSize(list) >= in run_reserve_test()
|