Home
last modified time | relevance | path

Searched refs:ZSTD_OPT_NUM (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_opt.c567 U32 const sufficient_len = MIN(cParams->targetLength, ZSTD_OPT_NUM -1); in ZSTD_insertBtAndGetAllMatches()
718 if ( (matchLength > ZSTD_OPT_NUM) in ZSTD_insertBtAndGetAllMatches()
765 if ( (matchLength > ZSTD_OPT_NUM) in ZSTD_insertBtAndGetAllMatches()
973 …atches == 0 || ((candidateMatchLength > matches[*nbMatches-1].len) && *nbMatches < ZSTD_OPT_NUM)) { in ZSTD_optLdm_maybeAddMatch()
1056 U32 const sufficient_len = MIN(cParams->targetLength, ZSTD_OPT_NUM -1); in ZSTD_compressBlock_opt_generic()
1144 assert(cur < ZSTD_OPT_NUM); in ZSTD_compressBlock_opt_generic()
1216 || (cur + maxML >= ZSTD_OPT_NUM) ) { in ZSTD_compressBlock_opt_generic()
1222 if (cur > ZSTD_OPT_NUM) cur = 0; /* underflow => first match */ in ZSTD_compressBlock_opt_generic()
1258 assert(cur < ZSTD_OPT_NUM); /* control overflow*/ in ZSTD_compressBlock_opt_generic()
1280 assert(storeEnd < ZSTD_OPT_NUM); in ZSTD_compressBlock_opt_generic()
H A Dzstd_compress.c1439 + ZSTD_cwksp_aligned_alloc_size((ZSTD_OPT_NUM+1) * sizeof(ZSTD_match_t)) in ZSTD_sizeof_matchState()
1440 + ZSTD_cwksp_aligned_alloc_size((ZSTD_OPT_NUM+1) * sizeof(ZSTD_optimal_t)); in ZSTD_sizeof_matchState()
1774 …ms->opt.matchTable = (ZSTD_match_t*)ZSTD_cwksp_reserve_aligned(ws, (ZSTD_OPT_NUM+1) * sizeof(ZSTD_… in ZSTD_reset_matchState()
1775 …ms->opt.priceTable = (ZSTD_optimal_t*)ZSTD_cwksp_reserve_aligned(ws, (ZSTD_OPT_NUM+1) * sizeof(ZST… in ZSTD_reset_matchState()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c520 U32 const sufficient_len = MIN(cParams->targetLength, ZSTD_OPT_NUM -1); in ZSTD_insertBtAndGetAllMatches()
671 if ( (matchLength > ZSTD_OPT_NUM) in ZSTD_insertBtAndGetAllMatches()
718 if ( (matchLength > ZSTD_OPT_NUM) in ZSTD_insertBtAndGetAllMatches()
813 U32 const sufficient_len = MIN(cParams->targetLength, ZSTD_OPT_NUM -1); in ZSTD_compressBlock_opt_generic()
893 assert(cur < ZSTD_OPT_NUM); in ZSTD_compressBlock_opt_generic()
960 || (cur + maxML >= ZSTD_OPT_NUM) ) { in ZSTD_compressBlock_opt_generic()
966 if (cur > ZSTD_OPT_NUM) cur = 0; /* underflow => first match */ in ZSTD_compressBlock_opt_generic()
1002 assert(cur < ZSTD_OPT_NUM); /* control overflow*/ in ZSTD_compressBlock_opt_generic()
1024 assert(storeEnd < ZSTD_OPT_NUM); in ZSTD_compressBlock_opt_generic()
H A Dzstd_compress.c1116 + ZSTD_cwksp_alloc_size((ZSTD_OPT_NUM+1) * sizeof(ZSTD_match_t)) in ZSTD_sizeof_matchState()
1117 + ZSTD_cwksp_alloc_size((ZSTD_OPT_NUM+1) * sizeof(ZSTD_optimal_t)); in ZSTD_sizeof_matchState()
1392 …ms->opt.matchTable = (ZSTD_match_t*)ZSTD_cwksp_reserve_aligned(ws, (ZSTD_OPT_NUM+1) * sizeof(ZSTD_… in ZSTD_reset_matchState()
1393 …ms->opt.priceTable = (ZSTD_optimal_t*)ZSTD_cwksp_reserve_aligned(ws, (ZSTD_OPT_NUM+1) * sizeof(ZST… in ZSTD_reset_matchState()
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dzstd_internal.h137 #define ZSTD_OPT_NUM (1<<12) macro
/freebsd/sys/contrib/zstd/lib/common/
H A Dzstd_internal.h67 #define ZSTD_OPT_NUM (1<<12) macro