Home
last modified time | relevance | path

Searched refs:ZSTD_getErrorCode (Results 1 – 10 of 10) sorted by relevance

/external/zstd/tests/fuzz/
Dsimple_compress.c48 FUZZ_ASSERT(ZSTD_getErrorCode(ret) == ZSTD_error_dstSize_tooSmall); in LLVMFuzzerTestOneInput()
Ddecompress_dstSize_tooSmall.c60 FUZZ_ASSERT(ZSTD_getErrorCode(rSize) == ZSTD_error_dstSize_tooSmall); in LLVMFuzzerTestOneInput()
/external/zstd/lib/common/
Dzstd_errors.h87 ZSTDERRORLIB_API ZSTD_ErrorCode ZSTD_getErrorCode(size_t functionResult);
Dzstd_common.c45 ZSTD_ErrorCode ZSTD_getErrorCode(size_t code) { return ERR_getErrorCode(code); } in ZSTD_getErrorCode() function
/external/zstd/contrib/linux-kernel/
Dzstd_decompress_module.c22 return ZSTD_getErrorCode(code); in zstd_get_error_code()
/external/zstd/tests/
Dzstreamtest.c572 …if (ZSTD_getErrorCode(r) != ZSTD_error_srcSize_wrong) goto _output_error; /* must fail : wrong … in basicUnitTests()
585 …if (ZSTD_getErrorCode(r) != ZSTD_error_srcSize_wrong) goto _output_error; /* must fail : wrong … in basicUnitTests()
600 …if (ZSTD_getErrorCode(r) != ZSTD_error_srcSize_wrong) goto _output_error; /* must fail : wrong … in basicUnitTests()
719 …CHECK(ZSTD_getErrorCode(r) != ZSTD_error_dstSize_tooSmall, "Must error but got %s", ZSTD_getErrorN… in basicUnitTests()
735 …CHECK(ZSTD_getErrorCode(r) != ZSTD_error_dstBuffer_wrong, "Must error but got %s", ZSTD_getErrorNa… in basicUnitTests()
853 CHECK(!(ZSTD_getErrorCode(ret) == ZSTD_error_srcBuffer_wrong), "Must be this error"); in basicUnitTests()
866 CHECK(!(ZSTD_getErrorCode(ret) == ZSTD_error_srcBuffer_wrong), "Must be this error"); in basicUnitTests()
871 CHECK(!(ZSTD_getErrorCode(ret) == ZSTD_error_srcBuffer_wrong), "Must be this error"); in basicUnitTests()
903 CHECK(!(ZSTD_getErrorCode(ret) == ZSTD_error_dstBuffer_wrong), "Must be this error"); in basicUnitTests()
1923 if (ZSTD_getErrorCode(decompressionResult) == ZSTD_error_checksum_wrong) { in fuzzerTests()
Dfuzzer.c557 if (ZSTD_getErrorCode((size_t)r) != ZSTD_error_srcSize_wrong) goto _output_error; } in basicUnitTests()
563 if (ZSTD_getErrorCode(r) != ZSTD_error_srcSize_wrong) goto _output_error; } in basicUnitTests()
569 if (ZSTD_getErrorCode(r) != ZSTD_error_srcSize_wrong) goto _output_error; } in basicUnitTests()
575 if (ZSTD_getErrorCode(r) != ZSTD_error_dstSize_tooSmall) goto _output_error; } in basicUnitTests()
604 if (ZSTD_getErrorCode(r) != ZSTD_error_checksum_wrong) goto _output_error; in basicUnitTests()
1318 … if (ZSTD_getErrorCode((size_t)r) != ZSTD_error_memory_allocation) goto _output_error; in basicUnitTests()
2033 if (ZSTD_getErrorCode(ret) != ZSTD_error_dictionary_corrupted) in basicUnitTests()
2390 if (ZSTD_getErrorCode(r) != ZSTD_error_srcSize_wrong) goto _output_error; } in basicUnitTests()
2409 if (ZSTD_getErrorCode(result) != ZSTD_error_srcSize_wrong) goto _output_error; in basicUnitTests()
2532 if (ZSTD_getErrorCode(decodeResult) != ZSTD_error_prefix_unknown) goto _output_error; in basicUnitTests()
[all …]
/external/zstd/contrib/diagnose_corruption/
Dcheck_flipped_bits.c304 unsigned int code = ZSTD_getErrorCode(ret); in test_decompress()
/external/zstd/lib/decompress/
Dzstd_decompress.c772 (ZSTD_getErrorCode(res) == ZSTD_error_prefix_unknown) in ZSTD_decompressMultiFrame()
/external/zstd/programs/
Dfileio.c2062 if (ZSTD_getErrorCode(err) != ZSTD_error_frameParameter_windowTooLarge) in FIO_zstdErrorHelp()