Searched refs:RETURN_ERROR_IF (Results 1 - 4 of 4) sorted by relevance

/u-boot/lib/zstd/decompress/
H A Dzstd_decompress.c101 RETURN_ERROR_IF(hashSet->ddictPtrCount == hashSet->ddictPtrTableSize, GENERIC, "Hash set is full!");
131 RETURN_ERROR_IF(!newTable, memory_allocation, "Expanded hashset allocation failed!");
312 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, "not compatible with static DCtx");
397 RETURN_ERROR_IF(srcSize < minInputSize, srcSize_wrong, "");
432 RETURN_ERROR_IF(src==NULL, GENERIC, "invalid parameter");
463 RETURN_ERROR_IF((fhdByte & 0x08) != 0, frameParameter_unsupported,
469 RETURN_ERROR_IF(windowLog > ZSTD_WINDOWLOG_MAX, frameParameter_windowTooLarge, "");
538 RETURN_ERROR_IF(srcSize < ZSTD_SKIPPABLEHEADERSIZE, srcSize_wrong, "");
541 RETURN_ERROR_IF((U32)(sizeU32 + ZSTD_SKIPPABLEHEADERSIZE) < sizeU32,
545 RETURN_ERROR_IF(skippableSiz
[all...]
H A Dzstd_decompress_block.c59 RETURN_ERROR_IF(srcSize < ZSTD_blockHeaderSize, srcSize_wrong, "");
67 RETURN_ERROR_IF(bpPtr->blockType == bt_reserved, corruption_detected, "");
124 RETURN_ERROR_IF(srcSize < MIN_CBLOCK_SIZE, corruption_detected, "");
133 RETURN_ERROR_IF(dctx->litEntropy==0, dictionary_corrupted, "");
137 RETURN_ERROR_IF(srcSize < 5, corruption_detected, "srcSize >= MIN_CBLOCK_SIZE == 3; here we need up to 5 for case 3");
166 RETURN_ERROR_IF(litSize > 0 && dst == NULL, dstSize_tooSmall, "NULL not handled");
167 RETURN_ERROR_IF(litSize > ZSTD_BLOCKSIZE_MAX, corruption_detected, "");
168 RETURN_ERROR_IF(litCSize + lhSize > srcSize, corruption_detected, "");
169 RETURN_ERROR_IF(expectedWriteSize < litSize , dstSize_tooSmall, "");
215 RETURN_ERROR_IF(HUF_isErro
[all...]
H A Dzstd_ddict.c109 RETURN_ERROR_IF(ZSTD_isError(ZSTD_loadDEntropy(
/u-boot/lib/zstd/common/
H A Derror_private.h101 #define RETURN_ERROR_IF(cond, err, ...) \ macro

Completed in 44 milliseconds