Lines Matching refs:length_
161 EndianOutput() : length_(0), sum_length_(0), max_length_(0), started_(false) {} in EndianOutput()
165 if (length_ > 0) { in StartNewRecord()
168 DCHECK_EQ(length_, 0U); in StartNewRecord()
179 length_ - sizeof(uint8_t) - 2 * sizeof(uint32_t)); in EndRecord()
184 sum_length_ += length_; in EndRecord()
185 max_length_ = std::max(max_length_, length_); in EndRecord()
186 length_ = 0; in EndRecord()
231 length_ += count; in AddU1List()
235 length_ += count * sizeof(uint16_t); in AddU2List()
239 length_ += count * sizeof(uint32_t); in AddU4List()
242 DCHECK_LE(offset, length_ - 4); in UpdateU4()
246 length_ += count * sizeof(uint64_t); in AddU8List()
263 return length_; in Length()
293 size_t length_; // Current record size. member in art::hprof::EndianOutput
308 DCHECK_LE(offset, length_ - 4); in UpdateU4()
317 DCHECK_EQ(length_, buffer_.size()); in HandleU1List()
322 DCHECK_EQ(length_, buffer_.size()); in HandleU1AsU2List()
335 DCHECK_EQ(length_, buffer_.size()); in HandleU2List()
345 DCHECK_EQ(length_, buffer_.size()); in HandleU4List()
357 DCHECK_EQ(length_, buffer_.size()); in HandleU8List()
373 DCHECK_EQ(buffer_.size(), length_); in HandleEndRecord()
380 DCHECK_EQ(stored_length, length_ - sizeof(uint8_t) - 2 * sizeof(uint32_t)); in HandleEndRecord()
382 HandleFlush(buffer_.data(), length_); in HandleEndRecord()