Lines Matching refs:match_dist

1105             mz_uint match_len = pLZ_codes[0], match_dist = *(const mz_uint16 *)(pLZ_codes + 1);  in tdefl_compress_lz_codes()  local
1113 s0 = s_tdefl_small_dist_sym[match_dist & 511]; in tdefl_compress_lz_codes()
1114 n0 = s_tdefl_small_dist_extra[match_dist & 511]; in tdefl_compress_lz_codes()
1115 s1 = s_tdefl_large_dist_sym[match_dist >> 8]; in tdefl_compress_lz_codes()
1116 n1 = s_tdefl_large_dist_extra[match_dist >> 8]; in tdefl_compress_lz_codes()
1117 sym = (match_dist < 512) ? s0 : s1; in tdefl_compress_lz_codes()
1118 num_extra_bits = (match_dist < 512) ? n0 : n1; in tdefl_compress_lz_codes()
1122 TDEFL_PUT_BITS_FAST(match_dist & mz_bitmasks[num_extra_bits], num_extra_bits); in tdefl_compress_lz_codes()
1188 mz_uint match_len = pLZ_codes[0], match_dist = (pLZ_codes[1] | (pLZ_codes[2] << 8)); in tdefl_compress_lz_codes() local
1195 if (match_dist < 512) in tdefl_compress_lz_codes()
1197 sym = s_tdefl_small_dist_sym[match_dist]; in tdefl_compress_lz_codes()
1198 num_extra_bits = s_tdefl_small_dist_extra[match_dist]; in tdefl_compress_lz_codes()
1202 sym = s_tdefl_large_dist_sym[match_dist >> 8]; in tdefl_compress_lz_codes()
1203 num_extra_bits = s_tdefl_large_dist_extra[match_dist >> 8]; in tdefl_compress_lz_codes()
1207 TDEFL_PUT_BITS(match_dist & mz_bitmasks[num_extra_bits], num_extra_bits); in tdefl_compress_lz_codes()
1681 … MZ_FORCEINLINE void tdefl_record_match(tdefl_compressor *d, mz_uint match_len, mz_uint match_dist) in tdefl_record_match() argument
1685 …MZ_ASSERT((match_len >= TDEFL_MIN_MATCH_LEN) && (match_dist >= 1) && (match_dist <= TDEFL_LZ_DICT_… in tdefl_record_match()
1691 match_dist -= 1; in tdefl_record_match()
1692 d->m_pLZ_code_buf[1] = (mz_uint8)(match_dist & 0xFF); in tdefl_record_match()
1693 d->m_pLZ_code_buf[2] = (mz_uint8)(match_dist >> 8); in tdefl_record_match()
1703 s0 = s_tdefl_small_dist_sym[match_dist & 511]; in tdefl_record_match()
1704 s1 = s_tdefl_large_dist_sym[(match_dist >> 8) & 127]; in tdefl_record_match()
1705 d->m_huff_count[1][(match_dist < 512) ? s0 : s1]++; in tdefl_record_match()