Searched refs:arena_stack_ (Results 1 – 5 of 5) sorted by relevance
113 arena_stack_(other.arena_stack_), in ScopedArenaAllocator()118 other.arena_stack_ = nullptr; in ScopedArenaAllocator()125 arena_stack_(arena_stack), in ScopedArenaAllocator()132 if (arena_stack_ != nullptr) { in ~ScopedArenaAllocator()141 arena_stack_->top_ptr_ = mark_ptr_ + RoundUp(sizeof(ScopedArenaAllocator), 8); in Reset()148 arena_stack_->UpdatePeakStatsAndRestore(*this); in DoReset()149 arena_stack_->UpdateBytesAllocated(); in DoReset()151 arena_stack_->top_arena_ = mark_arena_; in DoReset()152 arena_stack_->top_ptr_ = mark_ptr_; in DoReset()153 arena_stack_->top_end_ = mark_end_; in DoReset()[all …]
118 arena_stack_(allocator->arena_stack_) { in DebugStackReference()125 arena_stack_(other.arena_stack_) { in ScopedArenaAllocatorAdapter()132 ArenaStack* arena_stack_;161 arena_stack_(allocator->arena_stack_) { in DebugStackReference()168 arena_stack_(other.arena_stack_) { in ScopedArenaAllocatorAdapter()185 return reinterpret_cast<T*>(arena_stack_->Alloc(n * sizeof(T),190 arena_stack_->MakeInaccessible(p, sizeof(T) * n); in deallocate()205 ArenaStack* arena_stack_;218 return lhs.arena_stack_ == rhs.arena_stack_;
146 return arena_stack_; in GetArenaStack()153 return arena_stack_->Alloc(bytes, kind);173 ArenaStack* arena_stack_;
95 : pool_(), allocator_(&pool_), arena_stack_(&pool_), scoped_allocator_(&arena_stack_) { } in ArenaPoolAndAllocator()98 ArenaStack* GetArenaStack() { return &arena_stack_; } in GetArenaStack()104 ArenaStack arena_stack_; variable
279 ArenaStack arena_stack_; variable