Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc4709 char* ptr_; member in mcld::arena
4726 arena() noexcept : ptr_(buf_) {} in arena()
4727 ~arena() {ptr_ = nullptr;} in ~arena()
4735 std::size_t used() const {return static_cast<std::size_t>(ptr_ - buf_);} in used()
4736 void reset() {ptr_ = buf_;} in reset()
4744 if (static_cast<std::size_t>(buf_ + N - ptr_) >= n) in allocate()
4746 char* r = ptr_; in allocate()
4747 ptr_ += n; in allocate()
4760 if (p + n == ptr_) in deallocate()
4761 ptr_ = p; in deallocate()