• Home
  • Raw
  • Download

Lines Matching refs:FORWARD_IF_ERROR

275     FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , "");  in ZSTD_CCtxParams_init_advanced()
603 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(param, &value), ""); in ZSTD_CCtxParams_setParameter()
692 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(param, &value), ""); in ZSTD_CCtxParams_setParameter()
705 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(param, &value), ""); in ZSTD_CCtxParams_setParameter()
716 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(ZSTD_c_overlapLog, &value), ""); in ZSTD_CCtxParams_setParameter()
726 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(ZSTD_c_overlapLog, &value), ""); in ZSTD_CCtxParams_setParameter()
1641 FORWARD_IF_ERROR(neededSpace, "cctx size estimate failed!"); in ZSTD_resetCCtx_internal()
1663 FORWARD_IF_ERROR(ZSTD_cwksp_create(ws, neededSpace, zc->customMem), ""); in ZSTD_resetCCtx_internal()
1729 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_resetCCtx_internal()
1828 FORWARD_IF_ERROR(ZSTD_resetCCtx_internal(cctx, params, pledgedSrcSize, in ZSTD_resetCCtx_byAttachingCDict()
1879 FORWARD_IF_ERROR(ZSTD_resetCCtx_internal(cctx, params, pledgedSrcSize, in ZSTD_resetCCtx_byCopyingCDict()
2194 FORWARD_IF_ERROR(cSize, "ZSTD_compressLiterals failed"); in ZSTD_entropyCompressSequences_internal()
2246 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for LitLens failed"); in ZSTD_entropyCompressSequences_internal()
2274 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for Offsets failed"); in ZSTD_entropyCompressSequences_internal()
2300 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for MatchLengths failed"); in ZSTD_entropyCompressSequences_internal()
2316 FORWARD_IF_ERROR(bitstreamSize, "ZSTD_encodeSequences failed"); in ZSTD_entropyCompressSequences_internal()
2360 FORWARD_IF_ERROR(cSize, "ZSTD_entropyCompressSequences_internal failed"); in ZSTD_entropyCompressSequences()
2498 FORWARD_IF_ERROR(ZSTD_ldm_generateSequences(&zc->ldmState, &ldmSeqStore, in ZSTD_buildSeqStore()
2680 FORWARD_IF_ERROR(bss, "ZSTD_buildSeqStore failed"); in ZSTD_compressBlock_internal()
2771 FORWARD_IF_ERROR(cSize, "ZSTD_compressSuperBlock failed"); in ZSTD_compressBlock_targetCBlockSize_body()
2796 FORWARD_IF_ERROR(bss, "ZSTD_buildSeqStore failed"); in ZSTD_compressBlock_targetCBlockSize()
2799 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_targetCBlockSize_body failed"); in ZSTD_compressBlock_targetCBlockSize()
2875 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_targetCBlockSize failed"); in ZSTD_compress_frameChunk()
2882 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_internal failed"); in ZSTD_compress_frameChunk()
2886 FORWARD_IF_ERROR(cSize, "ZSTD_noCompressBlock failed"); in ZSTD_compress_frameChunk()
3004 FORWARD_IF_ERROR(fhSize, "ZSTD_writeFrameHeader failed"); in ZSTD_compressContinue_internal()
3031FORWARD_IF_ERROR(cSize, "%s", frame ? "ZSTD_compress_frameChunk failed" : "ZSTD_compressBlock_inte… in ZSTD_compressContinue_internal()
3287 FORWARD_IF_ERROR(eSize, "ZSTD_loadCEntropy failed"); in ZSTD_loadZstdDictionary()
3292 FORWARD_IF_ERROR(ZSTD_loadDictionaryContent( in ZSTD_loadZstdDictionary()
3365 FORWARD_IF_ERROR( ZSTD_resetCCtx_internal(cctx, *params, pledgedSrcSize, in ZSTD_compressBegin_internal()
3377 FORWARD_IF_ERROR(dictID, "ZSTD_compress_insertDictionary failed"); in ZSTD_compressBegin_internal()
3394 FORWARD_IF_ERROR( ZSTD_checkCParams(params->cParams) , ""); in ZSTD_compressBegin_advanced_internal()
3447 FORWARD_IF_ERROR(fhSize, "ZSTD_writeFrameHeader failed"); in ZSTD_writeEpilogue()
3482 FORWARD_IF_ERROR(cSize, "ZSTD_compressContinue_internal failed"); in ZSTD_compressEnd()
3484 FORWARD_IF_ERROR(endResult, "ZSTD_writeEpilogue failed"); in ZSTD_compressEnd()
3522 FORWARD_IF_ERROR(ZSTD_checkCParams(params.cParams), ""); in ZSTD_compress_advanced()
3539 FORWARD_IF_ERROR( ZSTD_compressBegin_internal(cctx, in ZSTD_compress_advanced_internal()
3649 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_initCDict_internal()
3665 FORWARD_IF_ERROR(dictID, "ZSTD_compress_insertDictionary failed"); in ZSTD_initCDict_internal()
3929FORWARD_IF_ERROR(ZSTD_compressBegin_usingCDict_advanced(cctx, cdict, fParams, srcSize), ""); /* … in ZSTD_compress_usingCDict_advanced()
4003 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_resetCStream()
4004 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_resetCStream()
4018 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_internal()
4019 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_internal()
4024 FORWARD_IF_ERROR( ZSTD_CCtx_loadDictionary(zcs, dict, dictSize) , ""); in ZSTD_initCStream_internal()
4027 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, cdict) , ""); in ZSTD_initCStream_internal()
4040 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_usingCDict_advanced()
4041 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_usingCDict_advanced()
4043 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, cdict) , ""); in ZSTD_initCStream_usingCDict_advanced()
4051 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_usingCDict()
4052 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, cdict) , ""); in ZSTD_initCStream_usingCDict()
4071 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_advanced()
4072 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_advanced()
4073 FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , ""); in ZSTD_initCStream_advanced()
4075 FORWARD_IF_ERROR( ZSTD_CCtx_loadDictionary(zcs, dict, dictSize) , ""); in ZSTD_initCStream_advanced()
4082 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_usingDict()
4083 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream_usingDict()
4084 FORWARD_IF_ERROR( ZSTD_CCtx_loadDictionary(zcs, dict, dictSize) , ""); in ZSTD_initCStream_usingDict()
4096 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_srcSize()
4097 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, NULL) , ""); in ZSTD_initCStream_srcSize()
4098 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream_srcSize()
4099 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_srcSize()
4106 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream()
4107 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, NULL) , ""); in ZSTD_initCStream()
4108 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream()
4167 FORWARD_IF_ERROR(cSize, "ZSTD_compressEnd failed"); in ZSTD_compressStream_generic()
4214FORWARD_IF_ERROR(cSize, "%s", lastBlock ? "ZSTD_compressEnd failed" : "ZSTD_compressContinue faile… in ZSTD_compressStream_generic()
4234FORWARD_IF_ERROR(cSize, "%s", lastBlock ? "ZSTD_compressEnd failed" : "ZSTD_compressContinue faile… in ZSTD_compressStream_generic()
4306 FORWARD_IF_ERROR( ZSTD_compressStream2(zcs, output, input, ZSTD_e_continue) , ""); in ZSTD_compressStream()
4351 FORWARD_IF_ERROR( ZSTD_initLocalDict(cctx) , ""); /* Init the local dict if present. */ in ZSTD_CCtx_init_compressStream2()
4388 FORWARD_IF_ERROR( ZSTDMT_initCStream_internal( in ZSTD_CCtx_init_compressStream2()
4398 FORWARD_IF_ERROR( ZSTD_compressBegin_internal(cctx, in ZSTD_CCtx_init_compressStream2()
4435FORWARD_IF_ERROR(ZSTD_CCtx_init_compressStream2(cctx, endOp, input->size), "CompressStream2 initia… in ZSTD_compressStream2()
4440 FORWARD_IF_ERROR(ZSTD_checkBufferStability(cctx, output, input, endOp), "invalid buffers"); in ZSTD_compressStream2()
4457 FORWARD_IF_ERROR(flushMin, "ZSTDMT_compressStream_generic failed"); in ZSTD_compressStream2()
4484 FORWARD_IF_ERROR( ZSTD_compressStream_generic(cctx, output, input, endOp) , ""); in ZSTD_compressStream2()
4525 FORWARD_IF_ERROR(result, "ZSTD_compressStream2_simpleArgs failed"); in ZSTD_compress2()
4612 FORWARD_IF_ERROR(ZSTD_validateSequence(offCode, matchLength, seqPos->posInSrc, in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
4737 FORWARD_IF_ERROR(ZSTD_validateSequence(offCode, matchLength, seqPos->posInSrc, in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4821 FORWARD_IF_ERROR(additionalByteAdjustment, "Bad sequence copy"); in ZSTD_compressSequences_internal()
4827 FORWARD_IF_ERROR(cBlockSize, "Nocompress block failed"); in ZSTD_compressSequences_internal()
4844 FORWARD_IF_ERROR(compressedSeqsSize, "Compressing sequences of block failed"); in ZSTD_compressSequences_internal()
4860 FORWARD_IF_ERROR(cBlockSize, "Nocompress block failed"); in ZSTD_compressSequences_internal()
4864 FORWARD_IF_ERROR(cBlockSize, "RLE compress block failed"); in ZSTD_compressSequences_internal()
4908FORWARD_IF_ERROR(ZSTD_CCtx_init_compressStream2(cctx, ZSTD_e_end, srcSize), "CCtx initialization f… in ZSTD_compressSequences()
4922 FORWARD_IF_ERROR(compressedBlocksSize, "Compressing blocks failed!"); in ZSTD_compressSequences()
4953 FORWARD_IF_ERROR( remainingToFlush , "ZSTD_compressStream2 failed"); in ZSTD_endStream()