Home
last modified time | relevance | path

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

/art/libartbase/base/
Dbit_memory_region.h329 constexpr uint32_t kVarintBits = 4; variable
395 uint32_t x = ReadBits(kVarintBits); in ReadVarint()
404 static_assert(N * kVarintBits <= sizeof(uint64_t) * kBitsPerByte, "N too big"); in ReadInterleavedVarints()
407 uint64_t data = ReadBits<uint64_t>(N * kVarintBits); in ReadInterleavedVarints()
409 values[i] = BitFieldExtract(data, i * kVarintBits, kVarintBits); in ReadInterleavedVarints()
477 WriteBits(kVarintMax + BitsToBytesRoundUp(MinimumBitsToStore(value)), kVarintBits); in WriteInterleavedVarints()
479 WriteBits(value, kVarintBits); in WriteInterleavedVarints()
Dbit_memory_region_test.cc46 uint32_t upper_bound = RoundUp(MinimumBitsToStore(value), kBitsPerByte) + kVarintBits; in TEST()