Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4frame.c759 LZ4F_dctx* const dctxPtr = (LZ4F_dctx*)ALLOCATOR(sizeof(LZ4F_dctx)); in LZ4F_createDecompressionContext() local
760 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() argument
770 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 …]
Dlz4frame.h284 LZ4FLIB_API LZ4F_errorCode_t LZ4F_createDecompressionContext(LZ4F_dctx** dctxPtr, unsigned version);