Lines Matching defs:cctx
420 size_t LZ4F_compressFrame_usingCDict(LZ4F_cctx* cctx,
449 { size_t const headerSize = LZ4F_compressBegin_usingCDict(cctx, dstBuffer, dstCapacity, cdict, &prefs); /* write header */
454 { size_t const cSize = LZ4F_compressUpdate(cctx, dstPtr, (size_t)(dstEnd-dstPtr), srcBuffer, srcSize, &options);
459 { size_t const tailSize = LZ4F_compressEnd(cctx, dstPtr, (size_t)(dstEnd-dstPtr), &options); /* flush last block, and generate suffix */
485 LZ4F_cctx_t cctx;
487 LZ4F_cctx_t* const cctxPtr = &cctx;
489 MEM_INIT(&cctx, 0, sizeof(cctx));
490 cctx.version = LZ4F_VERSION;
491 cctx.maxBufferSize = 5 MB; /* mess with real buffer size to prevent dynamic allocation; works only because autoflush==1 & stableSrc==1 */
594 cctxPtr->cStage = 0; /* Uninitialized. Next stage : init cctx */
690 /* cctx Management */