| /src/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_lazy.c | 383 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_BtFindBestMatch() argument 390 ZSTD_updateDUBT(ms, ip, iLimit, mls); in ZSTD_BtFindBestMatch() 391 return ZSTD_DUBT_findBestMatch(ms, ip, iLimit, offsetPtr, mls, dictMode); in ZSTD_BtFindBestMatch() 518 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_dedicatedDictSearch_lazy_search() argument 558 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_dedicatedDictSearch_lazy_search() 565 if (ip+currentMl == iLimit) { in ZSTD_dedicatedDictSearch_lazy_search() 595 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_dedicatedDictSearch_lazy_search() 602 … if (ip+currentMl == iLimit) break; /* best possible, avoids read overflow on next attempt */ in ZSTD_dedicatedDictSearch_lazy_search() 650 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_HcFindBestMatch() argument 695 currentMl = ZSTD_count(ip, match, iLimit); in ZSTD_HcFindBestMatch() [all …]
|
| H A D | zstd_opt.c | 560 const BYTE* const ip, const BYTE* const iLimit, const ZSTD_dictMode_e dictMode, in ZSTD_insertBtAndGetAllMatches() argument 623 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches() 634 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches() 640 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + … in ZSTD_insertBtAndGetAllMatches() 651 | (ip+repLen == iLimit) ) { /* best possible */ in ZSTD_insertBtAndGetAllMatches() 663 mlen = ZSTD_count(ip, match, iLimit); in ZSTD_insertBtAndGetAllMatches() 666 mlen = ZSTD_count_2segments(ip, match, iLimit, dictEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches() 680 (ip+mlen == iLimit) ) { /* best possible length */ in ZSTD_insertBtAndGetAllMatches() 699 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iLimit); in ZSTD_insertBtAndGetAllMatches() 703 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iLimit, dictEnd, prefixStar… in ZSTD_insertBtAndGetAllMatches() [all …]
|
| /src/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_lazy.c | 397 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_BtFindBestMatch() argument 404 ZSTD_updateDUBT(ms, ip, iLimit, mls); in ZSTD_BtFindBestMatch() 405 return ZSTD_DUBT_findBestMatch(ms, ip, iLimit, offBasePtr, mls, dictMode); in ZSTD_BtFindBestMatch() 532 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_dedicatedDictSearch_lazy_search() argument 572 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_dedicatedDictSearch_lazy_search() 579 if (ip+currentMl == iLimit) { in ZSTD_dedicatedDictSearch_lazy_search() 609 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_dedicatedDictSearch_lazy_search() 616 … if (ip+currentMl == iLimit) break; /* best possible, avoids read overflow on next attempt */ in ZSTD_dedicatedDictSearch_lazy_search() 670 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_HcFindBestMatch() argument 716 currentMl = ZSTD_count(ip, match, iLimit); in ZSTD_HcFindBestMatch() [all …]
|
| H A D | zstd_opt.c | 595 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_insertBtAndGetAllMatches() argument 659 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches() 670 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches() 676 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + … in ZSTD_insertBtAndGetAllMatches() 687 | (ip+repLen == iLimit) ) { /* best possible */ in ZSTD_insertBtAndGetAllMatches() 699 mlen = ZSTD_count(ip, match, iLimit); in ZSTD_insertBtAndGetAllMatches() 702 mlen = ZSTD_count_2segments(ip, match, iLimit, dictEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches() 716 (ip+mlen == iLimit) ) { /* best possible length */ in ZSTD_insertBtAndGetAllMatches() 735 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iLimit); in ZSTD_insertBtAndGetAllMatches() 739 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iLimit, dictEnd, prefixStar… in ZSTD_insertBtAndGetAllMatches() [all …]
|
| /src/contrib/sqlite3/ |
| H A D | sqlite3.h | 9319 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit); 9340 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit);
|
| H A D | sqlite3.c | 9638 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit); 9659 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit); 19961 int iLimit, iOffset; /* Memory registers holding LIMIT & OFFSET counters */ member 44865 int iLimit = 0; in unixGetTempname() local 44887 if( zBuf[nBuf-2]!=0 || (iLimit++)>10 ){ in unixGetTempname() 54287 sqlite3_int64 iLimit = *(sqlite3_int64*)pArg; local 54288 if( iLimit<p->sz ){ 54289 if( iLimit<0 ){ 54290 iLimit = p->szMax; 54292 iLimit = p->sz; [all …]
|
| H A D | shell.c | 6607 sqlite3_int64 iLimit = 0; in seriesFilter() local 6651 iLimit = sqlite3_value_int64(argv[i++]); in seriesFilter() 6746 if( iLimit>=0 ){ in seriesFilter() 6748 iTerm = pCur->ss.iBase + (iLimit - 1)*pCur->ss.iStep; in seriesFilter() 30112 int iLimit = -1; in do_meta_command() local 30116 if( iLimit<0 ){ in do_meta_command() 30117 iLimit = i; in do_meta_command() 30125 if( iLimit<0 ){ in do_meta_command() 30133 sqlite3_limit(p->db, aLimit[iLimit].limitCode, in do_meta_command() 30136 sqlite3_fprintf(stdout, "%20s %d\n", aLimit[iLimit].zLimitName, in do_meta_command() [all …]
|