Lines Matching refs:FORWARD_IF_ERROR

393     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()
1139 …FORWARD_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()
1148 …FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_contentSizeFlag, fparams.contentSizeFlag != 0… in ZSTD_CCtx_setFParams()
1149 …FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_checksumFlag, fparams.checksumFlag != 0), ""); in ZSTD_CCtx_setFParams()
1150 … FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_dictIDFlag, fparams.noDictIDFlag == 0), ""); in ZSTD_CCtx_setFParams()
1158 FORWARD_IF_ERROR(ZSTD_checkCParams(params.cParams), ""); in ZSTD_CCtx_setParams()
1160 FORWARD_IF_ERROR(ZSTD_CCtx_setFParams(cctx, params.fParams), ""); in ZSTD_CCtx_setParams()
1162 FORWARD_IF_ERROR(ZSTD_CCtx_setCParams(cctx, params.cParams), ""); in ZSTD_CCtx_setParams()
2078 FORWARD_IF_ERROR(neededSpace, "cctx size estimate failed!"); in ZSTD_resetCCtx_internal()
2099 FORWARD_IF_ERROR(ZSTD_cwksp_create(ws, neededSpace, zc->customMem), ""); in ZSTD_resetCCtx_internal()
2136 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_resetCCtx_internal()
2276 FORWARD_IF_ERROR(ZSTD_resetCCtx_internal(cctx, &params, pledgedSrcSize, in ZSTD_resetCCtx_byAttachingCDict()
2346 FORWARD_IF_ERROR(ZSTD_resetCCtx_internal(cctx, &params, pledgedSrcSize, in ZSTD_resetCCtx_byCopyingCDict()
2848 FORWARD_IF_ERROR(cSize, "ZSTD_compressLiterals failed"); in ZSTD_entropyCompressSeqStore_internal()
2881 FORWARD_IF_ERROR(stats.size, "ZSTD_buildSequencesStatistics failed!"); in ZSTD_entropyCompressSeqStore_internal()
2895 FORWARD_IF_ERROR(bitstreamSize, "ZSTD_encodeSequences failed"); in ZSTD_entropyCompressSeqStore_internal()
2944 FORWARD_IF_ERROR(cSize, "ZSTD_entropyCompressSeqStore_internal failed"); in ZSTD_entropyCompressSeqStore_wExtLitBuffer()
3254 FORWARD_IF_ERROR(ZSTD_ldm_generateSequences(&zc->ldmState, &ldmSeqStore, in ZSTD_buildSeqStore()
3295 FORWARD_IF_ERROR( in ZSTD_buildSeqStore()
3442 … FORWARD_IF_ERROR(ZSTD_CCtx_getParameter(zc, ZSTD_c_targetCBlockSize, &targetCBlockSize), ""); in ZSTD_generateSequences()
3447 FORWARD_IF_ERROR(ZSTD_CCtx_getParameter(zc, ZSTD_c_nbWorkers, &nbWorkers), ""); in ZSTD_generateSequences()
3463 FORWARD_IF_ERROR(ret, "ZSTD_compress2 failed"); in ZSTD_generateSequences()
3592 FORWARD_IF_ERROR(largest, "HIST_count_wksp failed"); in ZSTD_buildBlockEntropyStats_literals()
3619 FORWARD_IF_ERROR(maxBits, "HUF_buildCTable_wksp"); in ZSTD_buildBlockEntropyStats_literals()
3697 FORWARD_IF_ERROR(stats.size, "ZSTD_buildSequencesStatistics failed!"); in ZSTD_buildBlockEntropyStats_sequences()
3731 …FORWARD_IF_ERROR(entropyMetadata->hufMetadata.hufDesSize, "ZSTD_buildBlockEntropyStats_literals fa… in ZSTD_buildBlockEntropyStats()
3738 …FORWARD_IF_ERROR(entropyMetadata->fseMetadata.fseTablesSize, "ZSTD_buildBlockEntropyStats_sequence… in ZSTD_buildBlockEntropyStats()
3866 FORWARD_IF_ERROR(ZSTD_buildBlockEntropyStats(seqStore, in ZSTD_buildEntropyStatisticsAndEstimateSubBlockSize()
4046 FORWARD_IF_ERROR(cSeqsSize, "ZSTD_entropyCompressSeqStore failed!"); in ZSTD_compressSeqStore_singleBlock()
4060 …FORWARD_IF_ERROR(ZSTD_copyBlockSequences(&zc->seqCollector, seqStore, dRepOriginal.rep), "copyBloc… in ZSTD_compressSeqStore_singleBlock()
4067 FORWARD_IF_ERROR(cSize, "Nocompress block failed"); in ZSTD_compressSeqStore_singleBlock()
4072 FORWARD_IF_ERROR(cSize, "RLE compress block failed"); in ZSTD_compressSeqStore_singleBlock()
4221 … FORWARD_IF_ERROR(cSizeSingleBlock, "Compressing single block from splitBlock_internal() failed!"); in ZSTD_compressBlock_splitBlock_internal()
4251 FORWARD_IF_ERROR(cSizeChunk, "Compressing chunk failed!"); in ZSTD_compressBlock_splitBlock_internal()
4278 FORWARD_IF_ERROR(bss, "ZSTD_buildSeqStore failed"); in ZSTD_compressBlock_splitBlock()
4284 FORWARD_IF_ERROR(cSize, "ZSTD_noCompressBlock failed"); in ZSTD_compressBlock_splitBlock()
4292 FORWARD_IF_ERROR(cSize, "Splitting blocks failed!"); in ZSTD_compressBlock_splitBlock()
4314 FORWARD_IF_ERROR(bss, "ZSTD_buildSeqStore failed"); in ZSTD_compressBlock_internal()
4323 …FORWARD_IF_ERROR(ZSTD_copyBlockSequences(&zc->seqCollector, ZSTD_getSeqStore(zc), zc->blockState.p… in ZSTD_compressBlock_internal()
4404 FORWARD_IF_ERROR(cSize, "ZSTD_compressSuperBlock failed"); in ZSTD_compressBlock_targetCBlockSize_body()
4429 FORWARD_IF_ERROR(bss, "ZSTD_buildSeqStore failed"); in ZSTD_compressBlock_targetCBlockSize()
4432 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_targetCBlockSize_body failed"); in ZSTD_compressBlock_targetCBlockSize()
4552 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_targetCBlockSize failed"); in ZSTD_compress_frameChunk()
4557 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_splitBlock failed"); in ZSTD_compress_frameChunk()
4563 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_internal failed"); in ZSTD_compress_frameChunk()
4567 FORWARD_IF_ERROR(cSize, "ZSTD_noCompressBlock failed"); in ZSTD_compress_frameChunk()
4722 FORWARD_IF_ERROR(fhSize, "ZSTD_writeFrameHeader failed"); in ZSTD_compressContinue_internal()
4750 …FORWARD_IF_ERROR(cSize, "%s", frame ? "ZSTD_compress_frameChunk failed" : "ZSTD_compressBlock_inte… in ZSTD_compressContinue_internal()
5094 FORWARD_IF_ERROR(eSize, "ZSTD_loadCEntropy failed"); in ZSTD_loadZstdDictionary()
5099 FORWARD_IF_ERROR(ZSTD_loadDictionaryContent( in ZSTD_loadZstdDictionary()
5175 FORWARD_IF_ERROR( ZSTD_resetCCtx_internal(cctx, params, pledgedSrcSize, in ZSTD_compressBegin_internal()
5188 FORWARD_IF_ERROR(dictID, "ZSTD_compress_insertDictionary failed"); in ZSTD_compressBegin_internal()
5206 FORWARD_IF_ERROR( ZSTD_checkCParams(params->cParams) , ""); in ZSTD_compressBegin_advanced_internal()
5266 FORWARD_IF_ERROR(fhSize, "ZSTD_writeFrameHeader failed"); in ZSTD_writeEpilogue()
5308 FORWARD_IF_ERROR(cSize, "ZSTD_compressContinue_internal failed"); in ZSTD_compressEnd_public()
5310 FORWARD_IF_ERROR(endResult, "ZSTD_writeEpilogue failed"); in ZSTD_compressEnd_public()
5341 FORWARD_IF_ERROR(ZSTD_checkCParams(params.cParams), ""); in ZSTD_compress_advanced()
5359 FORWARD_IF_ERROR( ZSTD_compressBegin_internal(cctx, in ZSTD_compress_advanced_internal()
5464 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_initCDict_internal()
5481 FORWARD_IF_ERROR(dictID, "ZSTD_compress_insertDictionary failed"); in ZSTD_initCDict_internal()
5778 …FORWARD_IF_ERROR(ZSTD_compressBegin_usingCDict_internal(cctx, cdict, fParams, srcSize), ""); /* wi… in ZSTD_compress_usingCDict_internal()
5863 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_resetCStream()
5864 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_resetCStream()
5878 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_internal()
5879 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_internal()
5884 FORWARD_IF_ERROR( ZSTD_CCtx_loadDictionary(zcs, dict, dictSize) , ""); in ZSTD_initCStream_internal()
5887 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, cdict) , ""); in ZSTD_initCStream_internal()
5900 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_usingCDict_advanced()
5901 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_usingCDict_advanced()
5903 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, cdict) , ""); in ZSTD_initCStream_usingCDict_advanced()
5911 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_usingCDict()
5912 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, cdict) , ""); in ZSTD_initCStream_usingCDict()
5931 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_advanced()
5932 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_advanced()
5933 FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , ""); in ZSTD_initCStream_advanced()
5935 FORWARD_IF_ERROR( ZSTD_CCtx_loadDictionary(zcs, dict, dictSize) , ""); in ZSTD_initCStream_advanced()
5942 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_usingDict()
5943 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream_usingDict()
5944 FORWARD_IF_ERROR( ZSTD_CCtx_loadDictionary(zcs, dict, dictSize) , ""); in ZSTD_initCStream_usingDict()
5956 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_srcSize()
5957 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, NULL) , ""); in ZSTD_initCStream_srcSize()
5958 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream_srcSize()
5959 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_srcSize()
5966 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream()
5967 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, NULL) , ""); in ZSTD_initCStream()
5968 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream()
6041 FORWARD_IF_ERROR(cSize, "ZSTD_compressEnd failed"); in ZSTD_compressStream_generic()
6100 …FORWARD_IF_ERROR(cSize, "%s", lastBlock ? "ZSTD_compressEnd failed" : "ZSTD_compressContinue faile… in ZSTD_compressStream_generic()
6118 …FORWARD_IF_ERROR(cSize, "%s", lastBlock ? "ZSTD_compressEnd failed" : "ZSTD_compressContinue faile… in ZSTD_compressStream_generic()
6183 FORWARD_IF_ERROR( ZSTD_compressStream2(zcs, output, input, ZSTD_e_continue) , ""); in ZSTD_compressStream()
6235 FORWARD_IF_ERROR( ZSTD_initLocalDict(cctx) , ""); /* Init the local dict if present. */ in ZSTD_CCtx_init_compressStream2()
6266 FORWARD_IF_ERROR( ZSTD_compressBegin_internal(cctx, in ZSTD_CCtx_init_compressStream2()
6324 …FORWARD_IF_ERROR(ZSTD_CCtx_init_compressStream2(cctx, endOp, totalInputSize), "compressStream2 ini… in ZSTD_compressStream2()
6329 FORWARD_IF_ERROR(ZSTD_checkBufferStability(cctx, output, input, endOp), "invalid buffers"); in ZSTD_compressStream2()
6331 FORWARD_IF_ERROR( ZSTD_compressStream_generic(cctx, output, input, endOp) , ""); in ZSTD_compressStream2()
6380 FORWARD_IF_ERROR(result, "ZSTD_compressStream2_simpleArgs failed"); in ZSTD_compress2()
6475 … FORWARD_IF_ERROR(ZSTD_validateSequence(offBase, matchLength, cctx->appliedParams.cParams.minMatch, in ZSTD_transferSequences_wBlockDelim()
6630 …FORWARD_IF_ERROR(ZSTD_validateSequence(offBase, matchLength, cctx->appliedParams.cParams.minMatch,… in ZSTD_transferSequences_noDelim()
6721 …FORWARD_IF_ERROR(explicitBlockSize, "Error while determining block size with explicit delimiters"); in determine_blockSize()
6767 FORWARD_IF_ERROR(blockSize, "Error while trying to determine block size"); in ZSTD_compressSequences_internal()
6775 FORWARD_IF_ERROR(blockSize, "Bad sequence copy"); in ZSTD_compressSequences_internal()
6782 FORWARD_IF_ERROR(cBlockSize, "Nocompress block failed"); in ZSTD_compressSequences_internal()
6800 FORWARD_IF_ERROR(compressedSeqsSize, "Compressing sequences of block failed"); in ZSTD_compressSequences_internal()
6816 FORWARD_IF_ERROR(cBlockSize, "ZSTD_noCompressBlock failed"); in ZSTD_compressSequences_internal()
6820 FORWARD_IF_ERROR(cBlockSize, "ZSTD_rleCompressBlock failed"); in ZSTD_compressSequences_internal()
6865 …FORWARD_IF_ERROR(ZSTD_CCtx_init_compressStream2(cctx, ZSTD_e_end, srcSize), "CCtx initialization f… in ZSTD_compressSequences()
6884 FORWARD_IF_ERROR(cBlocksSize, "Compressing blocks failed!"); in ZSTD_compressSequences()
7297 …FORWARD_IF_ERROR(block.nbSequences, "Error while trying to determine nb of sequences for a block"); in ZSTD_compressSequencesAndLiterals_internal()
7305 FORWARD_IF_ERROR(conversionStatus, "Bad sequence conversion"); in ZSTD_compressSequencesAndLiterals_internal()
7325 FORWARD_IF_ERROR(compressedSeqsSize, "Compressing sequences of block failed"); in ZSTD_compressSequencesAndLiterals_internal()
7391 …FORWARD_IF_ERROR(ZSTD_CCtx_init_compressStream2(cctx, ZSTD_e_end, decompressedSize), "CCtx initial… in ZSTD_compressSequencesAndLiterals()
7417 FORWARD_IF_ERROR(cBlocksSize, "Compressing blocks failed!"); in ZSTD_compressSequencesAndLiterals()
7449 FORWARD_IF_ERROR(remainingToFlush , "ZSTD_compressStream2(,,ZSTD_e_end) failed"); in ZSTD_endStream()