Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4frame.c233 size_t tmpInSize; member
658 cctxPtr->tmpInSize = 0; in LZ4F_compressBegin_usingCDict()
840 if (dstCapacity < LZ4F_compressBound_internal(srcSize, &(cctxPtr->prefs), cctxPtr->tmpInSize)) in LZ4F_compressUpdate()
846 if (cctxPtr->tmpInSize > 0) { /* some data already within tmp buffer */ in LZ4F_compressUpdate()
847 size_t const sizeToCopy = blockSize - cctxPtr->tmpInSize; in LZ4F_compressUpdate()
850 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, srcSize); in LZ4F_compressUpdate()
852 cctxPtr->tmpInSize += srcSize; in LZ4F_compressUpdate()
857 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, sizeToCopy); in LZ4F_compressUpdate()
867 cctxPtr->tmpInSize = 0; in LZ4F_compressUpdate()
917 cctxPtr->tmpInSize = sizeToCopy; in LZ4F_compressUpdate()
[all …]