Home
last modified time | relevance | path

Searched refs:FSE_isError (Results 1 – 22 of 22) sorted by relevance

/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c429 static unsigned FSE_isError(size_t code) { return (code > (size_t)(-FSE_ERROR_maxCode)); } in FSE_isError() function
793 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
873 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
879 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
964 if (FSE_isError(oSize)) return oSize; in HUF_readDTable()
1063 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1065 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1067 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1069 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1140 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress()
[all …]
H A Dzstd_v04.c391 static unsigned FSE_isError(size_t code); /* tells if a return value is an error code */
1089 static unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
1278 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1361 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1367 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1678 if (FSE_isError(oSize)) return oSize; in HUF_readStats()
2686 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2705 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2723 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
H A Dzstd_v03.c1106 static unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
1293 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1373 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1379 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1519 if (FSE_isError(oSize)) return oSize; in HUF_readStats()
2554 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2573 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2591 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
H A Dzstd_v02.c1106 static unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
1293 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1373 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1379 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1523 if (FSE_isError(oSize)) return oSize; in HUF_readStats()
2914 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2933 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2951 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
/freebsd/sys/contrib/zstd/lib/common/
H A Dentropy_common.c31 unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
63 if (FSE_isError(countSize)) return countSize; in FSE_readNCount_body()
273 if (FSE_isError(oSize)) return oSize; in HUF_readStats_body()
H A Dfse_decompress.c32 #define FSE_isError ERR_isError macro
266 if (FSE_isError(NCountLength)) return NCountLength; in FSE_decompress_wksp_body()
H A Dzstd_internal.h45 #define FSE_isError ERR_isError macro
H A Dfse.h56 FSE_PUBLIC_API unsigned FSE_isError(size_t code); /* tells if a return value is an error …
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dentropy_common.c32 unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
64 if (FSE_isError(countSize)) return countSize; in FSE_readNCount_body()
274 if (FSE_isError(oSize)) return oSize; in HUF_readStats_body()
H A Dfse_decompress.c33 #define FSE_isError ERR_isError macro
267 if (FSE_isError(NCountLength)) return NCountLength; in FSE_decompress_wksp_body()
H A Dzstd_internal.h46 #define FSE_isError ERR_isError macro
H A Dfse.h57 FSE_PUBLIC_API unsigned FSE_isError(size_t code); /* tells if a return value is an error …
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Dzdict.c749 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy()
758 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy()
767 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy()
787 if (FSE_isError(ohSize)) { in ZDICT_analyzeEntropy()
798 if (FSE_isError(mhSize)) { in ZDICT_analyzeEntropy()
809 if (FSE_isError(lhSize)) { in ZDICT_analyzeEntropy()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dfse_compress.c36 #define FSE_isError ERR_isError macro
506 if (FSE_isError(errorCode)) return errorCode; in FSE_normalizeCount()
566 if (FSE_isError(initError)) return 0; /* not enough space available to write a bitstream */ } in FSE_compress_usingCTable_generic()
H A Dzstd_compress.c5088 RETURN_ERROR_IF(FSE_isError(offcodeHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
5091 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
5103 RETURN_ERROR_IF(FSE_isError(matchlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
5105 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
5117 RETURN_ERROR_IF(FSE_isError(litlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
5119 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c35 #define FSE_isError ERR_isError macro
505 if (FSE_isError(errorCode)) return errorCode; in FSE_normalizeCount()
565 if (FSE_isError(initError)) return 0; /* not enough space available to write a bitstream */ } in FSE_compress_usingCTable_generic()
H A Dzstd_compress.c5087 RETURN_ERROR_IF(FSE_isError(offcodeHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
5090 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
5102 RETURN_ERROR_IF(FSE_isError(matchlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
5104 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
5116 RETURN_ERROR_IF(FSE_isError(litlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
5118 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
/freebsd/sys/contrib/openzfs/module/zstd/include/
H A Dzstd_compat_wrapper.h65 #define FSE_isError zfs_FSE_isError macro
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress.c1485 RETURN_ERROR_IF(FSE_isError(offcodeHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
1500 RETURN_ERROR_IF(FSE_isError(matchlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
1515 RETURN_ERROR_IF(FSE_isError(litlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
H A Dzstd_decompress_block.c684 RETURN_ERROR_IF(FSE_isError(headerSize), corruption_detected, ""); in ZSTD_buildSeqTable()
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c1484 RETURN_ERROR_IF(FSE_isError(offcodeHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
1499 RETURN_ERROR_IF(FSE_isError(matchlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
1514 RETURN_ERROR_IF(FSE_isError(litlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
H A Dzstd_decompress_block.c683 RETURN_ERROR_IF(FSE_isError(headerSize), corruption_detected, ""); in ZSTD_buildSeqTable()