Home
last modified time | relevance | path

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

/external/skia/tests/
DGrBlockAllocatorTest.cpp73 REPORTER_ASSERT(r, stack.preallocUsableSpace() == (size_t) stack.currentBlock()->avail()); in DEF_TEST()
80 REPORTER_ASSERT(r, placement->preallocUsableSpace() < 1024 && in DEF_TEST()
81 placement->preallocUsableSpace() >= (1024 - sizeof(GrBlockAllocator))); in DEF_TEST()
88 REPORTER_ASSERT(r, inlined->preallocUsableSpace() < 2048 && in DEF_TEST()
89 inlined->preallocUsableSpace() >= (2048 - sizeof(GrBlockAllocator))); in DEF_TEST()
/external/skia/src/gpu/
DGrBlockAllocator.cpp69 SkASSERT(size >= this->preallocUsableSpace()); in totalUsableSpace()
DGrBlockAllocator.h231 size_t preallocUsableSpace() const { in preallocUsableSpace() function