Searched refs:cctxPtr (Results 1 – 3 of 3) sorted by relevance
/third_party/lz4/lib/ |
D | lz4frame.c | 481 LZ4F_cctx_t* cctxPtr; in LZ4F_compressFrame() local 482 result = LZ4F_createCompressionContext(&cctxPtr, LZ4F_VERSION); in LZ4F_compressFrame() 487 LZ4F_cctx_t* const cctxPtr = &cctx; in LZ4F_compressFrame() local 495 cctxPtr->lz4CtxPtr = &lz4ctx; in LZ4F_compressFrame() 496 cctxPtr->lz4CtxAlloc = 1; in LZ4F_compressFrame() 497 cctxPtr->lz4CtxState = 1; in LZ4F_compressFrame() 502 result = LZ4F_compressFrame_usingCDict(cctxPtr, dstBuffer, dstCapacity, in LZ4F_compressFrame() 507 LZ4F_freeCompressionContext(cctxPtr); in LZ4F_compressFrame() 511 LZ4F_free(cctxPtr->lz4CtxPtr, cctxPtr->cmem); in LZ4F_compressFrame() 588 LZ4F_cctx* const cctxPtr = in LZ4F_createCompressionContext_advanced() local [all …]
|
D | lz4file.c | 49 LZ4F_cctx* cctxPtr; member 223 ret = LZ4F_createCompressionContext(&(*lz4fWrite)->cctxPtr, LZ4F_getVersion()); in LZ4F_writeOpen() 230 ret = LZ4F_compressBegin((*lz4fWrite)->cctxPtr, buf, LZ4F_HEADER_SIZE_MAX, prefsPtr); in LZ4F_writeOpen() 232 LZ4F_freeCompressionContext((*lz4fWrite)->cctxPtr); in LZ4F_writeOpen() 239 LZ4F_freeCompressionContext((*lz4fWrite)->cctxPtr); in LZ4F_writeOpen() 265 ret = LZ4F_compressUpdate(lz4fWrite->cctxPtr, in LZ4F_write() 294 ret = LZ4F_compressEnd(lz4fWrite->cctxPtr, in LZ4F_writeClose() 307 LZ4F_freeCompressionContext(lz4fWrite->cctxPtr); in LZ4F_writeClose()
|
D | lz4frame.h | 260 LZ4FLIB_API LZ4F_errorCode_t LZ4F_createCompressionContext(LZ4F_cctx** cctxPtr, unsigned version);
|