Home
last modified time | relevance | path

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

/dragonfly/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c259 RETURN_ERROR_IF(src==NULL, GENERIC, "invalid parameter"); in ZSTD_getFrameHeader_advanced()
631 RETURN_ERROR_IF( in ZSTD_decompressFrame()
771 RETURN_ERROR_IF( in ZSTD_decompressMultiFrame()
999 RETURN_ERROR_IF( in ZSTD_decompressContinue()
1203 RETURN_ERROR_IF( in ZSTD_decompressBegin_usingDict()
1554 RETURN_ERROR_IF(err>0, srcSize_wrong, ""); in ZSTD_estimateDStreamSize_fromFrame()
1555 RETURN_ERROR_IF(zfh.windowSize > windowSizeMax, in ZSTD_estimateDStreamSize_fromFrame()
1646 RETURN_ERROR_IF( in ZSTD_decompressStream()
1651 RETURN_ERROR_IF( in ZSTD_decompressStream()
1789 RETURN_ERROR_IF( in ZSTD_decompressStream()
[all …]
H 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 …]
H A Dzstd_ddict.c112 RETURN_ERROR_IF(ZSTD_isError(ZSTD_loadDEntropy( in ZSTD_loadEntropy_intoDDict()
/dragonfly/contrib/zstd/lib/compress/
H A Dzstd_compress.c163 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_freeCCtx()
265 RETURN_ERROR_IF(!cctxParams, GENERIC, "NULL pointer!"); in ZSTD_CCtxParams_init()
274 RETURN_ERROR_IF(!cctxParams, GENERIC, "NULL pointer!"); in ZSTD_CCtxParams_init_advanced()
490 RETURN_ERROR_IF(!ZSTD_cParam_withinBounds(cParam,val), \
936 RETURN_ERROR_IF(cctx->cdict, stage_wrong, in ZSTD_CCtx_setParametersUsingCCtxParams()
1011 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_CCtx_loadDictionary_advanced()
3037 RETURN_ERROR_IF( in ZSTD_compressContinue_internal()
3197 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
3211 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
3225 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
[all …]
H 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()
H A Dzstd_compress_sequences.c251 RETURN_ERROR_IF(dstCapacity==0, dstSize_tooSmall, "not enough space"); in ZSTD_buildCTable()
294 RETURN_ERROR_IF( in ZSTD_encodeSequences_body()
370 RETURN_ERROR_IF(streamSize==0, dstSize_tooSmall, "not enough space"); in ZSTD_encodeSequences_body()
H A Dzstd_cwksp.h492 RETURN_ERROR_IF(workspace == NULL, memory_allocation, "NULL pointer!"); in ZSTD_cwksp_create()
H A Dzstd_compress_internal.h435 RETURN_ERROR_IF(srcSize + ZSTD_blockHeaderSize > dstCapacity, in ZSTD_noCompressBlock()
446 RETURN_ERROR_IF(dstCapacity < 4, dstSize_tooSmall, ""); in ZSTD_rleCompressBlock()
H A Dzstd_compress_superblock.c454 RETURN_ERROR_IF((oend-op) < 3 /*max nbSeq Size*/ + 1 /*seqHead*/, in ZSTD_compressSubBlock_sequences()
/dragonfly/contrib/zstd/lib/common/
H A Dzstd_internal.h91 #define RETURN_ERROR_IF(cond, err, ...) \ macro