Home | History | Annotate | Download | only in lib

Lines Matching defs:last_pos

197     while (last_pos < pos)  { opt[last_pos+1].price = 1<<30; last_pos++; } \
220 size_t i, llen, litlen, mlen, best_mlen, price, offset, best_off, match_num, last_pos;
237 last_pos = 0;
246 last_pos = 1;
262 if (last_pos < MINMATCH) { ip++; continue; }
266 for (cur = 1; cur <= last_pos; cur++) {
283 if (cur > last_pos || price < (size_t)opt[cur].price)
286 if (cur == last_pos || inr >= mflimit) break;
292 last_pos = cur + 1;
315 if (cur2 + mlen > last_pos || price < (size_t)opt[cur2 + mlen].price) { // || (((int)price == opt[cur2 + mlen].price) && (opt[cur2 + mlen-1].mlen == 1))) {
321 } /* for (cur = 1; cur <= last_pos; cur++) */
323 best_mlen = opt[last_pos].mlen;
324 best_off = opt[last_pos].off;
325 cur = last_pos - best_mlen;
327 encode: /* cur, last_pos, best_mlen, best_off have to be set */
341 while (cur < last_pos) {