Lines Matching refs:rep
416 U32 offset, rep[ZSTD_REP_NUM]; in ZSTD_compressBlock_opt_generic() local
425 rep[i] = ctx->rep[i]; in ZSTD_compressBlock_opt_generic()
440 const S32 repCur = (i == ZSTD_REP_MOVE_OPT) ? (rep[0] - 1) : rep[i]; in ZSTD_compressBlock_opt_generic()
499 opt[0].rep[i] = rep[i]; in ZSTD_compressBlock_opt_generic()
530 opt[cur].rep[2] = opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_generic()
531 opt[cur].rep[1] = opt[cur - mlen].rep[0]; in ZSTD_compressBlock_opt_generic()
532 opt[cur].rep[0] = opt[cur].off - ZSTD_REP_MOVE_OPT; in ZSTD_compressBlock_opt_generic()
534 opt[cur].rep[2] = (opt[cur].off > 1) ? opt[cur - mlen].rep[1] : opt[cur - mlen].rep[2]; in ZSTD_compressBlock_opt_generic()
535 opt[cur].rep[1] = (opt[cur].off > 0) ? opt[cur - mlen].rep[0] : opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_generic()
536 opt[cur].rep[0] = in ZSTD_compressBlock_opt_generic()
537 …f == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - mlen].rep[opt[… in ZSTD_compressBlock_opt_generic()
544 const S32 repCur = (i == ZSTD_REP_MOVE_OPT) ? (opt[cur].rep[0] - 1) : opt[cur].rep[i]; in ZSTD_compressBlock_opt_generic()
652 rep[2] = rep[1]; in ZSTD_compressBlock_opt_generic()
653 rep[1] = rep[0]; in ZSTD_compressBlock_opt_generic()
654 rep[0] = offset - ZSTD_REP_MOVE_OPT; in ZSTD_compressBlock_opt_generic()
658 best_off = (offset == ZSTD_REP_MOVE_OPT) ? (rep[0] - 1) : (rep[offset]); in ZSTD_compressBlock_opt_generic()
660 rep[2] = rep[1]; in ZSTD_compressBlock_opt_generic()
661 rep[1] = rep[0]; in ZSTD_compressBlock_opt_generic()
662 rep[0] = best_off; in ZSTD_compressBlock_opt_generic()
678 ctx->repToConfirm[i] = rep[i]; in ZSTD_compressBlock_opt_generic()
715 U32 offset, rep[ZSTD_REP_NUM]; in ZSTD_compressBlock_opt_extDict_generic() local
719 rep[i] = ctx->rep[i]; in ZSTD_compressBlock_opt_extDict_generic()
739 const S32 repCur = (i == ZSTD_REP_MOVE_OPT) ? (rep[0] - 1) : rep[i]; in ZSTD_compressBlock_opt_extDict_generic()
780 opt[0].rep[i] = rep[i]; in ZSTD_compressBlock_opt_extDict_generic()
838 opt[cur].rep[2] = opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_extDict_generic()
839 opt[cur].rep[1] = opt[cur - mlen].rep[0]; in ZSTD_compressBlock_opt_extDict_generic()
840 opt[cur].rep[0] = opt[cur].off - ZSTD_REP_MOVE_OPT; in ZSTD_compressBlock_opt_extDict_generic()
842 opt[cur].rep[2] = (opt[cur].off > 1) ? opt[cur - mlen].rep[1] : opt[cur - mlen].rep[2]; in ZSTD_compressBlock_opt_extDict_generic()
843 opt[cur].rep[1] = (opt[cur].off > 0) ? opt[cur - mlen].rep[0] : opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_extDict_generic()
844 opt[cur].rep[0] = in ZSTD_compressBlock_opt_extDict_generic()
845 …f == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - mlen].rep[opt[… in ZSTD_compressBlock_opt_extDict_generic()
852 const S32 repCur = (i == ZSTD_REP_MOVE_OPT) ? (opt[cur].rep[0] - 1) : opt[cur].rep[i]; in ZSTD_compressBlock_opt_extDict_generic()
966 rep[2] = rep[1]; in ZSTD_compressBlock_opt_extDict_generic()
967 rep[1] = rep[0]; in ZSTD_compressBlock_opt_extDict_generic()
968 rep[0] = offset - ZSTD_REP_MOVE_OPT; in ZSTD_compressBlock_opt_extDict_generic()
972 best_off = (offset == ZSTD_REP_MOVE_OPT) ? (rep[0] - 1) : (rep[offset]); in ZSTD_compressBlock_opt_extDict_generic()
974 rep[2] = rep[1]; in ZSTD_compressBlock_opt_extDict_generic()
975 rep[1] = rep[0]; in ZSTD_compressBlock_opt_extDict_generic()
976 rep[0] = best_off; in ZSTD_compressBlock_opt_extDict_generic()
993 ctx->repToConfirm[i] = rep[i]; in ZSTD_compressBlock_opt_extDict_generic()