Home
last modified time | relevance | path

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

/linux/lib/zstd/decompress/
A Dzstd_decompress.c416 RETURN_ERROR_IF(src==NULL, GENERIC, "invalid parameter"); in ZSTD_getFrameHeader_advanced()
799 RETURN_ERROR_IF( in ZSTD_decompressFrame()
918 RETURN_ERROR_IF( in ZSTD_decompressMultiFrame()
1151 RETURN_ERROR_IF( in ZSTD_decompressContinue()
1358 RETURN_ERROR_IF( in ZSTD_decompressBegin_usingDict()
1733 RETURN_ERROR_IF(err>0, srcSize_wrong, ""); in ZSTD_estimateDStreamSize_fromFrame()
1734 RETURN_ERROR_IF(zfh.windowSize > windowSizeMax, in ZSTD_estimateDStreamSize_fromFrame()
1825 RETURN_ERROR_IF( in ZSTD_decompressStream()
1830 RETURN_ERROR_IF( in ZSTD_decompressStream()
1944 RETURN_ERROR_IF( in ZSTD_decompressStream()
[all …]
A Dzstd_decompress_block.c59 RETURN_ERROR_IF(srcSize < ZSTD_blockHeaderSize, srcSize_wrong, ""); in ZSTD_getcBlockSize()
83 RETURN_ERROR_IF(srcSize < MIN_CBLOCK_SIZE, corruption_detected, ""); in ZSTD_decodeLiteralsBlock()
540 RETURN_ERROR_IF(!srcSize, srcSize_wrong, ""); in ZSTD_buildSeqTable()
553 RETURN_ERROR_IF(!flagRepeatTable, corruption_detected, ""); in ZSTD_buildSeqTable()
593 RETURN_ERROR_IF(srcSize != 1, srcSize_wrong, ""); in ZSTD_decodeSeqHeaders()
598 RETURN_ERROR_IF(ip+2 > iend, srcSize_wrong, ""); in ZSTD_decodeSeqHeaders()
602 RETURN_ERROR_IF(ip >= iend, srcSize_wrong, ""); in ZSTD_decodeSeqHeaders()
1128 RETURN_ERROR_IF( in ZSTD_decompressSequences_body()
1205 RETURN_ERROR_IF(nbSeq, corruption_detected, ""); in ZSTD_decompressSequences_body()
1271 RETURN_ERROR_IF( in ZSTD_decompressSequencesLong_body()
[all …]
A Dzstd_ddict.c109 RETURN_ERROR_IF(ZSTD_isError(ZSTD_loadDEntropy( in ZSTD_loadEntropy_intoDDict()
/linux/lib/zstd/compress/
A Dzstd_compress.c157 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_freeCCtx()
255 RETURN_ERROR_IF(!cctxParams, GENERIC, "NULL pointer!"); in ZSTD_CCtxParams_init()
282 RETURN_ERROR_IF(!cctxParams, GENERIC, "NULL pointer!"); in ZSTD_CCtxParams_init_advanced()
484 RETURN_ERROR_IF(!ZSTD_cParam_withinBounds(cParam,val), \
884 RETURN_ERROR_IF(cctx->cdict, stage_wrong, in ZSTD_CCtx_setParametersUsingCCtxParams()
959 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_CCtx_loadDictionary_advanced()
3010 RETURN_ERROR_IF( in ZSTD_compressContinue_internal()
3170 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
3184 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
3198 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
[all …]
A Dzstd_compress_literals.c21 RETURN_ERROR_IF(srcSize + flSize > dstCapacity, dstSize_tooSmall, ""); in ZSTD_noCompressLiterals()
100 RETURN_ERROR_IF(dstCapacity < lhSize+1, dstSize_tooSmall, "not enough space for compression"); in ZSTD_compressLiterals()
A Dzstd_compress_sequences.c256 RETURN_ERROR_IF(dstCapacity==0, dstSize_tooSmall, "not enough space"); in ZSTD_buildCTable()
300 RETURN_ERROR_IF( in ZSTD_encodeSequences_body()
376 RETURN_ERROR_IF(streamSize==0, dstSize_tooSmall, "not enough space"); in ZSTD_encodeSequences_body()
A Dzstd_cwksp.h416 RETURN_ERROR_IF(workspace == NULL, memory_allocation, "NULL pointer!"); in ZSTD_cwksp_create()
A Dzstd_compress_internal.h438 RETURN_ERROR_IF(srcSize + ZSTD_blockHeaderSize > dstCapacity, in ZSTD_noCompressBlock()
449 RETURN_ERROR_IF(dstCapacity < 4, dstSize_tooSmall, ""); in ZSTD_rleCompressBlock()
A Dzstd_compress_superblock.c457 RETURN_ERROR_IF((oend-op) < 3 /*max nbSeq Size*/ + 1 /*seqHead*/, in ZSTD_compressSubBlock_sequences()
/linux/lib/zstd/common/
A Dzstd_internal.h83 #define RETURN_ERROR_IF(cond, err, ...) \ macro

Completed in 41 milliseconds