Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4frame.c216 size_t tmpInSize; member
637 cctxPtr->tmpInSize = 0; in LZ4F_compressBegin_usingCDict()
815 if (dstCapacity < LZ4F_compressBound_internal(srcSize, &(cctxPtr->prefs), cctxPtr->tmpInSize)) in LZ4F_compressUpdate()
821 if (cctxPtr->tmpInSize > 0) { /* some data already within tmp buffer */ in LZ4F_compressUpdate()
822 size_t const sizeToCopy = blockSize - cctxPtr->tmpInSize; in LZ4F_compressUpdate()
825 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, srcSize); in LZ4F_compressUpdate()
827 cctxPtr->tmpInSize += srcSize; in LZ4F_compressUpdate()
832 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, sizeToCopy); in LZ4F_compressUpdate()
840 cctxPtr->tmpInSize = 0; in LZ4F_compressUpdate()
886 cctxPtr->tmpInSize = sizeToCopy; in LZ4F_compressUpdate()
[all …]