Searched refs:kMaxVarIntLengthBytes (Results 1 – 5 of 5) sorted by relevance
20 const size_t kMaxVarIntLengthBytes = 10; // ceil(64 / 7.0) is 10. variable24 output.reserve(kMaxVarIntLengthBytes); in EncodeVarInt()36 RTC_DCHECK_LE(output.size(), kMaxVarIntLengthBytes); in EncodeVarInt()48 for (size_t i = 0; i < input.length() && i < kMaxVarIntLengthBytes; ++i) { in DecodeVarInt()64 for (size_t i = 0; i < kMaxVarIntLengthBytes; ++i) { in DecodeVarInt()
128 for (size_t i = 0; i < kMaxVarIntLengthBytes; ++i) { in TEST()129 ASSERT_LE(kMaxVarIntLengthBytes, 0xffu); in TEST()141 for (size_t i = 0; i < kMaxVarIntLengthBytes - 1; ++i) { in TEST()
25 extern const size_t kMaxVarIntLengthBytes;
24 size_t result_length_bound = kMaxVarIntLengthBytes * blobs.size(); in EncodeBlobs()
471 const size_t first_value_varint_size_bits = 8 * kMaxVarIntLengthBytes; in EncodedDeltasLengthBits()