Home
last modified time | relevance | path

Searched refs:bit_offset_ (Results 1 – 1 of 1) sorted by relevance

/art/libartbase/base/
Dbit_memory_region.h267 : out_(out), bit_start_(bit_offset), bit_offset_(bit_offset) { in out_()
272 return BitMemoryRegion(out_->data(), bit_start_, bit_offset_ - bit_start_); in GetWrittenRegion()
277 size_t NumberOfWrittenBits() const { return bit_offset_ - bit_start_; } in NumberOfWrittenBits()
280 out_->resize(BitsToBytesRoundUp(bit_offset_ + bit_length)); in Allocate()
281 BitMemoryRegion region(out_->data(), bit_offset_, bit_length); in Allocate()
282 DCHECK_LE(bit_length, std::numeric_limits<size_t>::max() - bit_offset_) << "Overflow"; in Allocate()
283 bit_offset_ += bit_length; in Allocate()
312 size_t end = bit_start_ + bit_offset_; in ByteAlign()
313 bit_offset_ += RoundUp(end, kBitsPerByte) - end; in ByteAlign()
319 size_t bit_offset_; variable