Searched refs:ZSTD_isError (Results 1 – 16 of 16) sorted by relevance
/linux-6.12.1/tools/perf/util/ |
D | zstd.c | 48 if (ZSTD_isError(ret)) { in zstd_compress_stream_to_records() 65 if (ZSTD_isError(ret)) { in zstd_compress_stream_to_records() 96 if (ZSTD_isError(ret)) { in zstd_decompress_stream() 104 if (ZSTD_isError(ret)) { in zstd_decompress_stream()
|
/linux-6.12.1/lib/zstd/ |
D | zstd_common_module.c | 20 #undef ZSTD_isError /* defined within zstd_internal.h */ 24 EXPORT_SYMBOL_GPL(ZSTD_isError);
|
D | zstd_compress_module.c | 23 if (ZSTD_isError(__ret)) \ 175 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.12.1/lib/zstd/common/ |
D | zstd_common.c | 33 #undef ZSTD_isError /* defined within zstd_internal.h */ 37 unsigned ZSTD_isError(size_t code) { return ERR_isError(code); } in ZSTD_isError() function
|
D | zstd_internal.h | 39 #define ZSTD_isError ERR_isError /* for inlining */ macro
|
/linux-6.12.1/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 | 595 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 …]
|
D | zstd_decompress_block.c | 700 … 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.12.1/lib/zstd/compress/ |
D | zstd_compress_sequences.c | 212 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()
|
D | zstd_cwksp.h | 327 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()
|
D | zstd_compress_superblock.c | 316 if (ZSTD_isError(largest)) return litSize; in ZSTD_estimateSubBlockSize_literal() 351 if (ZSTD_isError(cSymbolTypeSizeEstimateInBits)) return nbSeq * 10; in ZSTD_estimateSubBlockSize_symbolType()
|
D | zstd_compress.c | 101 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 …]
|
D | zstd_ldm.c | 564 if (ZSTD_isError(newLeftoverSize)) in ZSTD_ldm_generateSequences()
|
D | zstd_compress_internal.h | 494 if (ZSTD_isError(bounds.error)) return 0; in ZSTD_cParam_withinBounds()
|
/linux-6.12.1/include/linux/ |
D | zstd_lib.h | 173 ZSTDLIB_API unsigned ZSTD_isError(size_t code); /*!< tells if a `size_t` function resul…
|