Lines Matching refs:buf_
147 PinnableSlice() { buf_ = &self_space_; } in PinnableSlice()
148 explicit PinnableSlice(std::string* buf) { buf_ = buf; } in PinnableSlice()
178 buf_->assign(slice.data(), slice.size()); in PinSelf()
179 data_ = buf_->data(); in PinSelf()
180 size_ = buf_->size(); in PinSelf()
186 data_ = buf_->data(); in PinSelf()
187 size_ = buf_->size(); in PinSelf()
196 buf_->erase(size() - n, n); in remove_suffix()
207 buf_->erase(0, n); in remove_prefix()
218 inline std::string* GetSelf() { return buf_; } in GetSelf()
225 std::string* buf_; variable