Home
last modified time | relevance | path

Searched refs:BlockAllocatorTestAccess (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/tests/
DSkBlockAllocatorTest.cpp16 class BlockAllocatorTestAccess { class
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 …]
/third_party/skia/src/core/
DSkBlockAllocator.h413 friend class BlockAllocatorTestAccess;