RETURN_ERROR
RETURN_ERROR(parameter_unsupported, "not compiled with multithreading");
RETURN_ERROR(parameter_unsupported, "not compiled with multithreading");
RETURN_ERROR(parameter_unsupported, "not compiled with multithreading");
default: RETURN_ERROR(parameter_unsupported, "unknown parameter");
RETURN_ERROR(init_missing, "call ZSTD_initCStream() first!");
RETURN_ERROR(stabilityCondition_notRespected, "ZSTD_c_stableInBuffer enabled but input differs!");
RETURN_ERROR(stabilityCondition_notRespected, "ZSTD_c_stableOutBuffer enabled but output size differs!");
RETURN_ERROR(dstSize_tooSmall, "");
RETURN_ERROR(externalSequences_invalid, "delimiter format error : both matchlength and offset must be == 0");
RETURN_ERROR(externalSequences_invalid, "Reached end of sequences without finding a block delimiter");
RETURN_ERROR(externalSequences_invalid, "sequences incorrectly define a too large block");
RETURN_ERROR(externalSequences_invalid, "sequences define a frame longer than source");
RETURN_ERROR(stage_wrong, "can only set params in cctx init stage");
RETURN_ERROR(cannotProduce_uncompressedBlock, "ZSTD_compressSequencesAndLiterals cannot generate an uncompressed block");
RETURN_ERROR(workSpace_tooSmall, "literals buffer is not large enough: must be at least 8 bytes larger than litSize (risk of read out-of-bound)");
RETURN_ERROR(frameParameter_unsupported, "This mode is only compatible with explicit delimiters");
RETURN_ERROR(parameter_unsupported, "This mode is not compatible with Sequence validation");
RETURN_ERROR(frameParameter_unsupported, "this mode is not compatible with frame checksum");
default: RETURN_ERROR(parameter_unsupported, "unknown parameter");
default: RETURN_ERROR(parameter_unsupported, "unknown parameter");
default: assert(0); RETURN_ERROR(GENERIC, "impossible to reach");
RETURN_ERROR(corruption_detected, "invalid block type");
RETURN_ERROR(GENERIC, "impossible to reach"); /* some compilers require default to do something */
RETURN_ERROR(memory_allocation, "Failed to allocate memory for hash set!");
RETURN_ERROR(parameter_unsupported, "");
RETURN_ERROR(parameter_unsupported, "Static dctx does not support multiple DDicts!");
RETURN_ERROR(parameter_unsupported, "");
RETURN_ERROR(dstBuffer_wrong, "ZSTD_d_stableOutBuffer enabled but output differs!");
RETURN_ERROR(dstSize_tooSmall, "ZSTD_obm_stable passed but ZSTD_outBuffer is too small");
RETURN_ERROR(GENERIC, "impossible to reach"); /* some compilers require default to do something */
RETURN_ERROR(prefix_unknown,
RETURN_ERROR(prefix_unknown, "");
RETURN_ERROR(dstBuffer_null, "");
RETURN_ERROR(dstBuffer_null, "");
RETURN_ERROR(corruption_detected, "invalid block type");
RETURN_ERROR(corruption_detected, "impossible");
RETURN_ERROR(GENERIC, "impossible");