Lines Matching refs:cur_len_
53 CanonOutputT() : buffer_(NULL), buffer_len_(0), cur_len_(0) {
59 // pointer to point to the new buffer, and any old data up to |cur_len_| in
79 return cur_len_;
108 cur_len_ = new_len;
116 if (cur_len_ < buffer_len_) {
117 buffer_[cur_len_] = ch;
118 cur_len_++;
128 buffer_[cur_len_] = ch;
129 cur_len_++;
134 if (cur_len_ + str_len > buffer_len_) {
135 if (!Grow(cur_len_ + str_len - buffer_len_))
139 buffer_[cur_len_ + i] = str[i];
140 cur_len_ += str_len;
162 int cur_len_;
183 sizeof(T) * (this->cur_len_ < sz ? this->cur_len_ : sz));