Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dentropy_common.c31 unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
62 if (FSE_isError(countSize)) return countSize; in FSE_readNCount()
183 if (FSE_isError(oSize)) return oSize; in HUF_readStats()
H A Dfse_decompress.c31 #define FSE_isError ERR_isError macro
253 if (FSE_isError(NCountLength)) return NCountLength; in FSE_decompress_wksp()
H A Dzstd_internal.h46 #define FSE_isError ERR_isError macro
H A Dfse.h90 FSE_PUBLIC_API unsigned FSE_isError(size_t code); /* tells if a return value is an error …
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c831 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
911 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
917 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1002 if (FSE_isError(oSize)) return oSize; in HUF_readDTable()
1101 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1103 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1105 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1107 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1178 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress()
1513 if (FSE_isError(errorCode)) return ERROR(GENERIC); in ZSTD_decompressLiterals()
[all …]
H A Dzstd_v04.c447 static unsigned FSE_isError(size_t code); /* tells if a return value is an error code */
1145 static unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
1334 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1417 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1423 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1734 if (FSE_isError(oSize)) return oSize; in HUF_readStats()
2742 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2761 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2779 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
H A Dzstd_v03.c1168 static unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
1355 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1435 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1441 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1581 if (FSE_isError(oSize)) return oSize; in HUF_readStats()
2616 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2635 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2653 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
H A Dzstd_v02.c1167 static unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
1354 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1434 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1440 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1584 if (FSE_isError(oSize)) return oSize; in HUF_readStats()
2975 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2994 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
3012 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
91 if (FSE_isError(countSize)) return countSize; in FSE_readNCount_body()
301 if (FSE_isError(oSize)) return oSize; in HUF_readStats_body()
H A Dfse_decompress.c32 #define FSE_isError ERR_isError macro
337 if (FSE_isError(NCountLength)) return NCountLength; in FSE_decompress_wksp_body()
H A Dzstd_internal.h50 #define FSE_isError ERR_isError macro
H A Dfse.h90 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.c821 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy()
830 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy()
839 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy()
859 if (FSE_isError(ohSize)) { in ZDICT_analyzeEntropy()
870 if (FSE_isError(mhSize)) { in ZDICT_analyzeEntropy()
881 if (FSE_isError(lhSize)) { in ZDICT_analyzeEntropy()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dfse_compress.c33 #define FSE_isError ERR_isError macro
474 if (FSE_isError(errorCode)) return errorCode; in FSE_normalizeCount()
568 if (FSE_isError(initError)) return 0; /* not enough space available to write a bitstream */ } in FSE_compress_usingCTable_generic()
H A Dzstd_compress.c2928 RETURN_ERROR_IF(FSE_isError(offcodeHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
2932 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
2943 RETURN_ERROR_IF(FSE_isError(matchlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
2947 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
2958 RETURN_ERROR_IF(FSE_isError(litlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
2962 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c34 #define FSE_isError ERR_isError macro
513 if (FSE_isError(errorCode)) return errorCode; in FSE_normalizeCount()
607 if (FSE_isError(initError)) return 0; /* not enough space available to write a bitstream */ } in FSE_compress_usingCTable_generic()
H A Dzstd_compress.c4341 RETURN_ERROR_IF(FSE_isError(offcodeHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
4344 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
4356 RETURN_ERROR_IF(FSE_isError(matchlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
4358 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
4370 RETURN_ERROR_IF(FSE_isError(litlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
4372 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
/freebsd/sys/contrib/openzfs/module/zstd/include/
H A Dzstd_compat_wrapper.h62 #define FSE_isError zfs_FSE_isError macro
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress.c1088 RETURN_ERROR_IF(FSE_isError(offcodeHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
1101 RETURN_ERROR_IF(FSE_isError(matchlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
1114 RETURN_ERROR_IF(FSE_isError(litlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
H A Dzstd_decompress_block.c468 RETURN_ERROR_IF(FSE_isError(headerSize), corruption_detected, ""); in ZSTD_buildSeqTable()
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c1366 RETURN_ERROR_IF(FSE_isError(offcodeHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
1381 RETURN_ERROR_IF(FSE_isError(matchlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
1396 RETURN_ERROR_IF(FSE_isError(litlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
H A Dzstd_decompress_block.c641 RETURN_ERROR_IF(FSE_isError(headerSize), corruption_detected, ""); in ZSTD_buildSeqTable()