Lines Matching refs:srcEnd
833 const BYTE* const srcEnd = srcPtr + srcSize; in LZ4F_compressUpdate() local
853 srcPtr = srcEnd; in LZ4F_compressUpdate()
873 while ((size_t)(srcEnd - srcPtr) >= blockSize) { in LZ4F_compressUpdate()
884 if ((cctxPtr->prefs.autoFlush) && (srcPtr < srcEnd)) { in LZ4F_compressUpdate()
888 srcPtr, (size_t)(srcEnd - srcPtr), in LZ4F_compressUpdate()
892 srcPtr = srcEnd; in LZ4F_compressUpdate()
915 if (srcPtr < srcEnd) { in LZ4F_compressUpdate()
917 size_t const sizeToCopy = (size_t)(srcEnd - srcPtr); in LZ4F_compressUpdate()
1391 const BYTE* const srcEnd = srcStart + *srcSizePtr; in LZ4F_decompress() local
1419 if ((size_t)(srcEnd-srcPtr) >= maxFHSize) { /* enough to decode - shortcut */ in LZ4F_decompress()
1420 …size_t const hSize = LZ4F_decodeHeader(dctx, srcPtr, (size_t)(srcEnd-srcPtr)); /* will update dSt… in LZ4F_decompress()
1426 if (srcEnd-srcPtr == 0) return minFHSize; /* 0-size input */ in LZ4F_decompress()
1433 … { size_t const sizeToCopy = MIN(dctx->tmpInTarget - dctx->tmpInSize, (size_t)(srcEnd - srcPtr)); in LZ4F_decompress()
1476 if ((size_t)(srcEnd - srcPtr) >= BHSize) { in LZ4F_decompress()
1487 { size_t const remainingInput = (size_t)(srcEnd - srcPtr); in LZ4F_decompress()
1527 if (dstPtr==dstEnd || srcPtr==srcEnd) { in LZ4F_decompress()
1540 … size_t const minBuffSize = MIN((size_t)(srcEnd-srcPtr), (size_t)(dstEnd-dstPtr)); in LZ4F_decompress()
1578 if ((srcEnd-srcPtr >= 4) && (dctx->tmpInSize==0)) { in LZ4F_decompress()
1583 size_t const sizeToCopy = MIN(stillToCopy, (size_t)(srcEnd-srcPtr)); in LZ4F_decompress()
1612 if ((size_t)(srcEnd-srcPtr) < dctx->tmpInTarget) { in LZ4F_decompress()
1624 size_t const inputLeft = (size_t)(srcEnd-srcPtr); in LZ4F_decompress()
1755 if ((srcEnd - srcPtr) < 4) { /* not enough size for entire CRC */ in LZ4F_decompress()
1765 { size_t const remainingInput = (size_t)(srcEnd - srcPtr); in LZ4F_decompress()
1796 if ((srcEnd - srcPtr) >= 4) { in LZ4F_decompress()
1809 (size_t)(srcEnd - srcPtr) ); in LZ4F_decompress()
1831 { size_t const skipSize = MIN(dctx->tmpInTarget, (size_t)(srcEnd-srcPtr)); in LZ4F_decompress()