Lines Matching refs:length_
27 CHECK_LE(bytes, length_);
32 *old = length_;
38 DCHECK(length_ < capacity_);
39 // Since the trailing '\0' is not accounted for in length_ fullness is
40 // indicated by a difference of 1 between length_ and capacity_. Thus when
42 if (length_ == capacity_ - 2) {
51 length_ = capacity_ - 1; // Indicate fullness of the stream.
52 buffer_[length_ - 4] = '.';
53 buffer_[length_ - 3] = '.';
54 buffer_[length_ - 2] = '.';
55 buffer_[length_ - 1] = '\n';
56 buffer_[length_] = '\0';
60 buffer_[length_] = c;
61 buffer_[length_ + 1] = '\0';
62 length_++;
191 DCHECK_EQ(buffer_[length_], '\0');
225 char* str = NewArray<char>(length_ + 1);
226 MemCopy(str, buffer_, length_);
227 str[length_] = '\0';
241 for (unsigned next; (next = position + 2048) < length_; position = next) {
252 ->NewStringFromUtf8(base::Vector<const char>(buffer_, length_))