Searched refs:arena_stack_ (Results 1 – 5 of 5) sorted by relevance
122 arena_stack_(other.arena_stack_), in ScopedArenaAllocator()127 other.arena_stack_ = nullptr; in ScopedArenaAllocator()134 arena_stack_(arena_stack), in ScopedArenaAllocator()141 if (arena_stack_ != nullptr) { in ~ScopedArenaAllocator()150 arena_stack_->top_ptr_ = mark_ptr_ + RoundUp(sizeof(ScopedArenaAllocator), 8); in Reset()157 arena_stack_->UpdatePeakStatsAndRestore(*this); in DoReset()158 arena_stack_->UpdateBytesAllocated(); in DoReset()160 arena_stack_->top_arena_ = mark_arena_; in DoReset()161 arena_stack_->top_ptr_ = mark_ptr_; in DoReset()162 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_;
148 return arena_stack_; in GetArenaStack()155 return arena_stack_->Alloc(bytes, kind);177 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
318 ArenaStack arena_stack_; variable