Home
last modified time | relevance | path

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

/art/libartbase/base/
Dbit_memory_region.h253 constexpr uint32_t kVarintMax = 11; // Maximum value which is stored "inline". variable
292 return (x <= kVarintMax) ? x : ReadBits((x - kVarintMax) * kBitsPerByte); in ReadVarint()
309 if (UNLIKELY(values[i] > kVarintMax)) { in ReadInterleavedVarints()
310 values[i] = ReadBits((values[i] - kVarintMax) * kBitsPerByte); in ReadInterleavedVarints()
364 if (value > kVarintMax) { in WriteInterleavedVarints()
365 WriteBits(kVarintMax + BitsToBytesRoundUp(MinimumBitsToStore(value)), kVarintBits); in WriteInterleavedVarints()
372 if (value > kVarintMax) { in WriteInterleavedVarints()
/art/compiler/optimizing/
Dstack_map_stream.cc319 DCHECK_LE(flags, kVarintMax); // Ensure flags can be read directly as byte. in Encode()