Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/common/
DSlabAllocator.cpp34 : allocation(allocation), freeList(head), prev(nullptr), next(nullptr), blocksInUse(0) { in Slab()
48 ASSERT(slab->blocksInUse == 0); in ~SentinelSlab()
126 ASSERT(slab->blocksInUse != 0); in PushFront()
127 slab->blocksInUse--; in PushFront()
142 ASSERT(slab->blocksInUse < mBlocksPerSlab); in PopFront()
143 slab->blocksInUse++; in PopFront()
184 if (slab->blocksInUse == mBlocksPerSlab) { in Allocate()
200 bool slabWasFull = slab->blocksInUse == mBlocksPerSlab; in Deallocate()
202 ASSERT(slab->blocksInUse != 0); in Deallocate()
DSlabAllocator.h89 Index blocksInUse; member