Lines Matching refs:rep
597 const U32 rep[ZSTD_REP_NUM], in ZSTD_insertBtAndGetAllMatches()
650 U32 const repOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_insertBtAndGetAllMatches()
827 const U32 rep[ZSTD_REP_NUM],
839 const U32 rep[ZSTD_REP_NUM], in ZSTD_btGetAllMatches_internal()
850 …return ZSTD_insertBtAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll… in ZSTD_btGetAllMatches_internal()
862 const U32 rep[ZSTD_REP_NUM], \
868 rep, ll0, lengthToBeat, ZSTD_##dictMode, mls); \
1080 U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_opt_generic()
1126 … U32 nbMatches = getAllMatches(matches, ms, &nextToUpdate3, ip, iend, rep, ll0, minMatch); in ZSTD_compressBlock_opt_generic()
1152 ZSTD_STATIC_ASSERT(sizeof(opt[0].rep[0]) == sizeof(rep[0])); in ZSTD_compressBlock_opt_generic()
1153 ZSTD_memcpy(&opt[0].rep, rep, sizeof(opt[0].rep)); in ZSTD_compressBlock_opt_generic()
1216 opt[cur-1].rep[0], opt[cur-1].rep[1], opt[cur-1].rep[2]); in ZSTD_compressBlock_opt_generic()
1234 … Repcodes_t const newReps = ZSTD_newRep(opt[prev].rep, prevMatch.off, opt[prev].litlen==0); in ZSTD_compressBlock_opt_generic()
1238 newReps.rep[0], newReps.rep[1], newReps.rep[2] ); in ZSTD_compressBlock_opt_generic()
1240 ZSTD_memcpy(opt[cur+1].rep, &newReps, sizeof(Repcodes_t)); in ZSTD_compressBlock_opt_generic()
1255 ZSTD_STATIC_ASSERT(sizeof(opt[cur].rep) == sizeof(Repcodes_t)); in ZSTD_compressBlock_opt_generic()
1260 … Repcodes_t const newReps = ZSTD_newRep(opt[prev].rep, opt[cur].off, opt[prev].litlen==0); in ZSTD_compressBlock_opt_generic()
1261 ZSTD_memcpy(opt[cur].rep, &newReps, sizeof(Repcodes_t)); in ZSTD_compressBlock_opt_generic()
1279 …U32 nbMatches = getAllMatches(matches, ms, &nextToUpdate3, inr, iend, opt[cur].rep, ll0, minMatch); in ZSTD_compressBlock_opt_generic()
1361 Repcodes_t const reps = ZSTD_newRep(opt[cur].rep, lastStretch.off, opt[cur].litlen==0); in ZSTD_compressBlock_opt_generic()
1362 ZSTD_memcpy(rep, &reps, sizeof(Repcodes_t)); in ZSTD_compressBlock_opt_generic()
1364 ZSTD_memcpy(rep, lastStretch.rep, sizeof(Repcodes_t)); in ZSTD_compressBlock_opt_generic()
1434 DEBUGLOG(7, "new offset history : %u, %u, %u", rep[0], rep[1], rep[2]); in ZSTD_compressBlock_opt_generic()
1448 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_opt0()
1451 …return ZSTD_compressBlock_opt_generic(ms, seqStore, rep, src, srcSize, 0 /* optLevel */, dictMode); in ZSTD_compressBlock_opt0()
1457 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_opt2()
1460 …return ZSTD_compressBlock_opt_generic(ms, seqStore, rep, src, srcSize, 2 /* optLevel */, dictMode); in ZSTD_compressBlock_opt2()
1466 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btopt()
1470 return ZSTD_compressBlock_opt0(ms, seqStore, rep, src, srcSize, ZSTD_noDict); in ZSTD_compressBlock_btopt()
1487 U32 rep[ZSTD_REP_NUM], in ZSTD_initStats_ultra()
1491 ZSTD_memcpy(tmpRep, rep, sizeof(tmpRep)); in ZSTD_initStats_ultra()
1511 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btultra()
1515 return ZSTD_compressBlock_opt2(ms, seqStore, rep, src, srcSize, ZSTD_noDict); in ZSTD_compressBlock_btultra()
1519 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btultra2()
1540 ZSTD_initStats_ultra(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_btultra2()
1543 return ZSTD_compressBlock_opt2(ms, seqStore, rep, src, srcSize, ZSTD_noDict); in ZSTD_compressBlock_btultra2()
1549 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btopt_dictMatchState()
1552 return ZSTD_compressBlock_opt0(ms, seqStore, rep, src, srcSize, ZSTD_dictMatchState); in ZSTD_compressBlock_btopt_dictMatchState()
1556 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btopt_extDict()
1559 return ZSTD_compressBlock_opt0(ms, seqStore, rep, src, srcSize, ZSTD_extDict); in ZSTD_compressBlock_btopt_extDict()
1565 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btultra_dictMatchState()
1568 return ZSTD_compressBlock_opt2(ms, seqStore, rep, src, srcSize, ZSTD_dictMatchState); in ZSTD_compressBlock_btultra_dictMatchState()
1572 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btultra_extDict()
1575 return ZSTD_compressBlock_opt2(ms, seqStore, rep, src, srcSize, ZSTD_extDict); in ZSTD_compressBlock_btultra_extDict()