Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4frame.c317 #define RETURN_ERROR_IF(c,e) if (c) RETURN_ERROR(e) macro
447 RETURN_ERROR_IF(dstCapacity < LZ4F_compressFrameBound(srcSize, &prefs), dstMaxSize_tooSmall); in LZ4F_compressFrame_usingCDict()
612 RETURN_ERROR_IF(LZ4F_compressionContextPtr == NULL, parameter_null); in LZ4F_createCompressionContext()
615 RETURN_ERROR_IF(*LZ4F_compressionContextPtr==NULL, allocation_failed); in LZ4F_createCompressionContext()
686 RETURN_ERROR_IF(dstCapacity < maxFHSize, dstMaxSize_tooSmall); in LZ4F_compressBegin_usingCDict()
708 RETURN_ERROR_IF(cctxPtr->lz4CtxPtr == NULL, allocation_failed); in LZ4F_compressBegin_usingCDict()
736 RETURN_ERROR_IF(cctxPtr->tmpBuff == NULL, allocation_failed); in LZ4F_compressBegin_usingCDict()
946RETURN_ERROR_IF(cctxPtr->cStage != 1, compressionState_uninitialized); /* state must be initiali… in LZ4F_compressUpdateImpl()
1088 RETURN_ERROR_IF(cctxPtr->prefs.frameInfo.blockMode != LZ4F_blockIndependent, blockMode_invalid); in LZ4F_uncompressedUpdate()
1113 RETURN_ERROR_IF(cctxPtr->cStage != 1, compressionState_uninitialized); in LZ4F_flush()
[all …]