Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_opt.c969 U32 cur, last_pos = 0; in ZSTD_compressBlock_opt_generic() local
1003 last_pos = ZSTD_totalLen(lastSequence); in ZSTD_compressBlock_opt_generic()
1027 last_pos = pos-1; in ZSTD_compressBlock_opt_generic()
1032 for (cur = 1; cur <= last_pos; cur++) { in ZSTD_compressBlock_opt_generic()
1077 if (cur == last_pos) break; in ZSTD_compressBlock_opt_generic()
1110 last_pos = cur + ZSTD_totalLen(lastSequence); in ZSTD_compressBlock_opt_generic()
1129 if ((pos > last_pos) || (price < opt[pos].price)) { in ZSTD_compressBlock_opt_generic()
1132 …while (last_pos < pos) { opt[last_pos+1].price = ZSTD_MAX_PRICE; last_pos++; } /* fill empty pos… in ZSTD_compressBlock_opt_generic()
1145 lastSequence = opt[last_pos]; in ZSTD_compressBlock_opt_generic()
1146 …cur = last_pos > ZSTD_totalLen(lastSequence) ? last_pos - ZSTD_totalLen(lastSequence) : 0; /* sin… in ZSTD_compressBlock_opt_generic()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c20976 U32 cur, last_pos = 0; in ZSTD_compressBlock_opt_generic() local
21008 last_pos = ZSTD_totalLen(lastSequence); in ZSTD_compressBlock_opt_generic()
21032 last_pos = pos-1; in ZSTD_compressBlock_opt_generic()
21037 for (cur = 1; cur <= last_pos; cur++) { in ZSTD_compressBlock_opt_generic()
21082 if (cur == last_pos) break; in ZSTD_compressBlock_opt_generic()
21111 last_pos = cur + ZSTD_totalLen(lastSequence); in ZSTD_compressBlock_opt_generic()
21130 if ((pos > last_pos) || (price < opt[pos].price)) { in ZSTD_compressBlock_opt_generic()
21133 …while (last_pos < pos) { opt[last_pos+1].price = ZSTD_MAX_PRICE; last_pos++; } /* fill empty pos… in ZSTD_compressBlock_opt_generic()
21146 lastSequence = opt[last_pos]; in ZSTD_compressBlock_opt_generic()
21147 …cur = last_pos > ZSTD_totalLen(lastSequence) ? last_pos - ZSTD_totalLen(lastSequence) : 0; /* sin… in ZSTD_compressBlock_opt_generic()
[all …]