Searched refs:mBufferBlockQueue (Results 1 – 1 of 1) sorted by relevance
117 BufferBlockGarbageList() : mBufferBlockQueue(kInitialQueueCapacity) {} in BufferBlockGarbageList()118 ~BufferBlockGarbageList() { ASSERT(mBufferBlockQueue.empty()); } in ~BufferBlockGarbageList()123 if (mBufferBlockQueue.full()) in add()125 size_t newCapacity = mBufferBlockQueue.capacity() << 1; in add()126 mBufferBlockQueue.updateCapacity(newCapacity); in add()128 mBufferBlockQueue.push(bufferBlock); in add()135 if (!mBufferBlockQueue.empty()) in pruneEmptyBufferBlocks()138 size_t count = mBufferBlockQueue.size(); in pruneEmptyBufferBlocks()141 BufferBlock *block = mBufferBlockQueue.front(); in pruneEmptyBufferBlocks()142 mBufferBlockQueue.pop(); in pruneEmptyBufferBlocks()[all …]