Lines Matching refs:FORWARD_IF_ERROR

283     FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , "");  in ZSTD_CCtxParams_init_advanced()
597 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(param, &value), ""); in ZSTD_CCtxParams_setParameter()
1598 FORWARD_IF_ERROR(neededSpace, "cctx size estimate failed!"); in ZSTD_resetCCtx_internal()
1620 FORWARD_IF_ERROR(ZSTD_cwksp_create(ws, neededSpace, zc->customMem), ""); in ZSTD_resetCCtx_internal()
1687 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_resetCCtx_internal()
1786 FORWARD_IF_ERROR(ZSTD_resetCCtx_internal(cctx, params, pledgedSrcSize, in ZSTD_resetCCtx_byAttachingCDict()
1838 FORWARD_IF_ERROR(ZSTD_resetCCtx_internal(cctx, params, pledgedSrcSize, in ZSTD_resetCCtx_byCopyingCDict()
2143 FORWARD_IF_ERROR(cSize, "ZSTD_compressLiterals failed"); in ZSTD_entropyCompressSequences_internal()
2195 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for LitLens failed"); in ZSTD_entropyCompressSequences_internal()
2223 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for Offsets failed"); in ZSTD_entropyCompressSequences_internal()
2249 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for MatchLengths failed"); in ZSTD_entropyCompressSequences_internal()
2265 FORWARD_IF_ERROR(bitstreamSize, "ZSTD_encodeSequences failed"); in ZSTD_entropyCompressSequences_internal()
2309 FORWARD_IF_ERROR(cSize, "ZSTD_entropyCompressSequences_internal failed"); in ZSTD_entropyCompressSequences()
2447 FORWARD_IF_ERROR(ZSTD_ldm_generateSequences(&zc->ldmState, &ldmSeqStore, in ZSTD_buildSeqStore()
2629 FORWARD_IF_ERROR(bss, "ZSTD_buildSeqStore failed"); in ZSTD_compressBlock_internal()
2720 FORWARD_IF_ERROR(cSize, "ZSTD_compressSuperBlock failed"); in ZSTD_compressBlock_targetCBlockSize_body()
2745 FORWARD_IF_ERROR(bss, "ZSTD_buildSeqStore failed"); in ZSTD_compressBlock_targetCBlockSize()
2748 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_targetCBlockSize_body failed"); in ZSTD_compressBlock_targetCBlockSize()
2824 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_targetCBlockSize failed"); in ZSTD_compress_frameChunk()
2831 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_internal failed"); in ZSTD_compress_frameChunk()
2835 FORWARD_IF_ERROR(cSize, "ZSTD_noCompressBlock failed"); in ZSTD_compress_frameChunk()
2977 FORWARD_IF_ERROR(fhSize, "ZSTD_writeFrameHeader failed"); in ZSTD_compressContinue_internal()
3004FORWARD_IF_ERROR(cSize, "%s", frame ? "ZSTD_compress_frameChunk failed" : "ZSTD_compressBlock_inte… in ZSTD_compressContinue_internal()
3260 FORWARD_IF_ERROR(eSize, "ZSTD_loadCEntropy failed"); in ZSTD_loadZstdDictionary()
3265 FORWARD_IF_ERROR(ZSTD_loadDictionaryContent( in ZSTD_loadZstdDictionary()
3338 FORWARD_IF_ERROR( ZSTD_resetCCtx_internal(cctx, *params, pledgedSrcSize, in ZSTD_compressBegin_internal()
3350 FORWARD_IF_ERROR(dictID, "ZSTD_compress_insertDictionary failed"); in ZSTD_compressBegin_internal()
3368 FORWARD_IF_ERROR( ZSTD_checkCParams(params->cParams) , ""); in ZSTD_compressBegin_advanced_internal()
3423 FORWARD_IF_ERROR(fhSize, "ZSTD_writeFrameHeader failed"); in ZSTD_writeEpilogue()
3464 FORWARD_IF_ERROR(cSize, "ZSTD_compressContinue_internal failed"); in ZSTD_compressEnd()
3466 FORWARD_IF_ERROR(endResult, "ZSTD_writeEpilogue failed"); in ZSTD_compressEnd()
3490 FORWARD_IF_ERROR(ZSTD_checkCParams(params.cParams), ""); in ZSTD_compress_advanced()
3508 FORWARD_IF_ERROR( ZSTD_compressBegin_internal(cctx, in ZSTD_compress_advanced_internal()
3614 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_initCDict_internal()
3630 FORWARD_IF_ERROR(dictID, "ZSTD_compress_insertDictionary failed"); in ZSTD_initCDict_internal()
3897FORWARD_IF_ERROR(ZSTD_compressBegin_usingCDict_advanced(cctx, cdict, fParams, srcSize), ""); /* … in ZSTD_compress_usingCDict_advanced()
3971 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_resetCStream()
3972 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_resetCStream()
3986 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_internal()
3987 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_internal()
3992 FORWARD_IF_ERROR( ZSTD_CCtx_loadDictionary(zcs, dict, dictSize) , ""); in ZSTD_initCStream_internal()
3995 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, cdict) , ""); in ZSTD_initCStream_internal()
4008 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_usingCDict_advanced()
4009 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_usingCDict_advanced()
4011 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, cdict) , ""); in ZSTD_initCStream_usingCDict_advanced()
4019 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_usingCDict()
4020 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, cdict) , ""); in ZSTD_initCStream_usingCDict()
4039 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_advanced()
4040 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_advanced()
4041 FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , ""); in ZSTD_initCStream_advanced()
4043 FORWARD_IF_ERROR( ZSTD_CCtx_loadDictionary(zcs, dict, dictSize) , ""); in ZSTD_initCStream_advanced()
4050 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_usingDict()
4051 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream_usingDict()
4052 FORWARD_IF_ERROR( ZSTD_CCtx_loadDictionary(zcs, dict, dictSize) , ""); in ZSTD_initCStream_usingDict()
4064 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_srcSize()
4065 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, NULL) , ""); in ZSTD_initCStream_srcSize()
4066 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream_srcSize()
4067 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_srcSize()
4074 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream()
4075 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, NULL) , ""); in ZSTD_initCStream()
4076 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream()
4135 FORWARD_IF_ERROR(cSize, "ZSTD_compressEnd failed"); in ZSTD_compressStream_generic()
4182FORWARD_IF_ERROR(cSize, "%s", lastBlock ? "ZSTD_compressEnd failed" : "ZSTD_compressContinue faile… in ZSTD_compressStream_generic()
4202FORWARD_IF_ERROR(cSize, "%s", lastBlock ? "ZSTD_compressEnd failed" : "ZSTD_compressContinue faile… in ZSTD_compressStream_generic()
4268 FORWARD_IF_ERROR( ZSTD_compressStream2(zcs, output, input, ZSTD_e_continue) , ""); in ZSTD_compressStream()
4313 FORWARD_IF_ERROR( ZSTD_initLocalDict(cctx) , ""); /* Init the local dict if present. */ in ZSTD_CCtx_init_compressStream2()
4338 FORWARD_IF_ERROR( ZSTD_compressBegin_internal(cctx, in ZSTD_CCtx_init_compressStream2()
4375FORWARD_IF_ERROR(ZSTD_CCtx_init_compressStream2(cctx, endOp, input->size), "CompressStream2 initia… in ZSTD_compressStream2()
4380 FORWARD_IF_ERROR(ZSTD_checkBufferStability(cctx, output, input, endOp), "invalid buffers"); in ZSTD_compressStream2()
4382 FORWARD_IF_ERROR( ZSTD_compressStream_generic(cctx, output, input, endOp) , ""); in ZSTD_compressStream2()
4423 FORWARD_IF_ERROR(result, "ZSTD_compressStream2_simpleArgs failed"); in ZSTD_compress2()
4510 FORWARD_IF_ERROR(ZSTD_validateSequence(offCode, matchLength, seqPos->posInSrc, in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
4635 FORWARD_IF_ERROR(ZSTD_validateSequence(offCode, matchLength, seqPos->posInSrc, in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4719 FORWARD_IF_ERROR(additionalByteAdjustment, "Bad sequence copy"); in ZSTD_compressSequences_internal()
4725 FORWARD_IF_ERROR(cBlockSize, "Nocompress block failed"); in ZSTD_compressSequences_internal()
4742 FORWARD_IF_ERROR(compressedSeqsSize, "Compressing sequences of block failed"); in ZSTD_compressSequences_internal()
4758 FORWARD_IF_ERROR(cBlockSize, "Nocompress block failed"); in ZSTD_compressSequences_internal()
4762 FORWARD_IF_ERROR(cBlockSize, "RLE compress block failed"); in ZSTD_compressSequences_internal()
4806FORWARD_IF_ERROR(ZSTD_CCtx_init_compressStream2(cctx, ZSTD_e_end, srcSize), "CCtx initialization f… in ZSTD_compressSequences()
4820 FORWARD_IF_ERROR(compressedBlocksSize, "Compressing blocks failed!"); in ZSTD_compressSequences()
4851 FORWARD_IF_ERROR( remainingToFlush , "ZSTD_compressStream2 failed"); in ZSTD_endStream()