Lines Matching refs:srcEnd
568 const BYTE* const srcEnd = srcPtr + srcSize;
591 srcPtr = srcEnd;
609 while ((size_t)(srcEnd - srcPtr) >= blockSize)
617 if ((cctxPtr->prefs.autoFlush) && (srcPtr < srcEnd))
621 dstPtr += LZ4F_compressBlock(dstPtr, srcPtr, srcEnd - srcPtr, compress, cctxPtr->lz4CtxPtr, cctxPtr->prefs.compressionLevel);
622 srcPtr = srcEnd;
649 if (srcPtr < srcEnd)
652 size_t sizeToCopy = srcEnd - srcPtr;
1052 const BYTE* const srcEnd = srcStart + *srcSizePtr;
1083 if ((size_t)(srcEnd-srcPtr) >= maxFHSize) /* enough to decode - shortcut */
1085 LZ4F_errorCode_t errorCode = LZ4F_decodeHeader(dctxPtr, srcPtr, srcEnd-srcPtr);
1098 if (sizeToCopy > (size_t)(srcEnd - srcPtr)) sizeToCopy = srcEnd - srcPtr;
1117 if ((size_t)(srcEnd - srcPtr) >= BHSize)
1134 if (sizeToCopy > (size_t)(srcEnd - srcPtr)) sizeToCopy = srcEnd - srcPtr;
1174 if ((size_t)(srcEnd-srcPtr) < sizeToCopy) sizeToCopy = srcEnd - srcPtr; /* not enough input to read full block */
1199 if ((size_t)(srcEnd-srcPtr) < dctxPtr->tmpInTarget)
1214 if (sizeToCopy > (size_t)(srcEnd-srcPtr)) sizeToCopy = srcEnd-srcPtr;
1339 if ((srcEnd - srcPtr) < 4) /* not enough size for entire CRC */
1355 if (sizeToCopy > (size_t)(srcEnd - srcPtr)) sizeToCopy = srcEnd - srcPtr;
1381 if ((srcEnd - srcPtr) >= 4)
1399 if (sizeToCopy > (size_t)(srcEnd - srcPtr)) sizeToCopy = srcEnd - srcPtr;
1424 if (skipSize > (size_t)(srcEnd-srcPtr)) skipSize = srcEnd-srcPtr;
1471 if (srcPtr<srcEnd)