Home
last modified time | relevance | path

Searched refs:ZSTD_isError (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/tools/perf/util/
Dzstd.c19 if (ZSTD_isError(ret)) { in zstd_init()
34 if (ZSTD_isError(ret)) { in zstd_init()
76 if (ZSTD_isError(ret)) { in zstd_compress_stream_to_records()
101 if (ZSTD_isError(ret)) { in zstd_decompress_stream()
/linux-6.6.21/lib/zstd/
Dzstd_common_module.c20 #undef ZSTD_isError /* defined within zstd_internal.h */
24 EXPORT_SYMBOL_GPL(ZSTD_isError);
Dzstd_compress_module.c23 if (ZSTD_isError(__ret)) \
126 if (ZSTD_isError(zstd_cctx_init(cstream, parameters, pledged_src_size))) in zstd_init_cstream()
Dzstd_decompress_module.c23 return ZSTD_isError(code); in zstd_is_error()
/linux-6.6.21/lib/zstd/common/
Dzstd_common.c33 #undef ZSTD_isError /* defined within zstd_internal.h */
37 unsigned ZSTD_isError(size_t code) { return ERR_isError(code); } in ZSTD_isError() function
Dzstd_internal.h39 #define ZSTD_isError ERR_isError /* for inlining */ macro
/linux-6.6.21/lib/zstd/decompress/
Dzstd_ddict.c109 RETURN_ERROR_IF(ZSTD_isError(ZSTD_loadDEntropy( in ZSTD_loadEntropy_intoDDict()
155 if (ZSTD_isError(initResult)) { in ZSTD_createDDict_advanced()
201 if (ZSTD_isError( ZSTD_initDDict_internal(ddict, in ZSTD_initStaticDDict()
Dzstd_decompress.c595 if (ZSTD_isError(skippableSize)) { in ZSTD_findDecompressedSize()
613 if (ZSTD_isError(frameSrcSize)) { in ZSTD_findDecompressedSize()
650 if (ZSTD_isError(result)) return result; /* invalid header */ in ZSTD_decodeFrameHeader()
688 assert(ZSTD_isError(frameSizeInfo.compressedSize) || in ZSTD_findFrameSizeInfo()
700 if (ZSTD_isError(ret)) in ZSTD_findFrameSizeInfo()
713 if (ZSTD_isError(cBlockSize)) in ZSTD_findFrameSizeInfo()
766 if (ZSTD_isError(compressedSize) || decompressedBound == ZSTD_CONTENTSIZE_ERROR) in ZSTD_decompressBound()
852 if (ZSTD_isError(frameHeaderSize)) return frameHeaderSize; in ZSTD_decompressFrame()
865 if (ZSTD_isError(cBlockSize)) return cBlockSize; in ZSTD_decompressFrame()
905 if (ZSTD_isError(decodedSize)) return decodedSize; in ZSTD_decompressFrame()
[all …]
Dzstd_decompress_block.c700 … RETURN_ERROR_IF(ZSTD_isError(llhSize), corruption_detected, "ZSTD_buildSeqTable failed"); in ZSTD_decodeSeqHeaders()
712 … RETURN_ERROR_IF(ZSTD_isError(ofhSize), corruption_detected, "ZSTD_buildSeqTable failed"); in ZSTD_decodeSeqHeaders()
724 … RETURN_ERROR_IF(ZSTD_isError(mlhSize), corruption_detected, "ZSTD_buildSeqTable failed"); in ZSTD_decodeSeqHeaders()
1426 assert(!ZSTD_isError(oneSeqSize));
1429 if (UNLIKELY(ZSTD_isError(oneSeqSize)))
1455 assert(!ZSTD_isError(oneSeqSize));
1458 if (UNLIKELY(ZSTD_isError(oneSeqSize)))
1492 assert(!ZSTD_isError(oneSeqSize));
1495 if (UNLIKELY(ZSTD_isError(oneSeqSize)))
1594 assert(!ZSTD_isError(oneSeqSize));
[all …]
/linux-6.6.21/lib/zstd/compress/
Dzstd_compress_sequences.c212 assert(!ZSTD_isError(basicCost)); in ZSTD_selectEncodingType()
213 assert(!(*repeatMode == FSE_repeat_valid && ZSTD_isError(repeatCost))); in ZSTD_selectEncodingType()
215 assert(!ZSTD_isError(NCountCost)); in ZSTD_selectEncodingType()
227 assert(!ZSTD_isError(repeatCost)); in ZSTD_selectEncodingType()
Dzstd_cwksp.h327 if (ZSTD_isError(ZSTD_cwksp_internal_advance_phase(ws, phase)) || bytes == 0) { in ZSTD_cwksp_reserve_internal()
369 if (ZSTD_isError(ZSTD_cwksp_internal_advance_phase(ws, phase))) { in ZSTD_cwksp_reserve_table()
Dzstd_compress_superblock.c316 if (ZSTD_isError(largest)) return litSize; in ZSTD_estimateSubBlockSize_literal()
351 if (ZSTD_isError(cSymbolTypeSizeEstimateInBits)) return nbSeq * 10; in ZSTD_estimateSubBlockSize_symbolType()
Dzstd_compress.c101 assert(!ZSTD_isError(err)); in ZSTD_initCCtx()
564 if (ZSTD_isError(bounds.error)) return bounds.error; in ZSTD_cParam_clampBounds()
1758 assert(!ZSTD_isError(ZSTD_checkCParams(params->cParams))); in ZSTD_resetCCtx_internal()
2401 if (ZSTD_isError(countSize)) { in ZSTD_buildSequencesStatistics()
2433 if (ZSTD_isError(countSize)) { in ZSTD_buildSequencesStatistics()
2463 if (ZSTD_isError(countSize)) { in ZSTD_buildSequencesStatistics()
3161 if (ZSTD_isError(largest)) return litSize; in ZSTD_estimateBlockSize_literal()
3197 if (ZSTD_isError(cSymbolTypeSizeEstimateInBits)) { in ZSTD_estimateBlockSize_symbolType()
3519 …if (ZSTD_isError(estimatedOriginalSize) || ZSTD_isError(estimatedFirstHalfSize) || ZSTD_isError(es… in ZSTD_deriveBlockSplitsHelper()
3722 if (!ZSTD_isError(cSize) && cSize > 1) { in ZSTD_compressBlock_internal()
[all …]
Dzstd_ldm.c564 if (ZSTD_isError(newLeftoverSize)) in ZSTD_ldm_generateSequences()
Dzstd_compress_internal.h494 if (ZSTD_isError(bounds.error)) return 0; in ZSTD_cParam_withinBounds()
/linux-6.6.21/include/linux/
Dzstd_lib.h173 ZSTDLIB_API unsigned ZSTD_isError(size_t code); /*!< tells if a `size_t` function resul…