Searched refs:ZSTD_getErrorCode (Results 1 – 10 of 10) sorted by relevance
48 FUZZ_ASSERT(ZSTD_getErrorCode(ret) == ZSTD_error_dstSize_tooSmall); in LLVMFuzzerTestOneInput()
60 FUZZ_ASSERT(ZSTD_getErrorCode(rSize) == ZSTD_error_dstSize_tooSmall); in LLVMFuzzerTestOneInput()
87 ZSTDERRORLIB_API ZSTD_ErrorCode ZSTD_getErrorCode(size_t functionResult);
45 ZSTD_ErrorCode ZSTD_getErrorCode(size_t code) { return ERR_getErrorCode(code); } in ZSTD_getErrorCode() function
22 return ZSTD_getErrorCode(code); in zstd_get_error_code()
572 …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()
557 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 …]
304 unsigned int code = ZSTD_getErrorCode(ret); in test_decompress()
772 (ZSTD_getErrorCode(res) == ZSTD_error_prefix_unknown) in ZSTD_decompressMultiFrame()
2062 if (ZSTD_getErrorCode(err) != ZSTD_error_frameParameter_windowTooLarge) in FIO_zstdErrorHelp()