Searched refs:BitsToBytesRoundUp (Results 1 – 7 of 7) sorted by relevance
446 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()
186 EXPECT_EQ(hasher(MemoryRegion(&value0, BitsToBytesRoundUp(MinimumBitsToStore(value0[0])))), in TEST()187 hasher(MemoryRegion(&value1, BitsToBytesRoundUp(MinimumBitsToStore(value1[0]))))); in TEST()
417 MemoryRegion region(const_cast<void*>(bitmap), BitsToBytesRoundUp(num_bits)); in Dedup()
512 inline static constexpr size_t BitsToBytesRoundUp(size_t num_bits) { in BitsToBytesRoundUp() function
77 writer_.WriteBytesAligned(code_info_data, BitsToBytesRoundUp(read_region.size_in_bits())); in Dedupe()
185 stats.AddBytes(BitsToBytesRoundUp(num_bits)); in CollectSizeStats()
2718 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()