Lines Matching refs:tmpInSize

124     size_t tmpInSize;  member
139 size_t tmpInSize; member
406 cctxPtr->tmpInSize = 0; in LZ4F_compressBegin()
540 if (cctxPtr->tmpInSize > 0) /* some data already within tmp buffer */ in LZ4F_compressUpdate()
542 size_t sizeToCopy = blockSize - cctxPtr->tmpInSize; in LZ4F_compressUpdate()
546 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, srcSize); in LZ4F_compressUpdate()
548 cctxPtr->tmpInSize += srcSize; in LZ4F_compressUpdate()
555 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, sizeToCopy); in LZ4F_compressUpdate()
561 cctxPtr->tmpInSize = 0; in LZ4F_compressUpdate()
610 cctxPtr->tmpInSize = sizeToCopy; in LZ4F_compressUpdate()
637 if (cctxPtr->tmpInSize == 0) return 0; /* nothing to flush */ in LZ4F_flush()
639 if (dstMaxSize < (cctxPtr->tmpInSize + 16)) return (size_t)-ERROR_dstMaxSize_tooSmall; in LZ4F_flush()
647 …dstPtr += LZ4F_compressBlock(dstPtr, cctxPtr->tmpIn, cctxPtr->tmpInSize, compress, cctxPtr->lz4Ctx… in LZ4F_flush()
648 if (cctxPtr->prefs.frameInfo.blockMode==blockLinked) cctxPtr->tmpIn += cctxPtr->tmpInSize; in LZ4F_flush()
649 cctxPtr->tmpInSize = 0; in LZ4F_flush()
794 dctxPtr->tmpInSize = 0; in LZ4F_decodeHeader()
994 dctxPtr->tmpInSize = 0; in LZ4F_decompress()
1001 size_t sizeToCopy = 7 - dctxPtr->tmpInSize; in LZ4F_decompress()
1003 memcpy(dctxPtr->header + dctxPtr->tmpInSize, srcPtr, sizeToCopy); in LZ4F_decompress()
1004 dctxPtr->tmpInSize += sizeToCopy; in LZ4F_decompress()
1006 if (dctxPtr->tmpInSize < 7) in LZ4F_decompress()
1008 nextSrcSizeHint = (7 - dctxPtr->tmpInSize) + 4; in LZ4F_decompress()
1035 dctxPtr->tmpInSize = 0; in LZ4F_decompress()
1042 size_t sizeToCopy = 4 - dctxPtr->tmpInSize; in LZ4F_decompress()
1044 memcpy(dctxPtr->tmpIn + dctxPtr->tmpInSize, srcPtr, sizeToCopy); in LZ4F_decompress()
1046 dctxPtr->tmpInSize += sizeToCopy; in LZ4F_decompress()
1047 … if (dctxPtr->tmpInSize < 4) /* not enough input to get full cBlockSize; wait for more */ in LZ4F_decompress()
1049 nextSrcSizeHint = 4 - dctxPtr->tmpInSize; in LZ4F_decompress()
1111 dctxPtr->tmpInSize = 0; in LZ4F_decompress()
1123 size_t sizeToCopy = dctxPtr->tmpInTarget - dctxPtr->tmpInSize; in LZ4F_decompress()
1125 memcpy(dctxPtr->tmpIn + dctxPtr->tmpInSize, srcPtr, sizeToCopy); in LZ4F_decompress()
1126 dctxPtr->tmpInSize += sizeToCopy; in LZ4F_decompress()
1128 if (dctxPtr->tmpInSize < dctxPtr->tmpInTarget) /* need more input */ in LZ4F_decompress()
1130 nextSrcSizeHint = (dctxPtr->tmpInTarget - dctxPtr->tmpInSize) + 4; in LZ4F_decompress()
1253 dctxPtr->tmpInSize = 0; in LZ4F_decompress()
1260 size_t sizeToCopy = 4 - dctxPtr->tmpInSize; in LZ4F_decompress()
1262 memcpy(dctxPtr->tmpIn + dctxPtr->tmpInSize, srcPtr, sizeToCopy); in LZ4F_decompress()
1264 dctxPtr->tmpInSize += sizeToCopy; in LZ4F_decompress()
1265 if (dctxPtr->tmpInSize < 4) /* not enough input to read complete suffix */ in LZ4F_decompress()
1267 nextSrcSizeHint = 4 - dctxPtr->tmpInSize; in LZ4F_decompress()