Searched refs:max_prefix (Results 1 – 2 of 2) sorted by relevance
634 uint32_t max_prefix; in RunLengthCodeZeros() local643 max_prefix = max_reps > 0 ? Log2FloorNonZero(max_reps) : 0; in RunLengthCodeZeros()644 max_prefix = BROTLI_MIN(uint32_t, max_prefix, *max_run_length_prefix); in RunLengthCodeZeros()645 *max_run_length_prefix = max_prefix; in RunLengthCodeZeros()661 if (reps < (2u << max_prefix)) { in RunLengthCodeZeros()668 const uint32_t extra_bits = (1u << max_prefix) - 1u; in RunLengthCodeZeros()669 v[*out_size] = max_prefix + (extra_bits << 9); in RunLengthCodeZeros()670 reps -= (2u << max_prefix) - 1u; in RunLengthCodeZeros()
447 unsigned int max_prefix = is_ipv6 ? MAX_IPV6_PREFIX : MAX_IPV4_PREFIX; in check_prefix_range() local457 base_prefix, max_prefix); in check_prefix_range()