Home
last modified time | relevance | path

Searched refs:top_ptr_ (Results 1 – 2 of 2) sorted by relevance

/art/runtime/base/
Dscoped_arena_allocator.cc31 top_ptr_(nullptr), in ArenaStack()
45 top_ptr_ = nullptr; in Reset()
86 size_t allocated = static_cast<size_t>(top_ptr_ - top_arena_->Begin()); in UpdateBytesAllocated()
98 uint8_t* ptr = top_ptr_; in AllocWithMemoryTool()
105 top_ptr_ = ptr + rounded_bytes; in AllocWithMemoryTool()
116 mark_ptr_(arena_stack->top_ptr_), in ScopedArenaAllocator()
128 arena_stack_->top_ptr_ = mark_ptr_ + RoundUp(sizeof(ScopedArenaAllocator), 8); in Reset()
139 arena_stack_->top_ptr_ = mark_ptr_; in DoReset()
143 mark_ptr_ = arena_stack_->top_ptr_ = mark_arena_->Begin(); in DoReset()
Dscoped_arena_allocator.h94 uint8_t* ptr = top_ptr_; in Alloc()
99 top_ptr_ = ptr + rounded_bytes; in Alloc()
115 uint8_t* top_ptr_; variable