Searched refs:mLength (Results 1 – 6 of 6) sorted by relevance
| /src/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_double_fast.c | 72 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 D | zstd_fast.c | 129 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 D | zstd_ldm.c | 382 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()
|
| /src/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_double_fast.c | 127 size_t mLength; in ZSTD_compressBlock_doubleFast_noDict_generic() local 192 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_noDict_generic() 194 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, REPCODE1_TO_OFFBASE, mLength); in ZSTD_compressBlock_doubleFast_noDict_generic() 208 mLength = ZSTD_count(ip+8, matchl0+8, iend) + 8; in ZSTD_compressBlock_doubleFast_noDict_generic() 210 …& (matchl0>prefixLowest)) && (ip[-1] == matchl0[-1])) { ip--; matchl0--; mLength++; } /* catch up … in ZSTD_compressBlock_doubleFast_noDict_generic() 257 mLength = ZSTD_count(ip+4, matchs0+4, iend) + 4; in ZSTD_compressBlock_doubleFast_noDict_generic() 263 if (l1len > mLength) { in ZSTD_compressBlock_doubleFast_noDict_generic() 266 mLength = l1len; in ZSTD_compressBlock_doubleFast_noDict_generic() 272 …& (matchs0>prefixLowest)) && (ip[-1] == matchs0[-1])) { ip--; matchs0--; mLength++; } /* complete … in ZSTD_compressBlock_doubleFast_noDict_generic() 291 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, OFFSET_TO_OFFBASE(offset), mLength); in ZSTD_compressBlock_doubleFast_noDict_generic() [all …]
|
| H A D | zstd_fast.c | 227 size_t mLength; in ZSTD_compressBlock_fast_noDict_generic() local 279 mLength = ip0[-1] == match0[-1]; in ZSTD_compressBlock_fast_noDict_generic() 280 ip0 -= mLength; in ZSTD_compressBlock_fast_noDict_generic() 281 match0 -= mLength; in ZSTD_compressBlock_fast_noDict_generic() 283 mLength += 4; in ZSTD_compressBlock_fast_noDict_generic() 385 mLength = 4; in ZSTD_compressBlock_fast_noDict_generic() 391 mLength++; in ZSTD_compressBlock_fast_noDict_generic() 397 mLength += ZSTD_count(ip0 + mLength, match0 + mLength, iend); in ZSTD_compressBlock_fast_noDict_generic() 399 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength); in ZSTD_compressBlock_fast_noDict_generic() 401 ip0 += mLength; in ZSTD_compressBlock_fast_noDict_generic() [all …]
|
| H A D | zstd_ldm.c | 404 bestMatchLength = 0, mLength; in ZSTD_ldm_generateSequences_internal() local 474 mLength = forwardMatchLength + backwardMatchLength; in ZSTD_ldm_generateSequences_internal() 482 seq->matchLength = (U32)mLength; in ZSTD_ldm_generateSequences_internal()
|