Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4frame.c273 size_t tmpInSize; /* amount of data to compress after tmpIn */ member
740 cctxPtr->tmpInSize = 0; in LZ4F_compressBegin_usingCDict()
947 if (dstCapacity < LZ4F_compressBound_internal(srcSize, &(cctxPtr->prefs), cctxPtr->tmpInSize)) in LZ4F_compressUpdateImpl()
963 if (cctxPtr->tmpInSize > 0) { /* some data already within tmp buffer */ in LZ4F_compressUpdateImpl()
964 size_t const sizeToCopy = blockSize - cctxPtr->tmpInSize; in LZ4F_compressUpdateImpl()
965 assert(blockSize > cctxPtr->tmpInSize); in LZ4F_compressUpdateImpl()
968 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, srcSize); in LZ4F_compressUpdateImpl()
970 cctxPtr->tmpInSize += srcSize; in LZ4F_compressUpdateImpl()
975 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, sizeToCopy); in LZ4F_compressUpdateImpl()
984 cctxPtr->tmpInSize = 0; in LZ4F_compressUpdateImpl()
[all …]