Searched refs:cur_len_ (Results 1 – 2 of 2) sorted by relevance
54 CanonOutputT() : buffer_(NULL), buffer_len_(0), cur_len_(0) { in CanonOutputT()80 return cur_len_; in length()109 cur_len_ = new_len; in set_length()117 if (cur_len_ < buffer_len_) { in push_back()118 buffer_[cur_len_] = ch; in push_back()119 cur_len_++; in push_back()129 buffer_[cur_len_] = ch; in push_back()130 cur_len_++; in push_back()135 if (cur_len_ + str_len > buffer_len_) { in Append()136 if (!Grow(cur_len_ + str_len - buffer_len_)) in Append()[all …]
63 cur_len_ = static_cast<int>(str_->size()); // Append to existing data. in StdStringCanonOutput()74 str_->resize(cur_len_); in Complete()75 buffer_len_ = cur_len_; in Complete()