Home
last modified time | relevance | path

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

/external/zstd/lib/compress/
Dzstd_compress.c275 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()
[all …]
Dzstd_compress_superblock.c102 FORWARD_IF_ERROR(largest, "HIST_count_wksp failed"); in ZSTD_buildSuperBlockEntropy_literal()
126 FORWARD_IF_ERROR(maxBits, "HUF_buildCTable_wksp"); in ZSTD_buildSuperBlockEntropy_literal()
213 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for LitLens failed"); in ZSTD_buildSuperBlockEntropy_sequences()
237 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for Offsets failed"); in ZSTD_buildSuperBlockEntropy_sequences()
259 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for MatchLengths failed"); in ZSTD_buildSuperBlockEntropy_sequences()
289FORWARD_IF_ERROR(entropyMetadata->hufMetadata.hufDesSize, "ZSTD_buildSuperBlockEntropy_literal fai… in ZSTD_buildSuperBlockEntropy()
296FORWARD_IF_ERROR(entropyMetadata->fseMetadata.fseTablesSize, "ZSTD_buildSuperBlockEntropy_sequence… in ZSTD_buildSuperBlockEntropy()
491 FORWARD_IF_ERROR(bitstreamSize, "ZSTD_encodeSequences failed"); in ZSTD_compressSubBlock_sequences()
556 FORWARD_IF_ERROR(cLitSize, "ZSTD_compressSubBlock_literal failed"); in ZSTD_compressSubBlock()
567 FORWARD_IF_ERROR(cSeqSize, "ZSTD_compressSubBlock_sequences failed"); in ZSTD_compressSubBlock()
[all …]
Dzstd_compress_sequences.c76FORWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq, max, ZSTD_useLowProbCount(nbSeq)… in ZSTD_NCountCost()
250 FORWARD_IF_ERROR(FSE_buildCTable_rle(nextCTable, (BYTE)max), ""); in ZSTD_buildCTable()
258FORWARD_IF_ERROR(FSE_buildCTable_wksp(nextCTable, defaultNorm, defaultMax, defaultNormLog, entropy… in ZSTD_buildCTable()
270FORWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max, ZSTD_useLowProbCount(nbSe… in ZSTD_buildCTable()
272 FORWARD_IF_ERROR(NCountSize, "FSE_writeNCount failed"); in ZSTD_buildCTable()
273FORWARD_IF_ERROR(FSE_buildCTable_wksp(nextCTable, norm, max, tableLog, entropyWorkspace, entropyWo… in ZSTD_buildCTable()
Dzstdmt_compress.c1021 FORWARD_IF_ERROR( ZSTDMT_expandJobsTable(mtctx, nbWorkers) , ""); in ZSTDMT_resize()
1204 FORWARD_IF_ERROR( ZSTDMT_resize(mtctx, params.nbWorkers) , ""); in ZSTDMT_initCStream_internal()
1802 FORWARD_IF_ERROR( ZSTDMT_createCompressionJob(mtctx, jobSize, endOp) , ""); in ZSTDMT_compressStream_generic()
/external/zstd/lib/decompress/
Dzstd_decompress.c641 FORWARD_IF_ERROR( ZSTD_decodeFrameHeader(dctx, ip, frameHeaderSize) , ""); in ZSTD_decompressFrame()
751 FORWARD_IF_ERROR(skippableSize, "readSkippableFrameSize failed"); in ZSTD_decompressMultiFrame()
761 FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDDict(dctx, ddict), ""); in ZSTD_decompressMultiFrame()
765 FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDict(dctx, dict, dictSize), ""); in ZSTD_decompressMultiFrame()
926 FORWARD_IF_ERROR(ZSTD_decodeFrameHeader(dctx, dctx->headerBuffer, dctx->headerSize), ""); in ZSTD_decompressContinue()
973 FORWARD_IF_ERROR(rSize, "ZSTD_copyRawBlock failed"); in ZSTD_decompressContinue()
985 FORWARD_IF_ERROR(rSize, ""); in ZSTD_decompressContinue()
1201 FORWARD_IF_ERROR( ZSTD_decompressBegin(dctx) , ""); in ZSTD_decompressBegin_usingDict()
1224 FORWARD_IF_ERROR( ZSTD_decompressBegin(dctx) , ""); in ZSTD_decompressBegin_usingDDict()
1338FORWARD_IF_ERROR(ZSTD_DCtx_loadDictionary_advanced(dctx, prefix, prefixSize, ZSTD_dlm_byRef, dictC… in ZSTD_DCtx_refPrefix_advanced()
[all …]
Dzstd_ddict.c140 FORWARD_IF_ERROR( ZSTD_loadEntropy_intoDDict(ddict, dictContentType) , ""); in ZSTD_initDDict_internal()
/external/zstd/lib/common/
Dzstd_internal.h121 #define FORWARD_IF_ERROR(err, ...) \ macro