Lines Matching defs:best_off
441 U32 u, mlen, best_mlen, best_off, litLength;
456 best_off = i;
461 best_off = i - (ip == anchor);
463 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra);
481 best_off = matches[match_num - 1].off;
561 best_off = i;
566 best_off = i - (opt[cur].mlen != 1);
575 best_off, mlen - MINMATCH, ultra);
577 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra);
580 price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, best_off, mlen - MINMATCH, ultra);
595 best_off = matches[match_num - 1].off;
627 best_off = opt[last_pos].off;
631 _storeSequence: /* cur, last_pos, best_mlen, best_off have to be set */
638 opt[cur].off = best_off;
640 best_off = offset;
668 best_off = (offset == ZSTD_REP_MOVE_OPT) ? (rep[0] - 1) : (rep[offset]);
672 rep[0] = best_off;
739 U32 u, mlen, best_mlen, best_off, litLength;
762 best_off = i;
768 best_off = i - (ip == anchor);
771 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra);
796 best_off = matches[match_num - 1].off;
875 best_off = i;
880 best_off = i - (opt[cur].mlen != 1);
889 best_off, mlen - MINMATCH, ultra);
891 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra);
894 price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, best_off, mlen - MINMATCH, ultra);
909 best_off = matches[match_num - 1].off;
941 best_off = opt[last_pos].off;
945 _storeSequence: /* cur, last_pos, best_mlen, best_off have to be set */
952 opt[cur].off = best_off;
954 best_off = offset;
982 best_off = (offset == ZSTD_REP_MOVE_OPT) ? (rep[0] - 1) : (rep[offset]);
986 rep[0] = best_off;