Home
last modified time | relevance | path

Searched refs:MINMATCH (Results 1 – 3 of 3) sorted by relevance

/lib/lz4/
Dlz4defs.h73 #define MINMATCH 4 macro
76 #define MFLIMIT (COPYLENGTH + MINMATCH)
85 #define OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH)
90 ((MINMATCH * 8) - (MEMORY_USAGE-2)))
92 ((MINMATCH * 8) - HASHLOG64K))
94 ((MINMATCH * 8) - HASH_LOG))
Dlz4hc_compress.c145 repl = ml = lz4hc_commonlength(ip + MINMATCH, in lz4hc_insertandfindbestmatch()
146 ref + MINMATCH, matchlimit) + MINMATCH; in lz4hc_insertandfindbestmatch()
157 lz4hc_commonlength(ip + MINMATCH, in lz4hc_insertandfindbestmatch()
158 ref + MINMATCH, matchlimit) + MINMATCH; in lz4hc_insertandfindbestmatch()
172 end = ip + repl - (MINMATCH-1); in lz4hc_insertandfindbestmatch()
214 const u8 *reft = ref + MINMATCH; in lz4hc_insertandgetwidermatch()
215 const u8 *ipt = ip + MINMATCH; in lz4hc_insertandgetwidermatch()
294 len = (int)(ml - MINMATCH); in lz4_encodesequence()
396 if (ip + new_ml > start2 + ml2 - MINMATCH) in lz4_compresshcctx()
397 new_ml = (int)(start2 - ip) + ml2 - MINMATCH; in lz4_compresshcctx()
[all …]
Dlz4_compress.c142 ip += MINMATCH; in lz4_compressctx()
144 ref += MINMATCH; in lz4_compressctx()
322 ip += MINMATCH; in lz4_compress64kctx()
324 ref += MINMATCH; in lz4_compress64kctx()