Searched refs:top_ptr_ (Results 1 – 2 of 2) sorted by relevance
31 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()
103 uint8_t* ptr = top_ptr_; in Alloc()108 top_ptr_ = ptr + rounded_bytes; in Alloc()124 uint8_t* top_ptr_; variable