Searched refs:dctxPtr (Results 1 – 2 of 2) sorted by relevance
759 LZ4F_dctx* const dctxPtr = (LZ4F_dctx*)ALLOCATOR(sizeof(LZ4F_dctx)); in LZ4F_createDecompressionContext() local760 if (dctxPtr==NULL) return err0r(LZ4F_ERROR_GENERIC); in LZ4F_createDecompressionContext()762 dctxPtr->version = versionNumber; in LZ4F_createDecompressionContext()763 *LZ4F_decompressionContextPtr = dctxPtr; in LZ4F_createDecompressionContext()767 LZ4F_errorCode_t LZ4F_freeDecompressionContext(LZ4F_dctx* const dctxPtr) in LZ4F_freeDecompressionContext() argument770 if (dctxPtr != NULL) { /* can accept NULL input, like free() */ in LZ4F_freeDecompressionContext()771 result = (LZ4F_errorCode_t)dctxPtr->dStage; in LZ4F_freeDecompressionContext()772 FREEMEM(dctxPtr->tmpIn); in LZ4F_freeDecompressionContext()773 FREEMEM(dctxPtr->tmpOutBuffer); in LZ4F_freeDecompressionContext()774 FREEMEM(dctxPtr); in LZ4F_freeDecompressionContext()[all …]
284 LZ4FLIB_API LZ4F_errorCode_t LZ4F_createDecompressionContext(LZ4F_dctx** dctxPtr, unsigned version);