Home
last modified time | relevance | path

Searched refs:RETURN_ERROR_IF (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/lib/zstd/decompress/
H A Dzstd_decompress.c403 RETURN_ERROR_IF(srcSize < minInputSize, srcSize_wrong, ""); in ZSTD_frameHeaderSize_internal()
923 RETURN_ERROR_IF( in ZSTD_decompressFrame()
1072 RETURN_ERROR_IF( in ZSTD_decompressMultiFrame()
1306 RETURN_ERROR_IF( in ZSTD_decompressContinue()
1457 RETURN_ERROR_IF(rep==0 || rep > dictContentSize, in ZSTD_loadDEntropy()
1515 RETURN_ERROR_IF( in ZSTD_decompressBegin_usingDict()
1930 RETURN_ERROR_IF(err>0, srcSize_wrong, ""); in ZSTD_estimateDStreamSize_fromFrame()
1931 RETURN_ERROR_IF(zfh.windowSize > windowSizeMax, in ZSTD_estimateDStreamSize_fromFrame()
2023 RETURN_ERROR_IF( in ZSTD_decompressStream()
2028 RETURN_ERROR_IF( in ZSTD_decompressStream()
[all …]
H A Dzstd_decompress_block.c67 RETURN_ERROR_IF(srcSize < ZSTD_blockHeaderSize, srcSize_wrong, ""); in ZSTD_getcBlockSize()
140 RETURN_ERROR_IF(srcSize < MIN_CBLOCK_SIZE, corruption_detected, ""); in ZSTD_decodeLiteralsBlock()
659 RETURN_ERROR_IF(!srcSize, srcSize_wrong, ""); in ZSTD_buildSeqTable()
672 RETURN_ERROR_IF(!flagRepeatTable, corruption_detected, ""); in ZSTD_buildSeqTable()
712 RETURN_ERROR_IF(ip+2 > iend, srcSize_wrong, ""); in ZSTD_decodeSeqHeaders()
716 RETURN_ERROR_IF(ip >= iend, srcSize_wrong, ""); in ZSTD_decodeSeqHeaders()
724 RETURN_ERROR_IF(ip != iend, corruption_detected, in ZSTD_decodeSeqHeaders()
1426 RETURN_ERROR_IF( in ZSTD_decompressSequences_bodySplitLitBuffer()
1580 RETURN_ERROR_IF(nbSeq, corruption_detected, ""); in ZSTD_decompressSequences_bodySplitLitBuffer()
1638 RETURN_ERROR_IF( in ZSTD_decompressSequences_body()
[all …]
H A Dzstd_ddict.c110 RETURN_ERROR_IF(ZSTD_isError(ZSTD_loadDEntropy( in ZSTD_loadEntropy_intoDDict()
/linux-6.15/lib/zstd/compress/
H A Dzstd_compress.c180 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_freeCCtx()
354 RETURN_ERROR_IF(!cctxParams, GENERIC, "NULL pointer!"); in ZSTD_CCtxParams_init()
1120 RETURN_ERROR_IF(cctx->cdict, stage_wrong, in ZSTD_CCtx_setParametersUsingCCtxParams()
3091 RETURN_ERROR_IF( in ZSTD_postProcessSequenceProducerResult()
3098 RETURN_ERROR_IF( in ZSTD_postProcessSequenceProducerResult()
3119 RETURN_ERROR_IF( in ZSTD_postProcessSequenceProducerResult()
3226 RETURN_ERROR_IF( in ZSTD_buildSeqStore()
3245 RETURN_ERROR_IF( in ZSTD_buildSeqStore()
3359 RETURN_ERROR_IF( in ZSTD_copyBlockSequences()
4756 RETURN_ERROR_IF( in ZSTD_compressContinue_internal()
[all …]
H A Dzstd_compress_literals.c47 RETURN_ERROR_IF(srcSize + flSize > dstCapacity, dstSize_tooSmall, ""); in ZSTD_noCompressLiterals()
162 RETURN_ERROR_IF(dstCapacity < lhSize+1, dstSize_tooSmall, "not enough space for compression"); in ZSTD_compressLiterals()
H A Dzstd_compress_sequences.c259 RETURN_ERROR_IF(dstCapacity==0, dstSize_tooSmall, "not enough space"); in ZSTD_buildCTable()
304 RETURN_ERROR_IF( in ZSTD_encodeSequences_body()
380 RETURN_ERROR_IF(streamSize==0, dstSize_tooSmall, "not enough space"); in ZSTD_encodeSequences_body()
H A Dzstd_cwksp.h318 RETURN_ERROR_IF(objectEnd > ws->workspaceEnd, memory_allocation, in ZSTD_cwksp_internal_advance_phase()
589 RETURN_ERROR_IF(workspace == NULL, memory_allocation, "NULL pointer!"); in ZSTD_cwksp_create()
H A Dzstd_compress_internal.h646 RETURN_ERROR_IF(srcSize + ZSTD_blockHeaderSize > dstCapacity, in ZSTD_noCompressBlock()
658 RETURN_ERROR_IF(dstCapacity < 4, dstSize_tooSmall, ""); in ZSTD_rleCompressBlock()
H A Dzstd_compress_superblock.c182 RETURN_ERROR_IF((oend-op) < 3 /*max nbSeq Size*/ + 1 /*seqHead*/, in ZSTD_compressSubBlock_sequences()
/linux-6.15/lib/zstd/common/
H A Derror_private.h106 #define RETURN_ERROR_IF(cond, err, ...) \ macro
H A Dfse_decompress.c194 RETURN_ERROR_IF(BIT_reloadDStream(&bitD)==BIT_DStream_overflow, corruption_detected, ""); in FSE_decompress_usingDTable_generic()