Lines Matching refs:first_blocks_
141 first_blocks_[0].mem = first; in BaseArena()
142 first_blocks_[0].size = orig_block_size; in BaseArena()
149 first_blocks_[0].mem = AllocateAlignedBytes(block_size_, kPageSize); in BaseArena()
150 first_blocks_[0].alignment = kPageSize; in BaseArena()
151 TC3_CHECK(nullptr != first_blocks_[0].mem); in BaseArena()
153 first_blocks_[0].mem = AllocateBytes(block_size_); in BaseArena()
154 first_blocks_[0].alignment = 0; in BaseArena()
156 first_blocks_[0].size = block_size_; in BaseArena()
167 ASAN_UNPOISON_MEMORY_REGION(first_blocks_[0].mem, first_blocks_[0].size); in ~BaseArena()
173 DeallocateBytes(first_blocks_[i].mem, first_blocks_[i].size, in ~BaseArena()
174 first_blocks_[i].alignment); in ~BaseArena()
212 freestart_ = first_blocks_[0].mem; in Reset()
213 remaining_ = first_blocks_[0].size; in Reset()
277 if (blocks_alloced_ < TC3_ARRAYSIZE(first_blocks_)) { in AllocNewBlock()
279 block = &first_blocks_[blocks_alloced_++]; in AllocNewBlock()
350 if (index < TC3_ARRAYSIZE(first_blocks_)) { in AllocNewBlock()
351 return &first_blocks_[index]; in AllocNewBlock()
354 int index_in_overflow_blocks = index - TC3_ARRAYSIZE(first_blocks_); in AllocNewBlock()
422 DeallocateBytes(first_blocks_[i].mem, first_blocks_[i].size, in AllocNewBlock()
423 first_blocks_[i].alignment); in AllocNewBlock()
424 first_blocks_[i].mem = nullptr; in AllocNewBlock()
425 first_blocks_[i].size = 0; in AllocNewBlock()