Searched refs:TDEFL_MAX_MATCH_LEN (Results 1 – 2 of 2) sorted by relevance
664 …L_LZ_DICT_SIZE_MASK = TDEFL_LZ_DICT_SIZE - 1, TDEFL_MIN_MATCH_LEN = 3, TDEFL_MAX_MATCH_LEN = 258 }; enumerator709 mz_uint8 m_dict[TDEFL_LZ_DICT_SIZE + TDEFL_MAX_MATCH_LEN - 1];
1510 MZ_ASSERT(max_match_len <= TDEFL_MAX_MATCH_LEN); if (max_match_len <= match_len) return; in tdefl_find_match()1528 *pMatch_dist = dist; *pMatch_len = MZ_MIN(max_match_len, TDEFL_MAX_MATCH_LEN); break; in tdefl_find_match()1544 MZ_ASSERT(max_match_len <= TDEFL_MAX_MATCH_LEN); if (max_match_len <= match_len) return; in tdefl_find_match()1587 if (dst_pos < (TDEFL_MAX_MATCH_LEN - 1)) in tdefl_compress_fast()1588 …memcpy(d->m_dict + TDEFL_LZ_DICT_SIZE + dst_pos, d->m_pSrc, MZ_MIN(n, (TDEFL_MAX_MATCH_LEN - 1) - … in tdefl_compress_fast()1615 cur_match_len = cur_match_dist ? TDEFL_MAX_MATCH_LEN : 0; in tdefl_compress_fast()1749 …mz_uint num_bytes_to_process = (mz_uint)MZ_MIN(src_buf_left, TDEFL_MAX_MATCH_LEN - d->m_lookahead_… in tdefl_compress_normal()1755 …mz_uint8 c = *pSrc++; d->m_dict[dst_pos] = c; if (dst_pos < (TDEFL_MAX_MATCH_LEN - 1)) d->m_dict[T… in tdefl_compress_normal()1763 while ((src_buf_left) && (d->m_lookahead_size < TDEFL_MAX_MATCH_LEN)) in tdefl_compress_normal()1769 if (dst_pos < (TDEFL_MAX_MATCH_LEN - 1)) in tdefl_compress_normal()[all …]