Lines Matching refs:srcEnd
567 const BYTE* const srcEnd = srcPtr + srcSize; in LZ4F_compressUpdate() local
585 srcPtr = srcEnd; in LZ4F_compressUpdate()
601 while ((size_t)(srcEnd - srcPtr) >= blockSize) { in LZ4F_compressUpdate()
608 if ((cctxPtr->prefs.autoFlush) && (srcPtr < srcEnd)) { in LZ4F_compressUpdate()
611 …dstPtr += LZ4F_compressBlock(dstPtr, srcPtr, srcEnd - srcPtr, compress, cctxPtr->lz4CtxPtr, cctxPt… in LZ4F_compressUpdate()
612 srcPtr = srcEnd; in LZ4F_compressUpdate()
635 if (srcPtr < srcEnd) { in LZ4F_compressUpdate()
637 size_t const sizeToCopy = srcEnd - srcPtr; in LZ4F_compressUpdate()
1051 const BYTE* const srcEnd = srcStart + *srcSizePtr; in LZ4F_decompress() local
1074 if ((size_t)(srcEnd-srcPtr) >= maxFHSize) { /* enough to decode - shortcut */ in LZ4F_decompress()
1075 LZ4F_errorCode_t const hSize = LZ4F_decodeHeader(dctxPtr, srcPtr, srcEnd-srcPtr); in LZ4F_decompress()
1087 if (sizeToCopy > (size_t)(srcEnd - srcPtr)) sizeToCopy = srcEnd - srcPtr; in LZ4F_decompress()
1103 if ((size_t)(srcEnd - srcPtr) >= BHSize) { in LZ4F_decompress()
1115 if (sizeToCopy > (size_t)(srcEnd - srcPtr)) sizeToCopy = srcEnd - srcPtr; in LZ4F_decompress()
1149 …if ((size_t)(srcEnd-srcPtr) < sizeToCopy) sizeToCopy = srcEnd - srcPtr; /* not enough input to re… in LZ4F_decompress()
1172 if ((size_t)(srcEnd-srcPtr) < dctxPtr->tmpInTarget) { in LZ4F_decompress()
1184 if (sizeToCopy > (size_t)(srcEnd-srcPtr)) sizeToCopy = srcEnd-srcPtr; in LZ4F_decompress()
1295 if ((srcEnd - srcPtr) < 4) { /* not enough size for entire CRC */ in LZ4F_decompress()
1308 if (sizeToCopy > (size_t)(srcEnd - srcPtr)) sizeToCopy = srcEnd - srcPtr; in LZ4F_decompress()
1331 if ((srcEnd - srcPtr) >= 4) { in LZ4F_decompress()
1345 if (sizeToCopy > (size_t)(srcEnd - srcPtr)) sizeToCopy = srcEnd - srcPtr; in LZ4F_decompress()
1367 if (skipSize > (size_t)(srcEnd-srcPtr)) skipSize = srcEnd-srcPtr; in LZ4F_decompress()