Lines Matching refs:CacheBlock
38 CacheBlock* CacheBlock::insertBlock(CacheBlock* head, CacheBlock* newBlock) { in insertBlock()
44 CacheBlock* currBlock = head; in insertBlock()
45 CacheBlock* prevBlock = nullptr; in insertBlock()
81 CacheBlock* CacheBlock::removeBlock(CacheBlock* head, CacheBlock* blockToRemove) { in removeBlock()
87 CacheBlock* newHead = head; in removeBlock()
88 CacheBlock* nextBlock = blockToRemove->mNext; in removeBlock()
89 CacheBlock* prevBlock = blockToRemove->mPrev; in removeBlock()
123 new CacheBlock(TEXTURE_BORDER_SIZE, TEXTURE_BORDER_SIZE, in CacheTexture()
141 CacheBlock* tmpBlock = mCacheBlocks; in reset()
153 new CacheBlock(TEXTURE_BORDER_SIZE, TEXTURE_BORDER_SIZE, in init()
269 CacheBlock* cacheBlock = mCacheBlocks; in fitBitmap()
295 CacheBlock* newBlock = in fitBitmap()
296 new CacheBlock(oldX, glyphH + TEXTURE_BORDER_SIZE, roundedUpW, in fitBitmap()
303 mCacheBlocks = CacheBlock::insertBlock(mCacheBlocks, newBlock); in fitBitmap()
318 mCacheBlocks = CacheBlock::removeBlock(mCacheBlocks, cacheBlock); in fitBitmap()
343 CacheBlock* cacheBlock = mCacheBlocks; in calculateFreeMemory()