Home
last modified time | relevance | path

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

/art/libartbase/base/
Dscoped_arena_allocator.cc31 top_ptr_(nullptr), in ArenaStack()
45 top_ptr_ = nullptr; in Reset()
85 size_t allocated = static_cast<size_t>(top_ptr_ - top_arena_->Begin()); in UpdateBytesAllocated()
97 uint8_t* ptr = top_ptr_; in AllocWithMemoryTool()
104 top_ptr_ = ptr + rounded_bytes; in AllocWithMemoryTool()
136 mark_ptr_(arena_stack->top_ptr_), in ScopedArenaAllocator()
150 arena_stack_->top_ptr_ = mark_ptr_ + RoundUp(sizeof(ScopedArenaAllocator), 8); in Reset()
161 arena_stack_->top_ptr_ = mark_ptr_; in DoReset()
165 mark_ptr_ = arena_stack_->top_ptr_ = mark_arena_->Begin(); in DoReset()
186 sum += static_cast<size_t>(arena_stack_->top_ptr_ - arena->Begin()); in ApproximatePeakBytes()
Dscoped_arena_allocator.h103 uint8_t* ptr = top_ptr_; in Alloc()
108 top_ptr_ = ptr + rounded_bytes; in Alloc()
124 uint8_t* top_ptr_; variable