| /freebsd-14.2/sys/contrib/zstd/lib/deprecated/ |
| H A D | zbuff_compress.c | 77 FORWARD_IF_ERROR(ZSTD_CCtx_reset(zbc, ZSTD_reset_session_only), ""); in ZBUFF_compressInit_advanced() 78 FORWARD_IF_ERROR(ZSTD_CCtx_setPledgedSrcSize(zbc, pledgedSrcSize), ""); in ZBUFF_compressInit_advanced() 80 FORWARD_IF_ERROR(ZSTD_checkCParams(params.cParams), ""); in ZBUFF_compressInit_advanced() 82 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_hashLog, params.cParams.hashLog), ""); in ZBUFF_compressInit_advanced() 83 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_chainLog, params.cParams.chainLog), ""); in ZBUFF_compressInit_advanced() 85 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_minMatch, params.cParams.minMatch), ""); in ZBUFF_compressInit_advanced() 87 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_strategy, params.cParams.strategy), ""); in ZBUFF_compressInit_advanced() 93 FORWARD_IF_ERROR(ZSTD_CCtx_loadDictionary(zbc, dict, dictSize), ""); in ZBUFF_compressInit_advanced() 99 FORWARD_IF_ERROR(ZSTD_CCtx_reset(zbc, ZSTD_reset_session_only), ""); in ZBUFF_compressInitDictionary() 100 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_compressionLevel, compressionLevel), ""); in ZBUFF_compressInitDictionary() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_compress.c | 246 FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , ""); in ZSTD_CCtxParams_init_advanced() 1560 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_resetCCtx_internal() 2540 FORWARD_IF_ERROR(bss, "ZSTD_buildSeqStore failed"); in ZSTD_compressBlock_targetCBlockSize() 3009 FORWARD_IF_ERROR(eSize, "ZSTD_loadCEntropy failed"); in ZSTD_loadZstdDictionary() 3030 FORWARD_IF_ERROR(ZSTD_loadDictionaryContent( in ZSTD_loadZstdDictionary() 3278 FORWARD_IF_ERROR( ZSTD_compressBegin_internal(cctx, in ZSTD_compress_advanced_internal() 3376 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_initCDict_internal() 3655 FORWARD_IF_ERROR( ZSTD_compressBegin_internal(cctx, in ZSTD_resetCStream_internal() 3775 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, NULL) , ""); in ZSTD_initCStream_srcSize() 3785 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, NULL) , ""); in ZSTD_initCStream() [all …]
|
| H A D | zstd_compress_superblock.c | 102 FORWARD_IF_ERROR(largest, "HIST_count_wksp failed"); in ZSTD_buildSuperBlockEntropy_literal() 126 FORWARD_IF_ERROR(maxBits, "HUF_buildCTable_wksp"); in ZSTD_buildSuperBlockEntropy_literal() 213 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for LitLens failed"); in ZSTD_buildSuperBlockEntropy_sequences() 237 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for Offsets failed"); in ZSTD_buildSuperBlockEntropy_sequences() 259 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for MatchLengths failed"); in ZSTD_buildSuperBlockEntropy_sequences() 491 FORWARD_IF_ERROR(bitstreamSize, "ZSTD_encodeSequences failed"); in ZSTD_compressSubBlock_sequences() 556 FORWARD_IF_ERROR(cLitSize, "ZSTD_compressSubBlock_literal failed"); in ZSTD_compressSubBlock() 567 FORWARD_IF_ERROR(cSeqSize, "ZSTD_compressSubBlock_sequences failed"); in ZSTD_compressSubBlock() 772 FORWARD_IF_ERROR(cSize, "ZSTD_compressSubBlock failed"); in ZSTD_compressSubBlock_multi() 809 FORWARD_IF_ERROR(cSize, "ZSTD_noCompressBlock failed"); in ZSTD_compressSubBlock_multi() [all …]
|
| H A D | zstd_compress_sequences.c | 63 FORWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq, max), ""); in ZSTD_NCountCost() 237 FORWARD_IF_ERROR(FSE_buildCTable_rle(nextCTable, (BYTE)max), ""); in ZSTD_buildCTable() 245 …FORWARD_IF_ERROR(FSE_buildCTable_wksp(nextCTable, defaultNorm, defaultMax, defaultNormLog, entropy… in ZSTD_buildCTable() 256 FORWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max), ""); in ZSTD_buildCTable() 258 FORWARD_IF_ERROR(NCountSize, "FSE_writeNCount failed"); in ZSTD_buildCTable() 259 …FORWARD_IF_ERROR(FSE_buildCTable_wksp(nextCTable, norm, max, tableLog, entropyWorkspace, entropyWo… in ZSTD_buildCTable()
|
| /freebsd-14.2/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_compress.c | 365 FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , ""); in ZSTD_CCtxParams_init_advanced() 1967 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_resetCCtx_internal() 3120 FORWARD_IF_ERROR(maxBits, "HUF_buildCTable_wksp"); in ZSTD_buildBlockEntropyStats_literals() 3353 FORWARD_IF_ERROR(ZSTD_buildBlockEntropyStats(seqStore, in ZSTD_buildEntropyStatisticsAndEstimateSubBlockSize() 3758 FORWARD_IF_ERROR(cSize, "Splitting blocks failed!"); in ZSTD_compressBlock_splitBlock() 3890 FORWARD_IF_ERROR(bss, "ZSTD_buildSeqStore failed"); in ZSTD_compressBlock_targetCBlockSize() 4433 FORWARD_IF_ERROR(eSize, "ZSTD_loadCEntropy failed"); in ZSTD_loadZstdDictionary() 4438 FORWARD_IF_ERROR(ZSTD_loadDictionaryContent( in ZSTD_loadZstdDictionary() 4703 FORWARD_IF_ERROR( ZSTD_compressBegin_internal(cctx, in ZSTD_compress_advanced_internal() 4815 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_initCDict_internal() [all …]
|
| H A D | zstd_compress_sequences.c | 76 …FORWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq, max, ZSTD_useLowProbCount(nbSeq)… in ZSTD_NCountCost() 257 FORWARD_IF_ERROR(FSE_buildCTable_rle(nextCTable, (BYTE)max), ""); in ZSTD_buildCTable() 265 …FORWARD_IF_ERROR(FSE_buildCTable_wksp(nextCTable, defaultNorm, defaultMax, defaultNormLog, entropy… in ZSTD_buildCTable() 278 …FORWARD_IF_ERROR(FSE_normalizeCount(wksp->norm, tableLog, count, nbSeq_1, max, ZSTD_useLowProbCoun… in ZSTD_buildCTable() 281 FORWARD_IF_ERROR(NCountSize, "FSE_writeNCount failed"); in ZSTD_buildCTable() 282 …FORWARD_IF_ERROR(FSE_buildCTable_wksp(nextCTable, wksp->norm, max, tableLog, wksp->wksp, sizeof(wk… in ZSTD_buildCTable()
|
| H A D | zstd_compress_superblock.c | 214 FORWARD_IF_ERROR(bitstreamSize, "ZSTD_encodeSequences failed"); in ZSTD_compressSubBlock_sequences() 279 FORWARD_IF_ERROR(cLitSize, "ZSTD_compressSubBlock_literal failed"); in ZSTD_compressSubBlock() 290 FORWARD_IF_ERROR(cSeqSize, "ZSTD_compressSubBlock_sequences failed"); in ZSTD_compressSubBlock() 496 FORWARD_IF_ERROR(cSize, "ZSTD_compressSubBlock failed"); in ZSTD_compressSubBlock_multi() 533 FORWARD_IF_ERROR(cSize, "ZSTD_noCompressBlock failed"); in ZSTD_compressSubBlock_multi() 557 FORWARD_IF_ERROR(ZSTD_buildBlockEntropyStats(&zc->seqStore, in ZSTD_compressSuperBlock()
|
| H A D | zstdmt_compress.c | 1049 FORWARD_IF_ERROR( ZSTDMT_expandJobsTable(mtctx, nbWorkers) , ""); in ZSTDMT_resize() 1232 FORWARD_IF_ERROR( ZSTDMT_resize(mtctx, params.nbWorkers) , ""); in ZSTDMT_initCStream_internal() 1850 FORWARD_IF_ERROR( ZSTDMT_createCompressionJob(mtctx, jobSize, endOp) , ""); in ZSTDMT_compressStream_generic()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/decompress/ |
| H A D | zstd_decompress.c | 964 FORWARD_IF_ERROR(rSize, "ZSTD_copyRawBlock failed"); in ZSTD_decompressContinue() 976 FORWARD_IF_ERROR(rSize, ""); in ZSTD_decompressContinue() 1183 FORWARD_IF_ERROR( ZSTD_decompressBegin(dctx) , ""); in ZSTD_decompressBegin_usingDict() 1206 FORWARD_IF_ERROR( ZSTD_decompressBegin(dctx) , ""); in ZSTD_decompressBegin_usingDDict() 1337 FORWARD_IF_ERROR( ZSTD_DCtx_reset(zds, ZSTD_reset_session_only) , ""); in ZSTD_initDStream_usingDict() 1338 FORWARD_IF_ERROR( ZSTD_DCtx_loadDictionary(zds, dict, dictSize) , ""); in ZSTD_initDStream_usingDict() 1355 FORWARD_IF_ERROR( ZSTD_DCtx_refDDict(dctx, ddict) , ""); in ZSTD_initDStream_usingDDict() 1364 FORWARD_IF_ERROR(ZSTD_DCtx_reset(dctx, ZSTD_reset_session_only), ""); in ZSTD_resetDStream() 1567 FORWARD_IF_ERROR(decodedSize, ""); in ZSTD_decompressContinueStream() 1578 FORWARD_IF_ERROR(decodedSize, ""); in ZSTD_decompressContinueStream() [all …]
|
| H A D | zstd_ddict.c | 140 FORWARD_IF_ERROR( ZSTD_loadEntropy_intoDDict(ddict, dictContentType) , ""); in ZSTD_initDDict_internal()
|
| /freebsd-14.2/sys/contrib/zstd/lib/decompress/ |
| H A D | zstd_decompress.c | 210 FORWARD_IF_ERROR(ZSTD_DDictHashSet_expand(hashSet, customMem), ""); in ZSTD_DDictHashSet_addDDict() 212 FORWARD_IF_ERROR(ZSTD_DDictHashSet_emplaceDDict(hashSet, ddict), ""); in ZSTD_DDictHashSet_addDDict() 1237 FORWARD_IF_ERROR(rSize, "ZSTD_copyRawBlock failed"); in ZSTD_decompressContinue() 1249 FORWARD_IF_ERROR(rSize, ""); in ZSTD_decompressContinue() 1471 FORWARD_IF_ERROR( ZSTD_decompressBegin(dctx) , ""); in ZSTD_decompressBegin_usingDict() 1494 FORWARD_IF_ERROR( ZSTD_decompressBegin(dctx) , ""); in ZSTD_decompressBegin_usingDDict() 1643 FORWARD_IF_ERROR( ZSTD_DCtx_refDDict(dctx, ddict) , ""); in ZSTD_initDStream_usingDDict() 1652 FORWARD_IF_ERROR(ZSTD_DCtx_reset(dctx, ZSTD_reset_session_only), ""); in ZSTD_resetDStream() 1907 FORWARD_IF_ERROR(decodedSize, ""); in ZSTD_decompressContinueStream() 1918 FORWARD_IF_ERROR(decodedSize, ""); in ZSTD_decompressContinueStream() [all …]
|
| H A D | zstd_ddict.c | 140 FORWARD_IF_ERROR( ZSTD_loadEntropy_intoDDict(ddict, dictContentType) , ""); in ZSTD_initDDict_internal()
|
| H A D | huf_decompress.c | 682 FORWARD_IF_ERROR(ret, "Failed to init asm args"); in HUF_decompress4X1_usingDTable_internal_bmi2_asm() 711 FORWARD_IF_ERROR(HUF_initRemainingDStream(&bit, &args, i, segmentEnd), "corruption"); in HUF_decompress4X1_usingDTable_internal_bmi2_asm() 1396 FORWARD_IF_ERROR(ret, "Failed to init asm args"); in HUF_decompress4X2_usingDTable_internal_bmi2_asm() 1423 FORWARD_IF_ERROR(HUF_initRemainingDStream(&bit, &args, i, segmentEnd), "corruption"); in HUF_decompress4X2_usingDTable_internal_bmi2_asm()
|
| /freebsd-14.2/sys/contrib/zstd/lib/common/ |
| H A D | error_private.h | 142 #define FORWARD_IF_ERROR(err, ...) \ macro
|
| /freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/common/ |
| H A D | zstd_internal.h | 120 #define FORWARD_IF_ERROR(err, ...) \ macro
|