Lines Matching refs:errorCode
279 * If this condition is not respected, LZ4F_compressFrame() will fail (result is an errorCode)
290 LZ4F_errorCode_t errorCode;
324 errorCode = LZ4F_compressBegin(&cctxI, dstBuffer, dstMaxSize, &prefs); /* write header */
325 if (LZ4F_isError(errorCode)) return errorCode;
326 dstPtr += errorCode; /* header size */
328 errorCode = LZ4F_compressUpdate(&cctxI, dstPtr, dstEnd-dstPtr, srcBuffer, srcSize, &options);
329 if (LZ4F_isError(errorCode)) return errorCode;
330 dstPtr += errorCode;
332 errorCode = LZ4F_compressEnd(&cctxI, dstPtr, dstEnd-dstPtr, &options); /* flush last block, and generate suffix */
333 if (LZ4F_isError(errorCode)) return errorCode;
334 dstPtr += errorCode;
556 * If this condition is not respected, LZ4F_compress() will fail (result is an errorCode)
719 size_t errorCode;
721 errorCode = LZ4F_flush(compressionContext, dstBuffer, dstMaxSize, compressOptionsPtr);
722 if (LZ4F_isError(errorCode)) return errorCode;
723 dstPtr += errorCode;
1085 LZ4F_errorCode_t errorCode = LZ4F_decodeHeader(dctxPtr, srcPtr, srcEnd-srcPtr);
1086 if (LZ4F_isError(errorCode)) return errorCode;
1087 srcPtr += errorCode;
1109 LZ4F_errorCode_t errorCode = LZ4F_decodeHeader(dctxPtr, dctxPtr->header, dctxPtr->tmpInTarget);
1110 if (LZ4F_isError(errorCode)) return errorCode;