• Home
  • Raw
  • Download

Lines Matching refs:off

207 		opt[pos].off = offset_;                           \
282 matches[mnum].off = ZSTD_REP_MOVE_OPT + curr - matchIndex3; in ZSTD_insertBtAndGetAllMatches()
316 matches[mnum].off = ZSTD_REP_MOVE_OPT + curr - matchIndex; in ZSTD_insertBtAndGetAllMatches()
481 best_off = matches[match_num - 1].off; in ZSTD_compressBlock_opt_generic()
493 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
495 SET_PRICE(mlen, mlen, matches[u].off, litlen, price); /* note : macro modifies last_pos */ in ZSTD_compressBlock_opt_generic()
539 if (opt[cur].off > ZSTD_REP_MOVE_OPT) { in ZSTD_compressBlock_opt_generic()
542 opt[cur].rep[0] = opt[cur].off - ZSTD_REP_MOVE_OPT; in ZSTD_compressBlock_opt_generic()
544 opt[cur].rep[2] = (opt[cur].off > 1) ? opt[cur - mlen].rep[1] : opt[cur - mlen].rep[2]; in ZSTD_compressBlock_opt_generic()
545 opt[cur].rep[1] = (opt[cur].off > 0) ? opt[cur - mlen].rep[0] : opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_generic()
547 …((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - m… in ZSTD_compressBlock_opt_generic()
595 best_off = matches[match_num - 1].off; in ZSTD_compressBlock_opt_generic()
610 matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
612 … price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
615 …price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, matches[u].off - 1, mlen - MINMATCH, … in ZSTD_compressBlock_opt_generic()
619 SET_PRICE(cur + mlen, mlen, matches[u].off, litlen, price); in ZSTD_compressBlock_opt_generic()
627 best_off = opt[last_pos].off; in ZSTD_compressBlock_opt_generic()
636 offset = opt[cur].off; in ZSTD_compressBlock_opt_generic()
638 opt[cur].off = best_off; in ZSTD_compressBlock_opt_generic()
657 offset = opt[cur].off; in ZSTD_compressBlock_opt_generic()
796 best_off = matches[match_num - 1].off; in ZSTD_compressBlock_opt_extDict_generic()
810 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_extDict_generic()
812 SET_PRICE(mlen, mlen, matches[u].off, litlen, price); in ZSTD_compressBlock_opt_extDict_generic()
847 if (opt[cur].off > ZSTD_REP_MOVE_OPT) { in ZSTD_compressBlock_opt_extDict_generic()
850 opt[cur].rep[0] = opt[cur].off - ZSTD_REP_MOVE_OPT; in ZSTD_compressBlock_opt_extDict_generic()
852 opt[cur].rep[2] = (opt[cur].off > 1) ? opt[cur - mlen].rep[1] : opt[cur - mlen].rep[2]; in ZSTD_compressBlock_opt_extDict_generic()
853 opt[cur].rep[1] = (opt[cur].off > 0) ? opt[cur - mlen].rep[0] : opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_extDict_generic()
855 …((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - m… in ZSTD_compressBlock_opt_extDict_generic()
909 best_off = matches[match_num - 1].off; in ZSTD_compressBlock_opt_extDict_generic()
924 matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_extDict_generic()
926 … price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_extDict_generic()
929 …price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, matches[u].off - 1, mlen - MINMATCH, … in ZSTD_compressBlock_opt_extDict_generic()
933 SET_PRICE(cur + mlen, mlen, matches[u].off, litlen, price); in ZSTD_compressBlock_opt_extDict_generic()
941 best_off = opt[last_pos].off; in ZSTD_compressBlock_opt_extDict_generic()
950 offset = opt[cur].off; in ZSTD_compressBlock_opt_extDict_generic()
952 opt[cur].off = best_off; in ZSTD_compressBlock_opt_extDict_generic()
971 offset = opt[cur].off; in ZSTD_compressBlock_opt_extDict_generic()