Lines Matching defs:match_dist
3526 match_dist = *(const mz_uint16 *)(pLZ_codes + 1);
3536 s0 = s_tdefl_small_dist_sym[match_dist & 511];
3537 n0 = s_tdefl_small_dist_extra[match_dist & 511];
3538 s1 = s_tdefl_large_dist_sym[match_dist >> 8];
3539 n1 = s_tdefl_large_dist_extra[match_dist >> 8];
3540 sym = (match_dist < 512) ? s0 : s1;
3541 num_extra_bits = (match_dist < 512) ? n0 : n1;
3546 TDEFL_PUT_BITS_FAST(match_dist & mz_bitmasks[num_extra_bits],
3608 match_dist = (pLZ_codes[1] | (pLZ_codes[2] << 8));
3617 if (match_dist < 512) {
3618 sym = s_tdefl_small_dist_sym[match_dist];
3619 num_extra_bits = s_tdefl_small_dist_extra[match_dist];
3621 sym = s_tdefl_large_dist_sym[match_dist >> 8];
3622 num_extra_bits = s_tdefl_large_dist_extra[match_dist >> 8];
3626 TDEFL_PUT_BITS(match_dist & mz_bitmasks[num_extra_bits], num_extra_bits);
4074 mz_uint match_dist) {
4077 MZ_ASSERT((match_len >= TDEFL_MIN_MATCH_LEN) && (match_dist >= 1) &&
4078 (match_dist <= TDEFL_LZ_DICT_SIZE));
4084 match_dist -= 1;
4085 d->m_pLZ_code_buf[1] = (mz_uint8)(match_dist & 0xFF);
4086 d->m_pLZ_code_buf[2] = (mz_uint8)(match_dist >> 8);
4095 s0 = s_tdefl_small_dist_sym[match_dist & 511];
4096 s1 = s_tdefl_large_dist_sym[(match_dist >> 8) & 127];
4097 d->m_huff_count[1][(match_dist < 512) ? s0 : s1]++;