Searched refs:max_prefix (Results 1 – 2 of 2) sorted by relevance
649 uint32_t max_prefix; in RunLengthCodeZeros() local658 max_prefix = max_reps > 0 ? Log2FloorNonZero(max_reps) : 0; in RunLengthCodeZeros()659 max_prefix = BROTLI_MIN(uint32_t, max_prefix, *max_run_length_prefix); in RunLengthCodeZeros()660 *max_run_length_prefix = max_prefix; in RunLengthCodeZeros()676 if (reps < (2u << max_prefix)) { in RunLengthCodeZeros()683 const uint32_t extra_bits = (1u << max_prefix) - 1u; in RunLengthCodeZeros()684 v[*out_size] = max_prefix + (extra_bits << 9); in RunLengthCodeZeros()685 reps -= (2u << max_prefix) - 1u; in RunLengthCodeZeros()
459 unsigned int max_prefix = is_ipv6 ? MAX_IPV6_PREFIX : MAX_IPV4_PREFIX; in check_prefix_range() local469 base_prefix, max_prefix); in check_prefix_range()