Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_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 …]
H A Dzstd_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 …]
H A Dzstd_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/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_double_fast.c126 size_t mLength; in ZSTD_compressBlock_doubleFast_generic() local
149 mLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_doubleFast_generic()
151 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic()
158 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_generic()
160 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic()
167 mLength = ZSTD_count(ip+8, matchLong+8, iend) + 8; in ZSTD_compressBlock_doubleFast_generic()
169 …chLong>prefixLowest)) && (ip[-1] == matchLong[-1])) { ip--; matchLong--; mLength++; } /* catch up … in ZSTD_compressBlock_doubleFast_generic()
179 mLength = ZSTD_count_2segments(ip+8, dictMatchL+8, iend, dictEnd, prefixLowest) + 8; in ZSTD_compressBlock_doubleFast_generic()
181 …tMatchL>dictStart)) && (ip[-1] == dictMatchL[-1])) { ip--; dictMatchL--; mLength++; } /* catch up … in ZSTD_compressBlock_doubleFast_generic()
217 mLength = ZSTD_count(ip+9, matchL3+8, iend) + 8; in ZSTD_compressBlock_doubleFast_generic()
[all …]
H A Dzstd_fast.c91 size_t mLength; in ZSTD_compressBlock_fast_generic() local
116 mLength = (ip2[-1] == repMatch[-1]) ? 1 : 0; in ZSTD_compressBlock_fast_generic()
117 ip0 = ip2 - mLength; in ZSTD_compressBlock_fast_generic()
118 match0 = repMatch - mLength; in ZSTD_compressBlock_fast_generic()
119 mLength += 4; in ZSTD_compressBlock_fast_generic()
144 mLength = 4; in ZSTD_compressBlock_fast_generic()
147 && (ip0[-1] == match0[-1])) { ip0--; match0--; mLength++; } /* catch up */ in ZSTD_compressBlock_fast_generic()
151 mLength += ZSTD_count(ip0+mLength, match0+mLength, iend); in ZSTD_compressBlock_fast_generic()
152 ZSTD_storeSeq(seqStore, (size_t)(ip0-anchor), anchor, iend, offcode, mLength-MINMATCH); in ZSTD_compressBlock_fast_generic()
154 ip0 += mLength; in ZSTD_compressBlock_fast_generic()
[all …]
H A Dzstd_ldm.c288 size_t mLength; in ZSTD_ldm_generateSequences_internal() local
375 mLength = forwardMatchLength + backwardMatchLength; in ZSTD_ldm_generateSequences_internal()
391 seq->matchLength = (U32)mLength; in ZSTD_ldm_generateSequences_internal()
405 if (ip + mLength <= ilimit) { in ZSTD_ldm_generateSequences_internal()
408 ip + mLength, base, hBits, *params); in ZSTD_ldm_generateSequences_internal()
409 lastHashed = ip + mLength - 1; in ZSTD_ldm_generateSequences_internal()
411 ip += mLength; in ZSTD_ldm_generateSequences_internal()