Searched refs:bit_offset_ (Results 1 – 1 of 1) sorted by relevance
432 : out_(out), bit_start_(bit_offset), bit_offset_(bit_offset) { in out_()438 DCHECK_LE(bit_offset, bit_offset_); in Truncate()439 bit_offset_ = bit_offset; in Truncate()445 return BitMemoryRegion(out_->data(), bit_start_, bit_offset_ - bit_start_); in GetWrittenRegion()450 size_t NumberOfWrittenBits() const { return bit_offset_ - bit_start_; } in NumberOfWrittenBits()453 out_->resize(BitsToBytesRoundUp(bit_offset_ + bit_length)); in Allocate()454 BitMemoryRegion region(out_->data(), bit_offset_, bit_length); in Allocate()455 DCHECK_LE(bit_length, std::numeric_limits<size_t>::max() - bit_offset_) << "Overflow"; in Allocate()456 bit_offset_ += bit_length; in Allocate()496 DCHECK_ALIGNED(bit_offset_, kBitsPerByte); in WriteBytesAligned()[all …]