Home
last modified time | relevance | path

Searched refs:newReps (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/lib/zstd/compress/
Dzstd_compress_internal.h401 repcodes_t newReps; in ZSTD_updateRep() local
403 newReps.rep[2] = rep[1]; in ZSTD_updateRep()
404 newReps.rep[1] = rep[0]; in ZSTD_updateRep()
405 newReps.rep[0] = offset - ZSTD_REP_MOVE; in ZSTD_updateRep()
410 newReps.rep[2] = (repCode >= 2) ? rep[1] : rep[2]; in ZSTD_updateRep()
411 newReps.rep[1] = rep[0]; in ZSTD_updateRep()
412 newReps.rep[0] = currentOffset; in ZSTD_updateRep()
414 ZSTD_memcpy(&newReps, rep, sizeof(newReps)); in ZSTD_updateRep()
417 return newReps; in ZSTD_updateRep()
Dzstd_opt.c1081 … repcodes_t newReps = ZSTD_updateRep(opt[prev].rep, opt[cur].off, opt[cur].litlen==0); in ZSTD_compressBlock_opt_generic() local
1082 ZSTD_memcpy(opt[cur].rep, &newReps, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic()