Searched refs:storage_begin_ (Results 1 – 2 of 2) sorted by relevance
27 size_t write_off = static_cast<size_t>(write_ptr_ - storage_begin_); in GrowSlowpath()28 size_t old_size = static_cast<size_t>(storage_end_ - storage_begin_); in GrowSlowpath()32 memcpy(new_buf.get(), storage_begin_, old_size); in GrowSlowpath()34 storage_begin_ = heap_buf_.get(); in GrowSlowpath()35 storage_end_ = storage_begin_ + new_size; in GrowSlowpath()36 write_ptr_ = storage_begin_ + write_off; in GrowSlowpath()41 storage_begin_ = reinterpret_cast<uint8_t*>(&stack_buf_[0]); in Reset()43 write_ptr_ = storage_begin_; in Reset()
60 const uint8_t* data() const { return storage_begin_; } in data()63 return static_cast<size_t>(write_ptr_ - storage_begin_); in size()68 PERFETTO_DCHECK(write_ptr_ >= storage_begin_ && write_ptr_ <= storage_end_); in GrowIfNeeded()82 uint8_t* storage_begin_; variable