Lines Matching refs:srcEnd
525 const BYTE* const srcEnd = srcPtr + srcSize;
547 srcPtr = srcEnd;
565 while ((size_t)(srcEnd - srcPtr) >= blockSize)
573 if ((cctxPtr->prefs.autoFlush) && (srcPtr < srcEnd))
577 dstPtr += LZ4F_compressBlock(dstPtr, srcPtr, srcEnd - srcPtr, compress, cctxPtr->lz4CtxPtr, cctxPtr->prefs.compressionLevel);
578 srcPtr = srcEnd;
605 if (srcPtr < srcEnd)
608 size_t sizeToCopy = srcEnd - srcPtr;
957 const BYTE* const srcEnd = srcStart + *srcSizePtr;
987 if (srcEnd-srcPtr >= 7)
1002 if (sizeToCopy > (size_t)(srcEnd - srcPtr)) sizeToCopy = srcEnd - srcPtr;
1027 if ((srcEnd - srcPtr) >= 4)
1043 if (sizeToCopy > (size_t)(srcEnd - srcPtr)) sizeToCopy = srcEnd - srcPtr;
1085 if ((size_t)(srcEnd-srcPtr) < sizeToCopy) sizeToCopy = srcEnd - srcPtr; /* not enough input to read full block */
1109 if ((size_t)(srcEnd-srcPtr) < dctxPtr->tmpInTarget)
1124 if (sizeToCopy > (size_t)(srcEnd-srcPtr)) sizeToCopy = srcEnd-srcPtr;
1246 if ((srcEnd - srcPtr) >= 4) /* CRC present */
1261 if (sizeToCopy > (size_t)(srcEnd - srcPtr)) sizeToCopy = srcEnd - srcPtr;
1323 if (srcPtr<srcEnd) /* function must be called again with following source data */