Home
last modified time | relevance | path

Searched refs:mLength (Results 1 – 6 of 6) sorted by relevance

/freebsd-head/sys/contrib/zstd/lib/compress/
HDzstd_double_fast.c72 size_t mLength; in ZSTD_compressBlock_doubleFast_noDict_generic() local
132 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_noDict_generic()
134 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_REPCODE_1, mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
143 mLength = ZSTD_count(ip+8, matchl0+8, iend) + 8; in ZSTD_compressBlock_doubleFast_noDict_generic()
145 …& (matchl0>prefixLowest)) && (ip[-1] == matchl0[-1])) { ip--; matchl0--; mLength++; } /* catch up … in ZSTD_compressBlock_doubleFast_noDict_generic()
191 mLength = ZSTD_count(ip+8, matchl1+8, iend) + 8; in ZSTD_compressBlock_doubleFast_noDict_generic()
193 …& (matchl1>prefixLowest)) && (ip[-1] == matchl1[-1])) { ip--; matchl1--; mLength++; } /* catch up … in ZSTD_compressBlock_doubleFast_noDict_generic()
199 mLength = ZSTD_count(ip+4, matchs0+4, iend) + 4; in ZSTD_compressBlock_doubleFast_noDict_generic()
201 …& (matchs0>prefixLowest)) && (ip[-1] == matchs0[-1])) { ip--; matchs0--; mLength++; } /* catch up … in ZSTD_compressBlock_doubleFast_noDict_generic()
220 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_OFFSET(offset), mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
[all …]
HDzstd_fast.c129 size_t mLength; in ZSTD_compressBlock_fast_noDict_generic() local
180 mLength = ip0[-1] == match0[-1]; in ZSTD_compressBlock_fast_noDict_generic()
181 ip0 -= mLength; in ZSTD_compressBlock_fast_noDict_generic()
182 match0 -= mLength; in ZSTD_compressBlock_fast_noDict_generic()
184 mLength += 4; in ZSTD_compressBlock_fast_noDict_generic()
271 mLength = 4; in ZSTD_compressBlock_fast_noDict_generic()
277 mLength++; in ZSTD_compressBlock_fast_noDict_generic()
283 mLength += ZSTD_count(ip0 + mLength, match0 + mLength, iend); in ZSTD_compressBlock_fast_noDict_generic()
285 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength); in ZSTD_compressBlock_fast_noDict_generic()
287 ip0 += mLength; in ZSTD_compressBlock_fast_noDict_generic()
[all …]
HDzstd_ldm.c382 bestMatchLength = 0, mLength; in ZSTD_ldm_generateSequences_internal() local
452 mLength = forwardMatchLength + backwardMatchLength; in ZSTD_ldm_generateSequences_internal()
460 seq->matchLength = (U32)mLength; in ZSTD_ldm_generateSequences_internal()
/freebsd-head/sys/contrib/openzfs/module/zstd/lib/compress/
HDzstd_double_fast.c127 size_t mLength; in ZSTD_compressBlock_doubleFast_generic() local
150 mLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_doubleFast_generic()
152 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic()
159 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_generic()
161 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic()
168 mLength = ZSTD_count(ip+8, matchLong+8, iend) + 8; in ZSTD_compressBlock_doubleFast_generic()
170 …chLong>prefixLowest)) && (ip[-1] == matchLong[-1])) { ip--; matchLong--; mLength++; } /* catch up … in ZSTD_compressBlock_doubleFast_generic()
180 mLength = ZSTD_count_2segments(ip+8, dictMatchL+8, iend, dictEnd, prefixLowest) + 8; in ZSTD_compressBlock_doubleFast_generic()
182 …tMatchL>dictStart)) && (ip[-1] == dictMatchL[-1])) { ip--; dictMatchL--; mLength++; } /* catch up … in ZSTD_compressBlock_doubleFast_generic()
218 mLength = ZSTD_count(ip+9, matchL3+8, iend) + 8; in ZSTD_compressBlock_doubleFast_generic()
[all …]
HDzstd_fast.c92 size_t mLength; in ZSTD_compressBlock_fast_generic() local
117 mLength = (ip2[-1] == repMatch[-1]) ? 1 : 0; in ZSTD_compressBlock_fast_generic()
118 ip0 = ip2 - mLength; in ZSTD_compressBlock_fast_generic()
119 match0 = repMatch - mLength; in ZSTD_compressBlock_fast_generic()
120 mLength += 4; in ZSTD_compressBlock_fast_generic()
145 mLength = 4; in ZSTD_compressBlock_fast_generic()
148 && (ip0[-1] == match0[-1])) { ip0--; match0--; mLength++; } /* catch up */ in ZSTD_compressBlock_fast_generic()
152 mLength += ZSTD_count(ip0+mLength, match0+mLength, iend); in ZSTD_compressBlock_fast_generic()
153 ZSTD_storeSeq(seqStore, (size_t)(ip0-anchor), anchor, iend, offcode, mLength-MINMATCH); in ZSTD_compressBlock_fast_generic()
155 ip0 += mLength; in ZSTD_compressBlock_fast_generic()
[all …]
HDzstd_ldm.c289 size_t mLength; in ZSTD_ldm_generateSequences_internal() local
376 mLength = forwardMatchLength + backwardMatchLength; in ZSTD_ldm_generateSequences_internal()
392 seq->matchLength = (U32)mLength; in ZSTD_ldm_generateSequences_internal()
406 if (ip + mLength <= ilimit) { in ZSTD_ldm_generateSequences_internal()
409 ip + mLength, base, hBits, *params); in ZSTD_ldm_generateSequences_internal()
410 lastHashed = ip + mLength - 1; in ZSTD_ldm_generateSequences_internal()
412 ip += mLength; in ZSTD_ldm_generateSequences_internal()