Searched refs:ZSTD_isError (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/tools/perf/util/ |
D | zstd.c | 19 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.1.9/lib/zstd/common/ |
D | zstd_common.c | 34 #undef ZSTD_isError /* defined within zstd_internal.h */ 38 unsigned ZSTD_isError(size_t code) { return ERR_isError(code); } in ZSTD_isError() function 39 EXPORT_SYMBOL_GPL(ZSTD_isError);
|
D | zstd_internal.h | 38 #define ZSTD_isError ERR_isError /* for inlining */ macro
|
/linux-6.1.9/lib/zstd/decompress/ |
D | zstd_ddict.c | 109 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()
|
D | zstd_decompress.c | 549 if (ZSTD_isError(skippableSize)) { in ZSTD_findDecompressedSize() 567 if (ZSTD_isError(frameSrcSize)) { in ZSTD_findDecompressedSize() 604 if (ZSTD_isError(result)) return result; /* invalid header */ in ZSTD_decodeFrameHeader() 642 assert(ZSTD_isError(frameSizeInfo.compressedSize) || in ZSTD_findFrameSizeInfo() 654 if (ZSTD_isError(ret)) in ZSTD_findFrameSizeInfo() 667 if (ZSTD_isError(cBlockSize)) in ZSTD_findFrameSizeInfo() 720 if (ZSTD_isError(compressedSize) || decompressedBound == ZSTD_CONTENTSIZE_ERROR) in ZSTD_decompressBound() 806 if (ZSTD_isError(frameHeaderSize)) return frameHeaderSize; in ZSTD_decompressFrame() 818 if (ZSTD_isError(cBlockSize)) return cBlockSize; in ZSTD_decompressFrame() 840 if (ZSTD_isError(decodedSize)) return decodedSize; in ZSTD_decompressFrame() [all …]
|
D | zstd_decompress_block.c | 624 … RETURN_ERROR_IF(ZSTD_isError(llhSize), corruption_detected, "ZSTD_buildSeqTable failed"); in ZSTD_decodeSeqHeaders() 636 … RETURN_ERROR_IF(ZSTD_isError(ofhSize), corruption_detected, "ZSTD_buildSeqTable failed"); in ZSTD_decodeSeqHeaders() 648 … RETURN_ERROR_IF(ZSTD_isError(mlhSize), corruption_detected, "ZSTD_buildSeqTable failed"); in ZSTD_decodeSeqHeaders() 1186 assert(!ZSTD_isError(oneSeqSize)); in ZSTD_decompressSequences_body() 1195 if (UNLIKELY(ZSTD_isError(oneSeqSize))) { in ZSTD_decompressSequences_body() 1204 if (ZSTD_isError(error)) return error; in ZSTD_decompressSequences_body() 1290 assert(!ZSTD_isError(oneSeqSize)); in ZSTD_decompressSequencesLong_body() 1293 if (ZSTD_isError(oneSeqSize)) return oneSeqSize; in ZSTD_decompressSequencesLong_body() 1305 assert(!ZSTD_isError(oneSeqSize)); in ZSTD_decompressSequencesLong_body() 1308 if (ZSTD_isError(oneSeqSize)) return oneSeqSize; in ZSTD_decompressSequencesLong_body() [all …]
|
/linux-6.1.9/lib/zstd/ |
D | zstd_compress_module.c | 23 if (ZSTD_isError(__ret)) \ 126 if (ZSTD_isError(zstd_cctx_init(cstream, parameters, pledged_src_size))) in zstd_init_cstream()
|
D | zstd_decompress_module.c | 23 return ZSTD_isError(code); in zstd_is_error()
|
/linux-6.1.9/lib/zstd/compress/ |
D | zstd_compress_sequences.c | 210 assert(!ZSTD_isError(basicCost)); in ZSTD_selectEncodingType() 211 assert(!(*repeatMode == FSE_repeat_valid && ZSTD_isError(repeatCost))); in ZSTD_selectEncodingType() 213 assert(!ZSTD_isError(NCountCost)); in ZSTD_selectEncodingType() 225 assert(!ZSTD_isError(repeatCost)); in ZSTD_selectEncodingType()
|
D | zstd_compress_superblock.c | 596 if (ZSTD_isError(largest)) return litSize; in ZSTD_estimateSubBlockSize_literal() 631 if (ZSTD_isError(cSymbolTypeSizeEstimateInBits)) return nbSeq * 10; in ZSTD_estimateSubBlockSize_symbolType()
|
D | zstd_compress.c | 86 assert(!ZSTD_isError(err)); in ZSTD_initCCtx() 477 if (ZSTD_isError(bounds.error)) return bounds.error; in ZSTD_cParam_clampBounds() 1567 assert(!ZSTD_isError(ZSTD_checkCParams(params.cParams))); in ZSTD_resetCCtx_internal() 2668 if (!ZSTD_isError(cSize) && cSize > 1) { in ZSTD_compressBlock_internal() 3326 assert(!ZSTD_isError(ZSTD_checkCParams(params->cParams))); in ZSTD_compressBegin_internal() 3725 if (ZSTD_isError( ZSTD_initCDict_internal(cdict, in ZSTD_createCDict_advanced2() 3817 if (ZSTD_isError( ZSTD_initCDict_internal(cdict, in ZSTD_initStaticCDict() 3988 assert(!ZSTD_isError(ZSTD_checkCParams(params->cParams))); in ZSTD_initCStream_internal() 4337 assert(!ZSTD_isError(ZSTD_checkCParams(params.cParams))); in ZSTD_CCtx_init_compressStream2()
|
D | zstd_ldm.c | 529 if (ZSTD_isError(newLeftoverSize)) in ZSTD_ldm_generateSequences()
|
D | zstd_compress_internal.h | 426 if (ZSTD_isError(bounds.error)) return 0; in ZSTD_cParam_withinBounds()
|
/linux-6.1.9/include/linux/ |
D | zstd_lib.h | 166 ZSTDLIB_API unsigned ZSTD_isError(size_t code); /*!< tells if a `size_t` function resul…
|