Searched refs:newReps (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress_internal.h | 335 repcodes_t newReps; in ZSTD_updateRep() local 337 newReps.rep[2] = rep[1]; in ZSTD_updateRep() 338 newReps.rep[1] = rep[0]; in ZSTD_updateRep() 339 newReps.rep[0] = offset - ZSTD_REP_MOVE; in ZSTD_updateRep() 344 newReps.rep[2] = (repCode >= 2) ? rep[1] : rep[2]; in ZSTD_updateRep() 345 newReps.rep[1] = rep[0]; in ZSTD_updateRep() 346 newReps.rep[0] = currentOffset; in ZSTD_updateRep() 348 memcpy(&newReps, rep, sizeof(newReps)); in ZSTD_updateRep() 351 return newReps; in ZSTD_updateRep()
|
H A D | zstd_opt.c | 927 … repcodes_t newReps = ZSTD_updateRep(opt[prev].rep, opt[cur].off, opt[cur].litlen==0); in ZSTD_compressBlock_opt_generic() local 928 memcpy(opt[cur].rep, &newReps, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress_internal.h | 690 repcodes_t newReps; in ZSTD_newRep() local 691 ZSTD_memcpy(&newReps, rep, sizeof(newReps)); in ZSTD_newRep() 692 ZSTD_updateRep(newReps.rep, offBase_minus1, ll0); in ZSTD_newRep() 693 return newReps; in ZSTD_newRep()
|
H A D | zstd_opt.c | 1178 … repcodes_t const newReps = ZSTD_newRep(opt[prev].rep, opt[cur].off, opt[cur].litlen==0); in ZSTD_compressBlock_opt_generic() local 1179 ZSTD_memcpy(opt[cur].rep, &newReps, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic()
|