Home
last modified time | relevance | path

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

/external/zstd/lib/legacy/
Dzstd_v01.c471 static unsigned FSE_isError(size_t code) { return (code > (size_t)(-FSE_ERROR_maxCode)); } in FSE_isError() function
835 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
915 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
921 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1006 if (FSE_isError(oSize)) return oSize; in HUF_readDTable()
1105 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1107 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1109 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1111 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1182 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress()
[all …]
Dzstd_v04.c450 static unsigned FSE_isError(size_t code); /* tells if a return value is an error code */
1149 static unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
1338 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1421 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1427 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1738 if (FSE_isError(oSize)) return oSize; in HUF_readStats()
2746 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2765 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2783 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
Dzstd_v03.c1172 static unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
1359 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1439 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1445 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1585 if (FSE_isError(oSize)) return oSize; in HUF_readStats()
2620 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2639 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2657 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
Dzstd_v02.c1171 static unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
1358 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1438 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1444 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1588 if (FSE_isError(oSize)) return oSize; in HUF_readStats()
2979 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
2998 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
3016 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders()
/external/zstd/lib/common/
Dentropy_common.c31 unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() function
85 if (FSE_isError(countSize)) return countSize; in FSE_readNCount_body()
295 if (FSE_isError(oSize)) return oSize; in HUF_readStats_body()
Dfse_decompress.c32 #define FSE_isError ERR_isError macro
328 if (FSE_isError(NCountLength)) return NCountLength; in FSE_decompress_wksp_body()
Dzstd_internal.h47 #define FSE_isError ERR_isError macro
Dfse.h90 FSE_PUBLIC_API unsigned FSE_isError(size_t code); /* tells if a return value is an error …
/external/zstd/lib/dictBuilder/
Dzdict.c789 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy()
798 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy()
807 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy()
827 if (FSE_isError(ohSize)) { in ZDICT_analyzeEntropy()
838 if (FSE_isError(mhSize)) { in ZDICT_analyzeEntropy()
849 if (FSE_isError(lhSize)) { in ZDICT_analyzeEntropy()
/external/zstd/lib/compress/
Dfse_compress.c34 #define FSE_isError ERR_isError macro
477 if (FSE_isError(errorCode)) return errorCode; in FSE_normalizeCount()
571 if (FSE_isError(initError)) return 0; /* not enough space available to write a bitstream */ } in FSE_compress_usingCTable_generic()
Dzstd_compress.c3194 RETURN_ERROR_IF(FSE_isError(offcodeHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
3197 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
3209 RETURN_ERROR_IF(FSE_isError(matchlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
3211 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
3223 RETURN_ERROR_IF(FSE_isError(litlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadCEntropy()
3225 RETURN_ERROR_IF(FSE_isError(FSE_buildCTable_wksp( in ZSTD_loadCEntropy()
/external/zstd/tests/
Ddecodecorpus.c864 if (FSE_isError(NCountSize)) return ERROR(GENERIC); in writeSequences()
892 if (FSE_isError(NCountSize)) return ERROR(GENERIC); in writeSequences()
922 if (FSE_isError(NCountSize)) return ERROR(GENERIC); in writeSequences()
/external/zstd/lib/decompress/
Dzstd_decompress.c1100 RETURN_ERROR_IF(FSE_isError(offcodeHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
1115 RETURN_ERROR_IF(FSE_isError(matchlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
1130 RETURN_ERROR_IF(FSE_isError(litlengthHeaderSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
Dzstd_decompress_block.c565 RETURN_ERROR_IF(FSE_isError(headerSize), corruption_detected, ""); in ZSTD_buildSeqTable()