Home
last modified time | relevance | path

Searched refs:REPCODE_TO_OFFBASE (Results 1 – 3 of 3) sorted by relevance

/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_internal.h719 #define REPCODE1_TO_OFFBASE REPCODE_TO_OFFBASE(1)
720 #define REPCODE2_TO_OFFBASE REPCODE_TO_OFFBASE(2)
721 #define REPCODE3_TO_OFFBASE REPCODE_TO_OFFBASE(3)
722 #define REPCODE_TO_OFFBASE(r) (assert((r)>=1), assert((r)<=ZSTD_REP_NUM), (r)) /* accepts IDs 1,2,3… macro
H A Dzstd_opt.c683 … matches[mnum].off = REPCODE_TO_OFFBASE(repCode - ll0 + 1); /* expect value between 1 and 3 */ in ZSTD_insertBtAndGetAllMatches()
H A Dzstd_compress.c6630 offBase = REPCODE_TO_OFFBASE(2 - ll0); in ZSTD_finalizeOffBase()
6632 offBase = REPCODE_TO_OFFBASE(3 - ll0); in ZSTD_finalizeOffBase()