Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4frame.c311 LZ4F_cctx_t cctxI; in LZ4F_compressFrame() local
319 memset(&cctxI, 0, sizeof(cctxI)); /* works because no allocation */ in LZ4F_compressFrame()
322 cctxI.version = LZ4F_VERSION; in LZ4F_compressFrame()
323cctxI.maxBufferSize = 5 MB; /* mess with real buffer size to prevent allocation; works because a… in LZ4F_compressFrame()
333 cctxI.lz4CtxPtr = &lz4ctx; in LZ4F_compressFrame()
334 cctxI.lz4CtxLevel = 1; in LZ4F_compressFrame()
347 …{ size_t const headerSize = LZ4F_compressBegin(&cctxI, dstBuffer, dstCapacity, &prefs); /* write … in LZ4F_compressFrame()
351 …{ size_t const cSize = LZ4F_compressUpdate(&cctxI, dstPtr, dstEnd-dstPtr, srcBuffer, srcSize, &opt… in LZ4F_compressFrame()
355 …{ size_t const tailSize = LZ4F_compressEnd(&cctxI, dstPtr, dstEnd-dstPtr, &options); /* flush la… in LZ4F_compressFrame()
360 FREEMEM(cctxI.lz4CtxPtr); in LZ4F_compressFrame()