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

/external/lz4/lib/
H A Dlz4frame.c311 LZ4F_cctx_t cctxI; local
319 memset(&cctxI, 0, sizeof(cctxI)); /* works because no allocation */
322 cctxI.version = LZ4F_VERSION;
323 cctxI.maxBufferSize = 5 MB; /* mess with real buffer size to prevent allocation; works because autoflush==1 & stableSrc==1 */
333 cctxI.lz4CtxPtr = &lz4ctx;
334 cctxI.lz4CtxLevel = 1;
347 { size_t const headerSize = LZ4F_compressBegin(&cctxI, dstBuffer, dstCapacity, &prefs); /* write header */
351 { size_t const cSize = LZ4F_compressUpdate(&cctxI, dstPtr, dstEnd-dstPtr, srcBuffer, srcSize, &options);
355 { size_t const tailSize = LZ4F_compressEnd(&cctxI, dstPt
[all...]

Completed in 29 milliseconds