Home
last modified time | relevance | path

Searched refs:FORWARD_IF_ERROR (Results 1 – 8 of 8) sorted by relevance

/linux/lib/zstd/compress/
H A Dzstd_compress.c393 FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , ""); in ZSTD_CCtxParams_init_advanced()
764 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(param, &value), ""); in ZSTD_CCtxParams_setParameter()
1133 FORWARD_IF_ERROR(ZSTD_checkCParams(cparams), ""); in ZSTD_CCtx_setCParams()
1134 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_windowLog, (int)cparams.windowLog), ""); in ZSTD_CCtx_setCParams()
1135 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_chainLog, (int)cparams.chainLog), ""); in ZSTD_CCtx_setCParams()
1136 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_hashLog, (int)cparams.hashLog), ""); in ZSTD_CCtx_setCParams()
1137 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_searchLog, (int)cparams.searchLog), ""); in ZSTD_CCtx_setCParams()
1138 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_minMatch, (int)cparams.minMatch), ""); in ZSTD_CCtx_setCParams()
1139FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_targetLength, (int)cparams.targetLength), ""); in ZSTD_CCtx_setCParams()
1140 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_strategy, (int)cparams.strategy), ""); in ZSTD_CCtx_setCParams()
[all …]
H A Dzstd_compress_sequences.c77FORWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq, max, ZSTD_useLowProbCount(nbSeq)… in ZSTD_NCountCost()
258 FORWARD_IF_ERROR(FSE_buildCTable_rle(nextCTable, (BYTE)max), ""); in ZSTD_buildCTable()
266FORWARD_IF_ERROR(FSE_buildCTable_wksp(nextCTable, defaultNorm, defaultMax, defaultNormLog, entropy… in ZSTD_buildCTable()
279FORWARD_IF_ERROR(FSE_normalizeCount(wksp->norm, tableLog, count, nbSeq_1, max, ZSTD_useLowProbCoun… in ZSTD_buildCTable()
282 FORWARD_IF_ERROR(NCountSize, "FSE_writeNCount failed"); in ZSTD_buildCTable()
283FORWARD_IF_ERROR(FSE_buildCTable_wksp(nextCTable, wksp->norm, max, tableLog, wksp->wksp, sizeof(wk… in ZSTD_buildCTable()
H A Dzstd_compress_superblock.c219 FORWARD_IF_ERROR(bitstreamSize, "ZSTD_encodeSequences failed"); in ZSTD_compressSubBlock_sequences()
285 FORWARD_IF_ERROR(cLitSize, "ZSTD_compressSubBlock_literal failed"); in ZSTD_compressSubBlock()
296 FORWARD_IF_ERROR(cSeqSize, "ZSTD_compressSubBlock_sequences failed"); in ZSTD_compressSubBlock()
560 FORWARD_IF_ERROR(cSize, "ZSTD_compressSubBlock failed"); in ZSTD_compressSubBlock_multi()
604 FORWARD_IF_ERROR(cSize, "ZSTD_compressSubBlock failed"); in ZSTD_compressSubBlock_multi()
646 FORWARD_IF_ERROR(cSize, "ZSTD_noCompressBlock failed"); in ZSTD_compressSubBlock_multi()
673 FORWARD_IF_ERROR(ZSTD_buildBlockEntropyStats(&zc->seqStore, in ZSTD_compressSuperBlock()
/linux/lib/zstd/decompress/
H A Dzstd_decompress.c140 FORWARD_IF_ERROR(ZSTD_DDictHashSet_emplaceDDict(hashSet, oldTable[i]), ""); in ZSTD_DDictHashSet_expand()
207 FORWARD_IF_ERROR(ZSTD_DDictHashSet_expand(hashSet, customMem), ""); in ZSTD_DDictHashSet_addDDict()
209 FORWARD_IF_ERROR(ZSTD_DDictHashSet_emplaceDDict(hashSet, ddict), ""); in ZSTD_DDictHashSet_addDDict()
824 FORWARD_IF_ERROR(ZSTD_getFrameHeader(&zfh, src, srcSize), ""); in ZSTD_decompressionMargin()
933 FORWARD_IF_ERROR( ZSTD_decodeFrameHeader(dctx, ip, frameHeaderSize) , ""); in ZSTD_decompressFrame()
987 FORWARD_IF_ERROR(decodedSize, "Block decompression failure"); in ZSTD_decompressFrame()
1052 FORWARD_IF_ERROR(skippableSize, "invalid skippable frame"); in ZSTD_decompressMultiFrame()
1062 FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDDict(dctx, ddict), ""); in ZSTD_decompressMultiFrame()
1066 FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDict(dctx, dict, dictSize), ""); in ZSTD_decompressMultiFrame()
1232 FORWARD_IF_ERROR(ZSTD_decodeFrameHeader(dctx, dctx->headerBuffer, dctx->headerSize), ""); in ZSTD_decompressContinue()
[all …]
H A Dzstd_ddict.c138 FORWARD_IF_ERROR( ZSTD_loadEntropy_intoDDict(ddict, dictContentType) , ""); in ZSTD_initDDict_internal()
H A Dhuf_decompress.c848 FORWARD_IF_ERROR(ret, "Failed to init fast loop args"); in HUF_decompress4X1_usingDTable_internal_fast()
880 FORWARD_IF_ERROR(HUF_initRemainingDStream(&bit, &args, i, segmentEnd), "corruption"); in HUF_decompress4X1_usingDTable_internal_fast()
1675 FORWARD_IF_ERROR(ret, "Failed to init asm args"); in HUF_decompress4X2_usingDTable_internal_fast()
1705 FORWARD_IF_ERROR(HUF_initRemainingDStream(&bit, &args, i, segmentEnd), "corruption"); in HUF_decompress4X2_usingDTable_internal_fast()
H A Dzstd_decompress_block.c2198 FORWARD_IF_ERROR(dSize, "");
/linux/lib/zstd/common/
H A Derror_private.h138 #define FORWARD_IF_ERROR(err, ...) \ macro