Home | History | Annotate | Download | only in core

Lines Matching refs:block

71 // satisfying alignment without exhausting the current block.
96 // There is no guarantee the first block is properly aligned, so
106 // (though GetMemory() can also make a new block for really big
111 AllocatedBlock* block = AllocNewBlock(block_size_, alignment);
112 freestart_ = block->mem;
113 remaining_ = block->size;
137 AllocatedBlock* block;
138 // Find the next block.
141 block = &first_blocks_[blocks_alloced_++];
145 // Adds another block to the vector.
147 // block points to the last block of the vector.
148 block = &overflow_blocks_->back();
173 block->mem = reinterpret_cast<char*>(
175 block->size = adjusted_block_size;
176 CHECK(nullptr != block->mem) << "block_size=" << block_size
181 return block;
188 // allocate a new block (wasting the remaining space in the
189 // current block) and give you that. If your memory needs are
190 // too big for a single block, we make a special your-memory-only
202 // If the object is more than a quarter of the block size, allocate
209 // which may require starting a new block.
235 for (size_t i = 1; i < blocks_alloced_; ++i) { // keep first block alloced