Searched refs:num_dist_codes (Results 1 – 2 of 2) sorted by relevance
87 int num_dist_codes = 0; /* Amount of non-zero distance codes */ in PatchDistanceCodesForBuggyDecoders() local90 if (d_lengths[i]) num_dist_codes++; in PatchDistanceCodesForBuggyDecoders()91 if (num_dist_codes >= 2) return; /* Two or more codes is fine. */ in PatchDistanceCodesForBuggyDecoders()94 if (num_dist_codes == 0) { in PatchDistanceCodesForBuggyDecoders()96 } else if (num_dist_codes == 1) { in PatchDistanceCodesForBuggyDecoders()
1177 …int num_lit_codes, num_dist_codes, num_bit_lengths; mz_uint i, total_code_sizes_to_pack, num_packe… in tdefl_start_dynamic_block() local1186 …for (num_dist_codes = 30; num_dist_codes > 1; num_dist_codes--) if (d->m_huff_code_sizes[1][num_di… in tdefl_start_dynamic_block()1189 memcpy(code_sizes_to_pack + num_lit_codes, &d->m_huff_code_sizes[1][0], num_dist_codes); in tdefl_start_dynamic_block()1190 …total_code_sizes_to_pack = num_lit_codes + num_dist_codes; num_packed_code_sizes = 0; rle_z_count … in tdefl_start_dynamic_block()1223 TDEFL_PUT_BITS(num_dist_codes - 1, 5); in tdefl_start_dynamic_block()