Lines Matching refs:next_
136 for (const Arena* arena = first; arena != nullptr; arena = arena->next_) { in Dump()
189 Arena::Arena() : bytes_allocated_(0), memory_(nullptr), size_(0), next_(nullptr) { in Arena()
303 free_arenas_ = free_arenas_->next_; in ReclaimMemory()
320 free_arenas_ = free_arenas_->next_; in AllocArena()
336 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) { in TrimMaps()
345 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) { in GetBytesAllocated()
353 for (Arena* arena = first; arena != nullptr; arena = arena->next_) { in FreeArenaChain()
361 Arena* next = first->next_; in FreeArenaChain()
370 while (last->next_ != nullptr) { in FreeArenaChain()
371 last = last->next_; in FreeArenaChain()
375 last->next_ = free_arenas_; in FreeArenaChain()
387 for (Arena* cur_arena = arena_head_->next_; cur_arena != nullptr; in BytesUsed()
388 cur_arena = cur_arena->next_) { in BytesUsed()
469 new_arena->next_ = arena_head_->next_; in AllocFromNewArena()
470 arena_head_->next_ = new_arena; in AllocFromNewArena()
473 new_arena->next_ = arena_head_; in AllocFromNewArena()
493 DCHECK(arena_head_->next_ != nullptr); in AllocFromNewArenaWithMemoryTool()
494 DCHECK(ret == arena_head_->next_->Begin()); in AllocFromNewArenaWithMemoryTool()
495 DCHECK_EQ(bytes, arena_head_->next_->GetBytesAllocated()); in AllocFromNewArenaWithMemoryTool()
496 noaccess_end = arena_head_->next_->End(); in AllocFromNewArenaWithMemoryTool()
506 for (const Arena* cur_arena = arena_head_; cur_arena != nullptr; cur_arena = cur_arena->next_) { in Contains()