Lines Matching refs:block
80 BufferBlock* block = mFreeBlocks; in clearCache() local
81 while (block) { in clearCache()
82 BufferBlock* next = block->next; in clearCache()
83 delete block; in clearCache()
84 block = next; in clearCache()
138 BufferBlock* block = new BufferBlock(patch->positionOffset, patch->getSize()); in clearGarbage() local
139 block->next = mFreeBlocks; in clearGarbage()
140 mFreeBlocks = block; in clearGarbage()
181 BufferBlock* block = mFreeBlocks; in setupMesh() local
182 while (block) { in setupMesh()
184 if (block->size >= size) { in setupMesh()
187 previous = block; in setupMesh()
188 block = block->next; in setupMesh()
193 if (!block) { in setupMesh()
197 block = mFreeBlocks; in setupMesh()
201 newMesh->positionOffset = (GLintptr) (block->offset); in setupMesh()
208 if (block->size == size) { in setupMesh()
210 previous->next = block->next; in setupMesh()
212 mFreeBlocks = block->next; in setupMesh()
214 delete block; in setupMesh()
217 block->offset += size; in setupMesh()
218 block->size -= size; in setupMesh()
254 BufferBlock* block = mFreeBlocks; in dumpFreeBlocks() local
255 while (block) { in dumpFreeBlocks()
256 dump.appendFormat("->(%d, %d)", block->positionOffset, block->size); in dumpFreeBlocks()
257 block = block->next; in dumpFreeBlocks()