Searched refs:buffer_length_ (Results 1 – 6 of 6) sorted by relevance
22 buffer_length_(size), in FifoBuffer()32 buffer_length_(size), in FifoBuffer()53 if (size != buffer_length_) { in SetCapacity()56 const size_t tail_copy = std::min(copy, buffer_length_ - read_position_); in SetCapacity()61 buffer_length_ = size; in SetCapacity()92 const bool was_writable = data_length_ < buffer_length_; in Read()99 read_position_ = (read_position_ + copy) % buffer_length_; in Read()145 *size = (read_position_ + data_length_ <= buffer_length_) in GetReadData()147 : buffer_length_ - read_position_; in GetReadData()154 const bool was_writable = data_length_ < buffer_length_; in ConsumeReadData()[all …]
122 size_t buffer_length_ RTC_GUARDED_BY(mutex_);
50 size_t available = buffer_length_ - seek_position_; in Write()56 std::max(((seek_position_ + bytes) | 0xFF) + 1, buffer_length_ * 2); in Write()61 RTC_DCHECK(buffer_length_ >= new_buffer_length); in Write()62 available = buffer_length_ - seek_position_; in Write()119 data_length_ = buffer_length_ = length; in SetData()121 buffer_ = new char[buffer_length_]; in SetData()127 if (buffer_length_ >= size) in DoReserve()134 buffer_length_ = size; in DoReserve()
54 size_t buffer_length_ = 0; variable
149 uint64_t buffer_length_; variable522 uint64_t buffer_length_; variable911 : buffer_(buffer), buffer_length_(buffer_length), in buffer_()1067 size_t buffer_length_; variable
256 assert(headerptr + 4 < buffer_ + buffer_length_); in ReadHeader()262 assert(headerptr + 2 < buffer_ + buffer_length_); in ReadHeader()266 assert(headerptr + reader_->OffsetSize() < buffer_ + buffer_length_); in ReadHeader()272 assert(headerptr + 1 <= buffer_ + buffer_length_); in ReadHeader()283 buffer_ + buffer_length_); in ReadHeader()297 buffer_length_ = iter->second.second - offset_from_section_start_; in Start()909 buffer_length_ = buffer_length; in LineInfo()932 buffer_ + buffer_length_); in ReadHeader()2199 const uint8_t *buffer_end = buffer_ + buffer_length_; in ReadEntryPrologue()2535 const uint8_t *buffer_end = buffer_ + buffer_length_; in Start()[all …]