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