Searched refs:bit_offset_ (Results 1 – 1 of 1) sorted by relevance
328 : out_(out), bit_start_(bit_offset), bit_offset_(bit_offset) { in out_()333 return BitMemoryRegion(out_->data(), bit_start_, bit_offset_ - bit_start_); in GetWrittenRegion()338 size_t NumberOfWrittenBits() const { return bit_offset_ - bit_start_; } in NumberOfWrittenBits()341 out_->resize(BitsToBytesRoundUp(bit_offset_ + bit_length)); in Allocate()342 BitMemoryRegion region(out_->data(), bit_offset_, bit_length); in Allocate()343 DCHECK_LE(bit_length, std::numeric_limits<size_t>::max() - bit_offset_) << "Overflow"; in Allocate()344 bit_offset_ += bit_length; in Allocate()383 size_t end = bit_start_ + bit_offset_; in ByteAlign()384 bit_offset_ += RoundUp(end, kBitsPerByte) - end; in ByteAlign()390 size_t bit_offset_; variable