Lines Matching refs:MemoryBlockPoolBlock
413 struct MemoryBlockPoolBlock { struct
414 MemoryBlockPoolBlock(size_t size) in MemoryBlockPoolBlock() argument
417 ~MemoryBlockPoolBlock() { in ~MemoryBlockPoolBlock() argument
429 C2_DO_NOT_COPY(MemoryBlockPoolBlock);
440 void release(std::list<MemoryBlockPoolBlock>::const_iterator block) { in release()
450 std::list<MemoryBlockPoolBlock>::const_iterator fetch(size_t size) { in fetch()
452 mFreeBlocks.remove_if([size](const MemoryBlockPoolBlock &block) -> bool { in fetch()
470 std::list<MemoryBlockPoolBlock> mFreeBlocks;
471 std::list<MemoryBlockPoolBlock> mBlocksInUse;
481 Impl(std::list<MemoryBlockPoolBlock>::const_iterator block, in Impl()
499 std::list<MemoryBlockPoolBlock>::const_iterator mBlock;
504 std::list<MemoryBlockPoolBlock>::const_iterator poolBlock = mImpl->fetch(size); in fetch()