Lines Matching refs:iend
21 const BYTE* ip, const BYTE* iend,
39 assert(ip + 8 <= iend); /* condition for ZSTD_hashPtr */
40 (void)iend;
44 size_t const h = ZSTD_hashPtr(base + idx, hashLog, mls); /* assumption : ip + 8 <= iend */
78 const BYTE* const iend = (curr>=dictLimit) ? inputEnd : dictBase + dictLimit;
94 assert(ip < iend); /* condition for ZSTD_count */
113 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend);
116 matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart);
124 if (ip+matchLength == iend) { /* equal : no way to know if inf or sup */
155 const BYTE* const ip, const BYTE* const iend,
192 matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart);
203 if (ip+matchLength == iend) { /* reached end of input : ip[matchLength] is not valid, no way to know if it's larger or smaller than match */
232 const BYTE* const ip, const BYTE* const iend,
260 assert(ip <= iend-8); /* required for h calculation */
291 ZSTD_insertDUBT1(ms, matchIndex, iend,
319 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend);
322 matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart);
332 if (ip+matchLength == iend) { /* equal : no way to know if inf or sup */
363 ms, ip, iend,
1389 return ZSTD_BT_SEARCH_FN(dictMode, mls)(ms, ip, iend, offsetPtr);
1392 return ZSTD_HC_SEARCH_FN(dictMode, mls)(ms, ip, iend, offsetPtr);
1395 return ZSTD_ROW_SEARCH_FN(dictMode, mls, rowLog)(ms, ip, iend, offsetPtr);
1438 * @param iend The end of the input data.
1451 const BYTE* iend,
1486 const BYTE* const iend = istart + srcSize;
1487 const BYTE* const ilimit = (searchMethod == search_rowHash) ? iend - 8 - ZSTD_ROW_HASH_CACHE_SIZE : iend - 8;
1553 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend;
1554 matchLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4;
1560 matchLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4;
1566 size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offsetFound, mls, rowLog, searchMethod, dictMode);
1583 size_t const mlRep = ZSTD_count(ip+4, ip+4-offset_1, iend) + 4;
1596 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend;
1597 size_t const mlRep = ZSTD_count_2segments(ip+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4;
1605 size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offset2, mls, rowLog, searchMethod, dictMode);
1619 size_t const mlRep = ZSTD_count(ip+4, ip+4-offset_1, iend) + 4;
1632 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend;
1633 size_t const mlRep = ZSTD_count_2segments(ip+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4;
1641 size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offset2, mls, rowLog, searchMethod, dictMode);
1673 ZSTD_storeSeq(seqStore, litLength, anchor, iend, (U32)offcode, matchLength);
1687 const BYTE* const repEnd2 = repIndex < prefixLowestIndex ? dictEnd : iend;
1688 matchLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd2, prefixLowest) + 4;
1690 ZSTD_storeSeq(seqStore, 0, anchor, iend, STORE_REPCODE_1, matchLength);
1703 matchLength = ZSTD_count(ip+4, ip+4-offset_2, iend) + 4;
1705 ZSTD_storeSeq(seqStore, 0, anchor, iend, STORE_REPCODE_1, matchLength);
1716 return (size_t)(iend - anchor);
1873 const BYTE* const iend = istart + srcSize;
1874 const BYTE* const ilimit = searchMethod == search_rowHash ? iend - 8 - ZSTD_ROW_HASH_CACHE_SIZE : iend - 8;
1919 const BYTE* const repEnd = repIndex < dictLimit ? dictEnd : iend;
1920 matchLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repEnd, prefixStart) + 4;
1926 size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offsetFound, mls, rowLog, searchMethod, ZSTD_extDict);
1951 const BYTE* const repEnd = repIndex < dictLimit ? dictEnd : iend;
1952 size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4;
1961 size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offset2, mls, rowLog, searchMethod, ZSTD_extDict);
1983 const BYTE* const repEnd = repIndex < dictLimit ? dictEnd : iend;
1984 size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4;
1993 size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offset2, mls, rowLog, searchMethod, ZSTD_extDict);
2015 ZSTD_storeSeq(seqStore, litLength, anchor, iend, (U32)offcode, matchLength);
2030 const BYTE* const repEnd = repIndex < dictLimit ? dictEnd : iend;
2031 matchLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4;
2033 ZSTD_storeSeq(seqStore, 0, anchor, iend, STORE_REPCODE_1, matchLength);
2046 return (size_t)(iend - anchor);