Lines Matching refs:block
109 RTMemFree(mFreeList->block);
111 free(mFreeList->block);
153 RTMemFree(mFreeList->block);
155 free(mFreeList->block);
237 Block* block = DATA_TO_BLOCK(ptr);
239 if (!AddToFreeList(block))
248 mId, (char *)ptr, block->bytes, mNAllocated, mMaxBlocks);
253 RTMemFree(block);
255 free(block);
277 // Free the allocated block
279 RTMemFree(node->block);
281 free(node->block);
288 node->block = nsnull;
330 Block *block = nsnull;
340 // Found the best fit free block
341 block = freeNode->block;
344 freeNode->block = nsnull;
360 return block;
364 nsRecyclingAllocator::AddToFreeList(Block* block)
376 node->bytes = block->bytes;
377 node->block = block;
384 if (freeNode->bytes >= block->bytes)