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

/linux-master/lib/zstd/
H A Dzstd_common_module.c20 #undef ZSTD_isError /* defined within zstd_internal.h */ macro
24 EXPORT_SYMBOL_GPL(ZSTD_isError); variable
H A Dzstd_compress_module.c23 if (ZSTD_isError(__ret)) \
126 if (ZSTD_isError(zstd_cctx_init(cstream, parameters, pledged_src_size)))
H A Dzstd_decompress_module.c23 return ZSTD_isError(code);
/linux-master/lib/zstd/common/
H A Dzstd_common.c33 #undef ZSTD_isError /* defined within zstd_internal.h */ macro
34 /*! ZSTD_isError() :
37 unsigned ZSTD_isError(size_t code) { return ERR_isError(code); } function
H A Dzstd_internal.h39 #define ZSTD_isError ERR_isError /* for inlining */ macro
335 * Note: before using `compressedSize`, check for errors using ZSTD_isError().
/linux-master/tools/perf/util/
H A Dzstd.c48 if (ZSTD_isError(ret)) {
65 if (ZSTD_isError(ret)) {
96 if (ZSTD_isError(ret)) {
104 if (ZSTD_isError(ret)) {
/linux-master/lib/zstd/decompress/
H A Dzstd_ddict.c109 RETURN_ERROR_IF(ZSTD_isError(ZSTD_loadDEntropy(
155 if (ZSTD_isError(initResult)) {
201 if (ZSTD_isError( ZSTD_initDDict_internal(ddict,
H A Dzstd_decompress_block.c700 RETURN_ERROR_IF(ZSTD_isError(llhSize), corruption_detected, "ZSTD_buildSeqTable failed");
712 RETURN_ERROR_IF(ZSTD_isError(ofhSize), corruption_detected, "ZSTD_buildSeqTable failed");
724 RETURN_ERROR_IF(ZSTD_isError(mlhSize), corruption_detected, "ZSTD_buildSeqTable failed");
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(oneSeqSiz
[all...]
H A Dzstd_decompress.c393 * or an error code, which can be tested with ZSTD_isError() */
424 * or an error code, which can be tested using ZSTD_isError() */
510 * or an error code, which can be tested using ZSTD_isError() */
595 if (ZSTD_isError(skippableSize)) {
613 if (ZSTD_isError(frameSrcSize)) {
646 * @return : 0 if success, or an error code, which can be tested using ZSTD_isError() */
650 if (ZSTD_isError(result)) return result; /* invalid header */
688 assert(ZSTD_isError(frameSizeInfo.compressedSize) ||
700 if (ZSTD_isError(ret))
713 if (ZSTD_isError(cBlockSiz
[all...]
/linux-master/lib/zstd/compress/
H A Dzstd_compress_sequences.c212 assert(!ZSTD_isError(basicCost));
213 assert(!(*repeatMode == FSE_repeat_valid && ZSTD_isError(repeatCost)));
215 assert(!ZSTD_isError(NCountCost));
227 assert(!ZSTD_isError(repeatCost));
H A Dzstd_cwksp.h327 if (ZSTD_isError(ZSTD_cwksp_internal_advance_phase(ws, phase)) || bytes == 0) {
369 if (ZSTD_isError(ZSTD_cwksp_internal_advance_phase(ws, phase))) {
H A Dzstd_compress_superblock.c316 if (ZSTD_isError(largest)) return litSize;
351 if (ZSTD_isError(cSymbolTypeSizeEstimateInBits)) return nbSeq * 10;
H A Dzstd_compress.c101 assert(!ZSTD_isError(err));
564 if (ZSTD_isError(bounds.error)) return bounds.error;
1758 assert(!ZSTD_isError(ZSTD_checkCParams(params->cParams)));
2401 if (ZSTD_isError(countSize)) {
2433 if (ZSTD_isError(countSize)) {
2463 if (ZSTD_isError(countSize)) {
3161 if (ZSTD_isError(largest)) return litSize;
3197 if (ZSTD_isError(cSymbolTypeSizeEstimateInBits)) {
3519 if (ZSTD_isError(estimatedOriginalSize) || ZSTD_isError(estimatedFirstHalfSiz
[all...]
H A Dzstd_ldm.c564 if (ZSTD_isError(newLeftoverSize))
H A Dzstd_compress_internal.h494 if (ZSTD_isError(bounds.error)) return 0;
/linux-master/include/linux/
H A Dzstd_lib.h112 * or an error code if it fails (which can be tested using ZSTD_isError()). */
122 * or an errorCode if it fails (which can be tested using ZSTD_isError()). */
173 ZSTDLIB_API unsigned ZSTD_isError(size_t code); /*!< tells if a `size_t` function result is an error code */
446 * - an error status field, which must be tested using ZSTD_isError()
460 * @return : an error code (which can be tested using ZSTD_isError()).
468 * @result : 0, or an error code (which can be tested with ZSTD_isError()).
498 * otherwise the reset fails, and function returns an error value (which can be tested using ZSTD_isError())
511 * or an error code if it fails (which can be tested using ZSTD_isError()).
560 * - an error status field, which must be tested using ZSTD_isError()
570 * @return : 0, or an error code (which can be tested using ZSTD_isError())
[all...]

Completed in 194 milliseconds