Lines Matching refs:iend
2760 void const* iend) in ZSTD_overflowCorrectIfNeeded() argument
2762 if (ZSTD_window_needOverflowCorrection(ms->window, iend)) { in ZSTD_overflowCorrectIfNeeded()
3057 const BYTE* const iend = ip + srcSize; in ZSTD_loadDictionaryContent() local
3060 ms->loadedDictEnd = params->forceWindow ? 0 : (U32)(iend - ms->window.base); in ZSTD_loadDictionaryContent()
3064 ls->loadedDictEnd = params->forceWindow ? 0 : (U32)(iend - ls->window.base); in ZSTD_loadDictionaryContent()
3072 while (iend - ip > HASH_READ_SIZE) { in ZSTD_loadDictionaryContent()
3073 size_t const remaining = (size_t)(iend - ip); in ZSTD_loadDictionaryContent()
3117 ms->nextToUpdate = (U32)(iend - ms->window.base); in ZSTD_loadDictionaryContent()
4099 const char* const iend = input->size != 0 ? istart + input->size : istart; in ZSTD_compressStream_generic() local
4128 && ( (size_t)(oend-op) >= ZSTD_compressBound(iend-ip) /* Enough output space */ in ZSTD_compressStream_generic()
4133 op, oend-op, ip, iend-ip); in ZSTD_compressStream_generic()
4136 ip = iend; in ZSTD_compressStream_generic()
4147 ip, iend-ip); in ZSTD_compressStream_generic()
4170 : MIN((size_t)(iend - ip), zcs->blockSize); in ZSTD_compressStream_generic()
4176 unsigned const lastBlock = (flushMode == ZSTD_e_end) && (ip==iend); in ZSTD_compressStream_generic()
4194 unsigned const lastBlock = (ip + iSize == iend); in ZSTD_compressStream_generic()
4205 assert(ip == iend); in ZSTD_compressStream_generic()
4484 const BYTE* const iend = ip + blockSize; in ZSTD_copySequencesToSeqStoreExplicitBlockDelim() local
4517 ZSTD_storeSeq(&cctx->seqStore, litLength, ip, iend, offCode, matchLength - MINMATCH); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
4528 … RETURN_ERROR_IF(ip != iend, corruption_detected, "Blocksize doesn't agree with block delimiter!"); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
4552 …BYTE const* iend = ip + blockSize; /* May be adjusted if we decide to process fewer than blockSiz… in ZSTD_copySequencesToSeqStoreNoBlockDelim() local
4643 ZSTD_storeSeq(&cctx->seqStore, litLength, ip, iend, offCode, matchLength - MINMATCH); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4652 iend -= bytesAdjustment; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4653 if (ip != iend) { in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4655 U32 lastLLSize = (U32)(iend - ip); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4656 assert(ip <= iend); in ZSTD_copySequencesToSeqStoreNoBlockDelim()