Lines Matching refs:errorCode
254 * If this condition is not respected, LZ4F_compressFrame() will fail (result is an errorCode)
264 LZ4F_errorCode_t errorCode;
297 errorCode = LZ4F_compressBegin(&cctxI, dstBuffer, dstMaxSize, &prefs); /* write header */
298 if (LZ4F_isError(errorCode)) return errorCode;
299 dstPtr += errorCode; /* header size */
301 dstMaxSize -= errorCode;
302 errorCode = LZ4F_compressUpdate(&cctxI, dstPtr, dstMaxSize, srcBuffer, srcSize, &options);
303 if (LZ4F_isError(errorCode)) return errorCode;
304 dstPtr += errorCode;
306 errorCode = LZ4F_compressEnd(&cctxI, dstPtr, dstEnd-dstPtr, &options); /* flush last block, and generate suffix */
307 if (LZ4F_isError(errorCode)) return errorCode;
308 dstPtr += errorCode;
513 * If this condition is not respected, LZ4F_compress() will fail (result is an errorCode)
676 size_t errorCode;
678 errorCode = LZ4F_flush(compressionContext, dstBuffer, dstMaxSize, compressOptionsPtr);
679 if (LZ4F_isError(errorCode)) return errorCode;
680 dstPtr += errorCode;
831 LZ4F_errorCode_t errorCode = LZ4F_decodeHeader(dctxPtr, srcBuffer, *srcSizePtr);
832 if (LZ4F_isError(errorCode)) return errorCode;
833 *srcSizePtr = errorCode;
1019 LZ4F_errorCode_t errorCode = LZ4F_decodeHeader(dctxPtr, selectedIn, 7);
1020 if (LZ4F_isError(errorCode)) return errorCode;