Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dzstd_compress.c355 FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , ""); in ZSTD_CCtxParams_init_advanced()
690 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(param, &value), ""); in ZSTD_CCtxParams_setParameter()
1801 FORWARD_IF_ERROR(neededSpace, "cctx size estimate failed!"); in ZSTD_resetCCtx_internal()
1822 FORWARD_IF_ERROR(ZSTD_cwksp_create(ws, neededSpace, zc->customMem), ""); in ZSTD_resetCCtx_internal()
1888 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_resetCCtx_internal()
1986 FORWARD_IF_ERROR(ZSTD_resetCCtx_internal(cctx, &params, pledgedSrcSize, in ZSTD_resetCCtx_byAttachingCDict()
2040 FORWARD_IF_ERROR(ZSTD_resetCCtx_internal(cctx, &params, pledgedSrcSize, in ZSTD_resetCCtx_byCopyingCDict()
2529 FORWARD_IF_ERROR(cSize, "ZSTD_compressLiterals failed"); in ZSTD_entropyCompressSeqStore_internal()
2563 FORWARD_IF_ERROR(stats.size, "ZSTD_buildSequencesStatistics failed!"); in ZSTD_entropyCompressSeqStore_internal()
2576 FORWARD_IF_ERROR(bitstreamSize, "ZSTD_encodeSequences failed"); in ZSTD_entropyCompressSeqStore_internal()
[all …]
H A Dzstd_compress_sequences.c76FORWARD_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()
265FORWARD_IF_ERROR(FSE_buildCTable_wksp(nextCTable, defaultNorm, defaultMax, defaultNormLog, entropy… in ZSTD_buildCTable()
278FORWARD_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()
282FORWARD_IF_ERROR(FSE_buildCTable_wksp(nextCTable, wksp->norm, max, tableLog, wksp->wksp, sizeof(wk… in ZSTD_buildCTable()
H A Dzstd_compress_superblock.c214 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()
/linux/lib/zstd/decompress/
H A Dzstd_decompress.c137 FORWARD_IF_ERROR(ZSTD_DDictHashSet_emplaceDDict(hashSet, oldTable[i]), ""); in ZSTD_DDictHashSet_expand()
204 FORWARD_IF_ERROR(ZSTD_DDictHashSet_expand(hashSet, customMem), ""); in ZSTD_DDictHashSet_addDDict()
206 FORWARD_IF_ERROR(ZSTD_DDictHashSet_emplaceDDict(hashSet, ddict), ""); in ZSTD_DDictHashSet_addDDict()
855 FORWARD_IF_ERROR( ZSTD_decodeFrameHeader(dctx, ip, frameHeaderSize) , ""); in ZSTD_decompressFrame()
963 FORWARD_IF_ERROR(skippableSize, "readSkippableFrameSize failed"); in ZSTD_decompressMultiFrame()
973 FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDDict(dctx, ddict), ""); in ZSTD_decompressMultiFrame()
977 FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDict(dctx, dict, dictSize), ""); in ZSTD_decompressMultiFrame()
1143 FORWARD_IF_ERROR(ZSTD_decodeFrameHeader(dctx, dctx->headerBuffer, dctx->headerSize), ""); in ZSTD_decompressContinue()
1190 FORWARD_IF_ERROR(rSize, "ZSTD_copyRawBlock failed"); in ZSTD_decompressContinue()
1202 FORWARD_IF_ERROR(rSize, ""); in ZSTD_decompressContinue()
[all …]
H A Dzstd_ddict.c137 FORWARD_IF_ERROR( ZSTD_loadEntropy_intoDDict(ddict, dictContentType) , ""); in ZSTD_initDDict_internal()
H A Dhuf_decompress.c678 FORWARD_IF_ERROR(ret, "Failed to init asm args"); in HUF_decompress4X1_usingDTable_internal_bmi2_asm()
707 FORWARD_IF_ERROR(HUF_initRemainingDStream(&bit, &args, i, segmentEnd), "corruption"); in HUF_decompress4X1_usingDTable_internal_bmi2_asm()
1392 FORWARD_IF_ERROR(ret, "Failed to init asm args"); in HUF_decompress4X2_usingDTable_internal_bmi2_asm()
1419 FORWARD_IF_ERROR(HUF_initRemainingDStream(&bit, &args, i, segmentEnd), "corruption"); in HUF_decompress4X2_usingDTable_internal_bmi2_asm()
/linux/lib/zstd/common/
H A Derror_private.h131 #define FORWARD_IF_ERROR(err, ...) \ macro