Home
last modified time | relevance | path

Searched refs:repLength (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_lazy.c1287 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local
1288 int const gain2 = (int)(repLength * 3); in ZSTD_compressBlock_lazy_extDict_generic()
1290 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic()
1291 matchLength = repLength, offset = 0, start = ip; in ZSTD_compressBlock_lazy_extDict_generic()
1318 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local
1319 int const gain2 = (int)(repLength * 4); in ZSTD_compressBlock_lazy_extDict_generic()
1321 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic()
1322 matchLength = repLength, offset = 0, start = ip; in ZSTD_compressBlock_lazy_extDict_generic()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c19398 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local
19399 int const gain2 = (int)(repLength * 3); in ZSTD_compressBlock_lazy_extDict_generic()
19401 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic()
19402 matchLength = repLength, offset = 0, start = ip; in ZSTD_compressBlock_lazy_extDict_generic()
19429 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local
19430 int const gain2 = (int)(repLength * 4); in ZSTD_compressBlock_lazy_extDict_generic()
19432 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic()
19433 matchLength = repLength, offset = 0, start = ip; in ZSTD_compressBlock_lazy_extDict_generic()