| /src/external/bsd/zstd/dist/lib/compress/ |
| zstd_fast.c | 207 const BYTE* const ilimit = iend - HASH_READ_SIZE; local 257 if (ip3 >= ilimit) { 348 } while (ip3 < ilimit); 404 if (ip0 <= ilimit) { 411 while ( (ip0 <= ilimit) && (MEM_read32(ip0) == MEM_read32(ip0 - rep_offset2)) ) { 500 const BYTE* const ilimit = iend - HASH_READ_SIZE; local 542 while (ip1 <= ilimit) { /* repcode check at (ip0 + 1) is safe because ip0 < ip1 */ 627 if (ip1 > ilimit) goto _cleanup; 638 if (ip0 <= ilimit) { 645 while (ip0 <= ilimit) { 731 const BYTE* const ilimit = iend - 8; local [all...] |
| zstd_double_fast.c | 122 const BYTE* const ilimit = iend - HASH_READ_SIZE; local 172 if (ip1 > ilimit) { 239 } while (ip1 <= ilimit); 297 if (ip <= ilimit) { 299 /* done after iLimit test, as candidates could be > iend-8 */ 308 while ( (ip <= ilimit) 347 const BYTE* const ilimit = iend - HASH_READ_SIZE; local 384 while (ip < ilimit) { /* < instead of <=, because repcode check at (ip+1) */ 507 if (ip <= ilimit) { 509 /* done after iLimit test, as candidates could be > iend-8 * 624 const BYTE* const ilimit = iend - 8; local [all...] |
| zstd_lazy.c | 396 const BYTE* const ip, const BYTE* const iLimit, 403 ZSTD_updateDUBT(ms, ip, iLimit, mls); 404 return ZSTD_DUBT_findBestMatch(ms, ip, iLimit, offBasePtr, mls, dictMode); 531 const BYTE* const ip, const BYTE* const iLimit, 571 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; 578 if (ip+currentMl == iLimit) { 608 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; 615 if (ip+currentMl == iLimit) break; /* best possible, avoids read overflow on next attempt */ 669 const BYTE* const ip, const BYTE* const iLimit, 715 currentMl = ZSTD_count(ip, match, iLimit); 1527 const BYTE* const ilimit = (searchMethod == search_rowHash) ? iend - 8 - ZSTD_ROW_HASH_CACHE_SIZE : iend - 8; local 1947 const BYTE* const ilimit = searchMethod == search_rowHash ? iend - 8 - ZSTD_ROW_HASH_CACHE_SIZE : iend - 8; local [all...] |
| zstd_ldm.c | 362 BYTE const* const ilimit = iend - HASH_READ_SIZE; local 381 while (ip < ilimit) { 386 hashed = ZSTD_ldm_gear_feed(&hashState, ip, ilimit - ip,
|
| zstd_opt.c | 594 const BYTE* const ip, const BYTE* const iLimit, 658 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; 669 repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) + minMatch; 675 repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + minMatch; 686 | (ip+repLen == iLimit) ) { /* best possible */ 698 mlen = ZSTD_count(ip, match, iLimit); 701 mlen = ZSTD_count_2segments(ip, match, iLimit, dictEnd, prefixStart); 715 (ip+mlen == iLimit) ) { /* best possible length */ 734 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iLimit); 738 matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iLimit, dictEnd, prefixStart) 1089 const BYTE* const ilimit = iend - 8; local [all...] |