| /src/external/bsd/zstd/dist/lib/compress/ |
| zstd_fast.c | 164 const BYTE* const ilimit = iend - HASH_READ_SIZE; local 214 if (ip3 >= ilimit) { 332 } while (ip3 < ilimit); 388 if (ip0 <= ilimit) { 395 while ( (ip0 <= ilimit) && (MEM_read32(ip0) == MEM_read32(ip0 - rep_offset2)) ) { 482 const BYTE* const ilimit = iend - HASH_READ_SIZE; local 524 while (ip1 <= ilimit) { /* repcode check at (ip0 + 1) is safe because ip0 < ip1 */ 610 if (ip1 > ilimit) goto _cleanup; 621 if (ip0 <= ilimit) { 628 while (ip0 <= ilimit) { 714 const BYTE* const ilimit = iend - 8; local [all...] |
| zstd_ldm.c | 347 BYTE const* const ilimit = iend - HASH_READ_SIZE; local 366 while (ip < ilimit) { 371 hashed = ZSTD_ldm_gear_feed(&hashState, ip, ilimit - ip,
|
| zstd_double_fast.c | 122 const BYTE* const ilimit = iend - HASH_READ_SIZE; local 167 if (ip1 > ilimit) { 229 } while (ip1 <= ilimit); 285 if (ip <= ilimit) { 287 /* done after iLimit test, as candidates could be > iend-8 */ 296 while ( (ip <= ilimit) 335 const BYTE* const ilimit = iend - HASH_READ_SIZE; local 372 while (ip < ilimit) { /* < instead of <=, because repcode check at (ip+1) */ 499 if (ip <= ilimit) { 501 /* done after iLimit test, as candidates could be > iend-8 * 616 const BYTE* const ilimit = iend - 8; local [all...] |
| 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) 1087 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...] |