Lines Matching refs:ArenaStack
26 ArenaStack::ArenaStack(ArenaPool* arena_pool)
36 ArenaStack::~ArenaStack() {
41 void ArenaStack::Reset() {
50 MemStats ArenaStack::GetPeakStats() const {
52 return MemStats("ArenaStack peak", static_cast<const TaggedStats<Peak>*>(&stats_and_pool_),
56 uint8_t* ArenaStack::AllocateFromNextArena(size_t rounded_bytes) {
75 void ArenaStack::UpdatePeakStatsAndRestore(const ArenaAllocatorStats& restore_stats) {
82 void ArenaStack::UpdateBytesAllocated() {
94 void* ArenaStack::AllocValgrind(size_t bytes, ArenaAllocKind kind) {
107 ScopedArenaAllocator::ScopedArenaAllocator(ArenaStack* arena_stack)