Home
last modified time | relevance | path

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

/art/libartbase/base/
Dbit_memory_region.h446 DCHECK_LE(BitsToBytesRoundUp(bit_offset), out_->size()); in Truncate()
447 out_->resize(BitsToBytesRoundUp(bit_offset)); // Shrink. in Truncate()
459 out_->resize(BitsToBytesRoundUp(bit_offset_ + bit_length)); in Allocate()
483 WriteBits(kVarintMax + BitsToBytesRoundUp(MinimumBitsToStore(value)), kVarintBits); in WriteInterleavedVarints()
491 WriteBits(value, BitsToBytesRoundUp(MinimumBitsToStore(value)) * kBitsPerByte); in WriteInterleavedVarints()
503 DCHECK_EQ(BitsToBytesRoundUp(bit_offset_), out_->size()); in WriteBytesAligned()
Dbit_table_test.cc186 EXPECT_EQ(hasher(MemoryRegion(&value0, BitsToBytesRoundUp(MinimumBitsToStore(value0[0])))), in TEST()
187 hasher(MemoryRegion(&value1, BitsToBytesRoundUp(MinimumBitsToStore(value1[0]))))); in TEST()
Dbit_table.h417 MemoryRegion region(const_cast<void*>(bitmap), BitsToBytesRoundUp(num_bits)); in Dedup()
Dbit_utils.h512 inline static constexpr size_t BitsToBytesRoundUp(size_t num_bits) { in BitsToBytesRoundUp() function
/art/dex2oat/linker/
Dcode_info_table_deduper.cc77 writer_.WriteBytesAligned(code_info_data, BitsToBytesRoundUp(read_region.size_in_bits())); in Dedupe()
/art/runtime/oat/
Dstack_map.cc185 stats.AddBytes(BitsToBytesRoundUp(num_bits)); in CollectSizeStats()
/art/libprofile/profile/
Dprofile_compilation_info.cc2718 size_t saved_bitmap_byte_size = BitsToBytesRoundUp(local_saved_bitmap_bit_size); in MethodsDataSize()
2756 size_t saved_bitmap_byte_size = BitsToBytesRoundUp(saved_bitmap_bit_size); in WriteMethods()
2860 size_t saved_bitmap_byte_size = BitsToBytesRoundUp(saved_bitmap_bit_size); in ReadMethods()