Home | History | Annotate | Download | only in include

Lines Matching refs:length_

18       : ptr_(ptr), length_(length), off_(0) {
22 if ((off_ + length > length_) ||
33 if (static_cast<size_t>(position) > length_) return false;
44 size_t length_;
51 : length_(initial), limit_(limit), off_(0) {
52 ptr_ = new uint8_t[length_];
64 if ((off_ + length > length_) ||
66 if (length_ == limit_)
68 size_t new_length = (length_ + 1) * 2;
69 if (new_length < length_)
74 std::memcpy(new_buf, ptr_, length_);
75 length_ = new_length;
87 if (static_cast<size_t>(position) > length_) return false;
98 size_t length_;