Home
last modified time | relevance | path

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

/third_party/skia/tests/
DSkBlockAllocatorTest.cpp501 size_t scratchAvail = 2 * avail; in DEF_TEST() local
502 pool->reserve(scratchAvail); in DEF_TEST()
503 REPORTER_ASSERT(r, BlockAllocatorTestAccess::ScratchBlockSize(pool) >= scratchAvail); in DEF_TEST()
507 scratchAvail = BlockAllocatorTestAccess::ScratchBlockSize(pool); in DEF_TEST()
508 pool->allocate<1>(scratchAvail + 1); in DEF_TEST()
510 REPORTER_ASSERT(r, BlockAllocatorTestAccess::ScratchBlockSize(pool) == scratchAvail); in DEF_TEST()