Lines Matching refs:ERROR
192 return ERROR(srcSize_wrong); in ZSTD_frameHeaderSize()
222 return ERROR(prefix_unknown); in ZSTD_getFrameParams()
244 return ERROR(frameParameter_unsupported); /* reserved bits, which must be zero */ in ZSTD_getFrameParams()
249 return ERROR(frameParameter_windowTooLarge); /* avoids issue with 1 << windowLog */ in ZSTD_getFrameParams()
283 return ERROR(frameParameter_windowTooLarge); in ZSTD_getFrameParams()
329 return ERROR(srcSize_wrong); in ZSTD_findDecompressedSize()
378 return ERROR(srcSize_wrong); /* headerSize too small */ in ZSTD_decodeFrameHeader()
380 return ERROR(dictionary_wrong); in ZSTD_decodeFrameHeader()
397 return ERROR(srcSize_wrong); in ZSTD_getcBlockSize()
407 return ERROR(corruption_detected); in ZSTD_getcBlockSize()
415 return ERROR(dstSize_tooSmall); in ZSTD_copyRawBlock()
423 return ERROR(srcSize_wrong); in ZSTD_setRleBlock()
425 return ERROR(dstSize_tooSmall); in ZSTD_setRleBlock()
435 return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
444 return ERROR(dictionary_corrupted); in ZSTD_decodeLiteralsBlock()
448 …return ERROR(corruption_detected); /* srcSize >= MIN_CBLOCK_SIZE == 3; here we need up to 5 for ca… in ZSTD_decodeLiteralsBlock()
478 return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
480 return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
491 return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
524 return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
555 …return ERROR(corruption_detected); /* srcSize >= MIN_CBLOCK_SIZE == 3; here we need lhSize+1 = 4 */ in ZSTD_decodeLiteralsBlock()
559 return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
566 return ERROR(corruption_detected); /* impossible */ in ZSTD_decodeLiteralsBlock()
759 return ERROR(srcSize_wrong); in ZSTD_buildSeqTable()
761 return ERROR(corruption_detected); in ZSTD_buildSeqTable()
768 return ERROR(corruption_detected); in ZSTD_buildSeqTable()
777 return ERROR(GENERIC); in ZSTD_buildSeqTable()
783 return ERROR(corruption_detected); in ZSTD_buildSeqTable()
785 return ERROR(corruption_detected); in ZSTD_buildSeqTable()
802 return ERROR(srcSize_wrong); in ZSTD_decodeSeqHeaders()
814 return ERROR(srcSize_wrong); in ZSTD_decodeSeqHeaders()
818 return ERROR(srcSize_wrong); in ZSTD_decodeSeqHeaders()
827 return ERROR(srcSize_wrong); /* minimum possible size */ in ZSTD_decodeSeqHeaders()
839 return ERROR(corruption_detected); in ZSTD_decodeSeqHeaders()
846 return ERROR(corruption_detected); in ZSTD_decodeSeqHeaders()
853 return ERROR(corruption_detected); in ZSTD_decodeSeqHeaders()
892 …return ERROR(dstSize_tooSmall); /* last match must start at a minimum distance of WILDCOPY_OVERLEN… in ZSTD_execSequenceLast7()
894 return ERROR(corruption_detected); /* over-read beyond lit buffer */ in ZSTD_execSequenceLast7()
896 return ERROR(GENERIC); /* Precondition */ in ZSTD_execSequenceLast7()
911 return ERROR(corruption_detected); in ZSTD_execSequenceLast7()
1019 …return ERROR(dstSize_tooSmall); /* last match must start at a minimum distance of WILDCOPY_OVERLEN… in ZSTD_execSequence()
1021 return ERROR(corruption_detected); /* over-read beyond lit buffer */ in ZSTD_execSequence()
1037 return ERROR(corruption_detected); in ZSTD_execSequence()
1142 return ERROR(corruption_detected); in ZSTD_decompressSequences()
1155 return ERROR(dstSize_tooSmall); in ZSTD_decompressSequences()
1275 …return ERROR(dstSize_tooSmall); /* last match must start at a minimum distance of WILDCOPY_OVERLEN… in ZSTD_execSequenceLong()
1277 return ERROR(corruption_detected); /* over-read beyond lit buffer */ in ZSTD_execSequenceLong()
1293 return ERROR(corruption_detected); in ZSTD_execSequenceLong()
1400 return ERROR(corruption_detected); in ZSTD_decompressSequencesLong()
1414 return ERROR(corruption_detected); in ZSTD_decompressSequencesLong()
1437 return ERROR(dstSize_tooSmall); in ZSTD_decompressSequencesLong()
1450 return ERROR(srcSize_wrong); in ZSTD_decompressBlock_internal()
1500 return ERROR(dstSize_tooSmall); in ZSTD_generateNxBytes()
1530 return ERROR(srcSize_wrong); in ZSTD_findFrameCompressedSize()
1544 return ERROR(srcSize_wrong); in ZSTD_findFrameCompressedSize()
1555 return ERROR(srcSize_wrong); in ZSTD_findFrameCompressedSize()
1576 return ERROR(srcSize_wrong); in ZSTD_decompressFrame()
1584 return ERROR(srcSize_wrong); in ZSTD_decompressFrame()
1601 return ERROR(srcSize_wrong); in ZSTD_decompressFrame()
1608 default: return ERROR(corruption_detected); in ZSTD_decompressFrame()
1626 return ERROR(checksum_wrong); in ZSTD_decompressFrame()
1629 return ERROR(checksum_wrong); in ZSTD_decompressFrame()
1651 return ERROR(GENERIC); in ZSTD_decompressMultiFrame()
1666 return ERROR(srcSize_wrong); in ZSTD_decompressMultiFrame()
1669 return ERROR(srcSize_wrong); in ZSTD_decompressMultiFrame()
1676 return ERROR(prefix_unknown); in ZSTD_decompressMultiFrame()
1702 return ERROR(srcSize_wrong); /* input not entirely consumed */ in ZSTD_decompressMultiFrame()
1747 return ERROR(srcSize_wrong); in ZSTD_decompressContinue()
1754 return ERROR(srcSize_wrong); /* impossible */ in ZSTD_decompressContinue()
1815 default: return ERROR(corruption_detected); in ZSTD_decompressContinue()
1841 return ERROR(checksum_wrong); in ZSTD_decompressContinue()
1858 return ERROR(GENERIC); /* impossible */ in ZSTD_decompressContinue()
1880 return ERROR(dictionary_corrupted); in ZSTD_loadEntropy()
1886 return ERROR(dictionary_corrupted); in ZSTD_loadEntropy()
1895 return ERROR(dictionary_corrupted); in ZSTD_loadEntropy()
1897 return ERROR(dictionary_corrupted); in ZSTD_loadEntropy()
1907 return ERROR(dictionary_corrupted); in ZSTD_loadEntropy()
1909 return ERROR(dictionary_corrupted); in ZSTD_loadEntropy()
1919 return ERROR(dictionary_corrupted); in ZSTD_loadEntropy()
1921 return ERROR(dictionary_corrupted); in ZSTD_loadEntropy()
1927 return ERROR(dictionary_corrupted); in ZSTD_loadEntropy()
1935 return ERROR(dictionary_corrupted); in ZSTD_loadEntropy()
1959 return ERROR(dictionary_corrupted); in ZSTD_decompress_insertDictionary()
2363 return ERROR(frameParameter_windowTooLarge); in ZSTD_decompressStream()
2370 return ERROR(GENERIC); in ZSTD_decompressStream()
2373 return ERROR(GENERIC); in ZSTD_decompressStream()
2415 return ERROR(corruption_detected); /* should never happen */ in ZSTD_decompressStream()
2459 return ERROR(GENERIC); /* impossible */ in ZSTD_decompressStream()
2487 return ERROR(GENERIC); /* should never happen */ in ZSTD_decompressStream()