Lines Matching refs:last_pos
982 U32 cur, last_pos = 0; in ZSTD_compressBlock_opt_generic() local
1016 last_pos = ZSTD_totalLen(lastSequence); in ZSTD_compressBlock_opt_generic()
1040 last_pos = pos-1; in ZSTD_compressBlock_opt_generic()
1045 for (cur = 1; cur <= last_pos; cur++) { in ZSTD_compressBlock_opt_generic()
1090 if (cur == last_pos) break; in ZSTD_compressBlock_opt_generic()
1123 last_pos = cur + ZSTD_totalLen(lastSequence); in ZSTD_compressBlock_opt_generic()
1142 if ((pos > last_pos) || (price < opt[pos].price)) { in ZSTD_compressBlock_opt_generic()
1145 …while (last_pos < pos) { opt[last_pos+1].price = ZSTD_MAX_PRICE; last_pos++; } /* fill empty pos… in ZSTD_compressBlock_opt_generic()
1158 lastSequence = opt[last_pos]; in ZSTD_compressBlock_opt_generic()
1159 …cur = last_pos > ZSTD_totalLen(lastSequence) ? last_pos - ZSTD_totalLen(lastSequence) : 0; /* sin… in ZSTD_compressBlock_opt_generic()
1181 last_pos, cur); (void)last_pos; in ZSTD_compressBlock_opt_generic()