Searched refs:RETURN_ERROR_IF (Results 1 – 10 of 10) sorted by relevance
/linux/lib/zstd/decompress/ |
A D | zstd_decompress.c | 416 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 D | zstd_decompress_block.c | 59 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 D | zstd_ddict.c | 109 RETURN_ERROR_IF(ZSTD_isError(ZSTD_loadDEntropy( in ZSTD_loadEntropy_intoDDict()
|
/linux/lib/zstd/compress/ |
A D | zstd_compress.c | 157 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 D | zstd_compress_literals.c | 21 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 D | zstd_compress_sequences.c | 256 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 D | zstd_cwksp.h | 416 RETURN_ERROR_IF(workspace == NULL, memory_allocation, "NULL pointer!"); in ZSTD_cwksp_create()
|
A D | zstd_compress_internal.h | 438 RETURN_ERROR_IF(srcSize + ZSTD_blockHeaderSize > dstCapacity, in ZSTD_noCompressBlock() 449 RETURN_ERROR_IF(dstCapacity < 4, dstSize_tooSmall, ""); in ZSTD_rleCompressBlock()
|
A D | zstd_compress_superblock.c | 457 RETURN_ERROR_IF((oend-op) < 3 /*max nbSeq Size*/ + 1 /*seqHead*/, in ZSTD_compressSubBlock_sequences()
|
/linux/lib/zstd/common/ |
A D | zstd_internal.h | 83 #define RETURN_ERROR_IF(cond, err, ...) \ macro
|
Completed in 41 milliseconds