Lines Matching refs:FORWARD_IF_ERROR

6417 #define FORWARD_IF_ERROR(err, ...) \  macro
11315 FORWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq, max), ""); in ZSTD_NCountCost()
11489 FORWARD_IF_ERROR(FSE_buildCTable_rle(nextCTable, (BYTE)max), ""); in ZSTD_buildCTable()
11497 …FORWARD_IF_ERROR(FSE_buildCTable_wksp(nextCTable, defaultNorm, defaultMax, defaultNormLog, entropy… in ZSTD_buildCTable()
11508 FORWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max), ""); in ZSTD_buildCTable()
11510 FORWARD_IF_ERROR(NCountSize, "FSE_writeNCount failed"); in ZSTD_buildCTable()
11511 …FORWARD_IF_ERROR(FSE_buildCTable_wksp(nextCTable, norm, max, tableLog, entropyWorkspace, entropyWo… in ZSTD_buildCTable()
11808 FORWARD_IF_ERROR(largest, "HIST_count_wksp failed"); in ZSTD_buildSuperBlockEntropy_literal()
11832 FORWARD_IF_ERROR(maxBits, "HUF_buildCTable_wksp"); in ZSTD_buildSuperBlockEntropy_literal()
11919 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for LitLens failed"); in ZSTD_buildSuperBlockEntropy_sequences()
11943 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for Offsets failed"); in ZSTD_buildSuperBlockEntropy_sequences()
11965 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for MatchLengths failed"); in ZSTD_buildSuperBlockEntropy_sequences()
11995 …FORWARD_IF_ERROR(entropyMetadata->hufMetadata.hufDesSize, "ZSTD_buildSuperBlockEntropy_literal fai… in ZSTD_buildSuperBlockEntropy()
12002 …FORWARD_IF_ERROR(entropyMetadata->fseMetadata.fseTablesSize, "ZSTD_buildSuperBlockEntropy_sequence… in ZSTD_buildSuperBlockEntropy()
12197 FORWARD_IF_ERROR(bitstreamSize, "ZSTD_encodeSequences failed"); in ZSTD_compressSubBlock_sequences()
12262 FORWARD_IF_ERROR(cLitSize, "ZSTD_compressSubBlock_literal failed"); in ZSTD_compressSubBlock()
12273 FORWARD_IF_ERROR(cSeqSize, "ZSTD_compressSubBlock_sequences failed"); in ZSTD_compressSubBlock()
12474 FORWARD_IF_ERROR(cSize, "ZSTD_compressSubBlock failed"); in ZSTD_compressSubBlock_multi()
12511 FORWARD_IF_ERROR(cSize, "ZSTD_noCompressBlock failed"); in ZSTD_compressSubBlock_multi()
12535 FORWARD_IF_ERROR(ZSTD_buildSuperBlockEntropy(&zc->seqStore, in ZSTD_compressSuperBlock()
13328 FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , ""); in ZSTD_CCtxParams_init_advanced()
13625 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(param, &value), ""); in ZSTD_CCtxParams_setParameter()
13713 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(param, &value), ""); in ZSTD_CCtxParams_setParameter()
13726 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(param, &value), ""); in ZSTD_CCtxParams_setParameter()
13737 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(ZSTD_c_overlapLog, &value), ""); in ZSTD_CCtxParams_setParameter()
13747 FORWARD_IF_ERROR(ZSTD_cParam_clampBounds(ZSTD_c_overlapLog, &value), ""); in ZSTD_CCtxParams_setParameter()
14577 FORWARD_IF_ERROR(ZSTD_cwksp_create(ws, neededSpace, zc->customMem), ""); in ZSTD_resetCCtx_internal()
14642 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_resetCCtx_internal()
14726 FORWARD_IF_ERROR(ZSTD_resetCCtx_internal(cctx, params, pledgedSrcSize, in ZSTD_resetCCtx_byAttachingCDict()
14775 FORWARD_IF_ERROR(ZSTD_resetCCtx_internal(cctx, params, pledgedSrcSize, in ZSTD_resetCCtx_byCopyingCDict()
15086 FORWARD_IF_ERROR(cSize, "ZSTD_compressLiterals failed"); in ZSTD_compressSequences_internal()
15138 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for LitLens failed"); in ZSTD_compressSequences_internal()
15166 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for Offsets failed"); in ZSTD_compressSequences_internal()
15192 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for MatchLengths failed"); in ZSTD_compressSequences_internal()
15208 FORWARD_IF_ERROR(bitstreamSize, "ZSTD_encodeSequences failed"); in ZSTD_compressSequences_internal()
15252 FORWARD_IF_ERROR(cSize, "ZSTD_compressSequences_internal failed"); in ZSTD_compressSequences()
15376 FORWARD_IF_ERROR(ZSTD_ldm_generateSequences(&zc->ldmState, &ldmSeqStore, in ZSTD_buildSeqStore()
15513 FORWARD_IF_ERROR(bss, "ZSTD_buildSeqStore failed"); in ZSTD_compressBlock_internal()
15597 FORWARD_IF_ERROR(cSize, "ZSTD_compressSuperBlock failed"); in ZSTD_compressBlock_targetCBlockSize_body()
15622 FORWARD_IF_ERROR(bss, "ZSTD_buildSeqStore failed"); in ZSTD_compressBlock_targetCBlockSize()
15625 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_targetCBlockSize_body failed"); in ZSTD_compressBlock_targetCBlockSize()
15701 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_targetCBlockSize failed"); in ZSTD_compress_frameChunk()
15708 FORWARD_IF_ERROR(cSize, "ZSTD_compressBlock_internal failed"); in ZSTD_compress_frameChunk()
15712 FORWARD_IF_ERROR(cSize, "ZSTD_noCompressBlock failed"); in ZSTD_compress_frameChunk()
15830 FORWARD_IF_ERROR(fhSize, "ZSTD_writeFrameHeader failed"); in ZSTD_compressContinue_internal()
15857 …FORWARD_IF_ERROR(cSize, "%s", frame ? "ZSTD_compress_frameChunk failed" : "ZSTD_compressBlock_inte… in ZSTD_compressContinue_internal()
16028 FORWARD_IF_ERROR( ZSTD_checkDictNCount(matchlengthNCount, matchlengthMaxValue, MaxML), ""); in ZSTD_loadCEntropy()
16043 FORWARD_IF_ERROR( ZSTD_checkDictNCount(litlengthNCount, litlengthMaxValue, MaxLL), ""); in ZSTD_loadCEntropy()
16091 FORWARD_IF_ERROR(eSize, "ZSTD_loadCEntropy failed"); in ZSTD_loadZstdDictionary()
16101 …FORWARD_IF_ERROR(ZSTD_checkDictNCount(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff)), ""… in ZSTD_loadZstdDictionary()
16112 FORWARD_IF_ERROR(ZSTD_loadDictionaryContent( in ZSTD_loadZstdDictionary()
16185 FORWARD_IF_ERROR( ZSTD_resetCCtx_internal(cctx, *params, pledgedSrcSize, in ZSTD_compressBegin_internal()
16197 FORWARD_IF_ERROR(dictID, "ZSTD_compress_insertDictionary failed"); in ZSTD_compressBegin_internal()
16214 FORWARD_IF_ERROR( ZSTD_checkCParams(params->cParams) , ""); in ZSTD_compressBegin_advanced_internal()
16267 FORWARD_IF_ERROR(fhSize, "ZSTD_writeFrameHeader failed"); in ZSTD_writeEpilogue()
16302 FORWARD_IF_ERROR(cSize, "ZSTD_compressContinue_internal failed"); in ZSTD_compressEnd()
16304 FORWARD_IF_ERROR(endResult, "ZSTD_writeEpilogue failed"); in ZSTD_compressEnd()
16343 FORWARD_IF_ERROR(ZSTD_checkCParams(params.cParams), ""); in ZSTD_compress_advanced()
16360 FORWARD_IF_ERROR( ZSTD_compressBegin_internal(cctx, in ZSTD_compress_advanced_internal()
16458 FORWARD_IF_ERROR(ZSTD_reset_matchState( in ZSTD_initCDict_internal()
16477 FORWARD_IF_ERROR(dictID, "ZSTD_compress_insertDictionary failed"); in ZSTD_initCDict_internal()
16669 …FORWARD_IF_ERROR(ZSTD_compressBegin_usingCDict_advanced(cctx, cdict, fParams, srcSize), ""); /* … in ZSTD_compress_usingCDict_advanced()
16737 FORWARD_IF_ERROR( ZSTD_compressBegin_internal(cctx, in ZSTD_resetCStream_internal()
16763 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_resetCStream()
16764 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_resetCStream()
16778 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_internal()
16779 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_internal()
16784 FORWARD_IF_ERROR( ZSTD_CCtx_loadDictionary(zcs, dict, dictSize) , ""); in ZSTD_initCStream_internal()
16787 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, cdict) , ""); in ZSTD_initCStream_internal()
16800 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_usingCDict_advanced()
16801 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_usingCDict_advanced()
16803 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, cdict) , ""); in ZSTD_initCStream_usingCDict_advanced()
16811 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_usingCDict()
16812 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, cdict) , ""); in ZSTD_initCStream_usingCDict()
16831 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_advanced()
16832 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_advanced()
16833 FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , ""); in ZSTD_initCStream_advanced()
16835 FORWARD_IF_ERROR( ZSTD_CCtx_loadDictionary(zcs, dict, dictSize) , ""); in ZSTD_initCStream_advanced()
16842 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_usingDict()
16843 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream_usingDict()
16844 FORWARD_IF_ERROR( ZSTD_CCtx_loadDictionary(zcs, dict, dictSize) , ""); in ZSTD_initCStream_usingDict()
16856 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream_srcSize()
16857 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, NULL) , ""); in ZSTD_initCStream_srcSize()
16858 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream_srcSize()
16859 FORWARD_IF_ERROR( ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize) , ""); in ZSTD_initCStream_srcSize()
16866 FORWARD_IF_ERROR( ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only) , ""); in ZSTD_initCStream()
16867 FORWARD_IF_ERROR( ZSTD_CCtx_refCDict(zcs, NULL) , ""); in ZSTD_initCStream()
16868 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream()
16921 FORWARD_IF_ERROR(cSize, "ZSTD_compressEnd failed"); in ZSTD_compressStream_generic()
16963 …FORWARD_IF_ERROR(cSize, "%s", lastBlock ? "ZSTD_compressEnd failed" : "ZSTD_compressContinue faile… in ZSTD_compressStream_generic()
17040 FORWARD_IF_ERROR( ZSTD_compressStream2(zcs, output, input, ZSTD_e_continue) , ""); in ZSTD_compressStream()
17060 FORWARD_IF_ERROR( ZSTD_initLocalDict(cctx) , ""); /* Init the local dict if present. */ in ZSTD_compressStream2()
17083 FORWARD_IF_ERROR( ZSTDMT_initCStream_internal( in ZSTD_compressStream2()
17091 { FORWARD_IF_ERROR( ZSTD_resetCStream_internal(cctx, in ZSTD_compressStream2()
17116 FORWARD_IF_ERROR(flushMin, "ZSTDMT_compressStream_generic failed"); in ZSTD_compressStream2()
17126 FORWARD_IF_ERROR( ZSTD_compressStream_generic(cctx, output, input, endOp) , ""); in ZSTD_compressStream2()
17158 FORWARD_IF_ERROR(result, "ZSTD_compressStream2_simpleArgs failed"); in ZSTD_compress2()
17183 FORWARD_IF_ERROR( remainingToFlush , "ZSTD_compressStream2 failed"); in ZSTD_endStream()
24338 FORWARD_IF_ERROR( ZSTD_loadEntropy_intoDDict(ddict, dictContentType) , ""); in ZSTD_initDDict_internal()
25136 FORWARD_IF_ERROR( ZSTD_decodeFrameHeader(dctx, ip, frameHeaderSize) , ""); in ZSTD_decompressFrame()
25244 FORWARD_IF_ERROR(skippableSize, "readSkippableFrameSize failed"); in ZSTD_decompressMultiFrame()
25254 FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDDict(dctx, ddict), ""); in ZSTD_decompressMultiFrame()
25258 FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDict(dctx, dict, dictSize), ""); in ZSTD_decompressMultiFrame()
25421 FORWARD_IF_ERROR(ZSTD_decodeFrameHeader(dctx, dctx->headerBuffer, dctx->headerSize), ""); in ZSTD_decompressContinue()
25468 FORWARD_IF_ERROR(rSize, "ZSTD_copyRawBlock failed"); in ZSTD_decompressContinue()
25480 FORWARD_IF_ERROR(rSize, ""); in ZSTD_decompressContinue()
25687 FORWARD_IF_ERROR( ZSTD_decompressBegin(dctx) , ""); in ZSTD_decompressBegin_usingDict()
25710 FORWARD_IF_ERROR( ZSTD_decompressBegin(dctx) , ""); in ZSTD_decompressBegin_usingDDict()
25824 …FORWARD_IF_ERROR(ZSTD_DCtx_loadDictionary_advanced(dctx, prefix, prefixSize, ZSTD_dlm_byRef, dictC… in ZSTD_DCtx_refPrefix_advanced()
25841 FORWARD_IF_ERROR( ZSTD_DCtx_reset(zds, ZSTD_reset_session_only) , ""); in ZSTD_initDStream_usingDict()
25842 FORWARD_IF_ERROR( ZSTD_DCtx_loadDictionary(zds, dict, dictSize) , ""); in ZSTD_initDStream_usingDict()
25858 FORWARD_IF_ERROR( ZSTD_DCtx_reset(dctx, ZSTD_reset_session_only) , ""); in ZSTD_initDStream_usingDDict()
25859 FORWARD_IF_ERROR( ZSTD_DCtx_refDDict(dctx, ddict) , ""); in ZSTD_initDStream_usingDDict()
25868 FORWARD_IF_ERROR(ZSTD_DCtx_reset(dctx, ZSTD_reset_session_only), ""); in ZSTD_resetDStream()
26071 FORWARD_IF_ERROR(decodedSize, ""); in ZSTD_decompressContinueStream()
26082 FORWARD_IF_ERROR(decodedSize, ""); in ZSTD_decompressContinueStream()
26116 FORWARD_IF_ERROR(ZSTD_checkOutBuffer(zds, output), ""); in ZSTD_decompressStream()
26153 FORWARD_IF_ERROR(ZSTD_initLegacyStream(&zds->legacyContext, in ZSTD_decompressStream()
26209 FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDDict(zds, ZSTD_getDDict(zds)), ""); in ZSTD_decompressStream()
26215 FORWARD_IF_ERROR(ZSTD_decodeFrameHeader(zds, zds->headerBuffer, zds->lhSize), ""); in ZSTD_decompressStream()
26275 … FORWARD_IF_ERROR(ZSTD_decompressContinueStream(zds, &op, oend, ip, neededInSize), ""); in ZSTD_decompressStream()
26305 … FORWARD_IF_ERROR(ZSTD_decompressContinueStream(zds, &op, oend, zds->inBuff, neededInSize), ""); in ZSTD_decompressStream()