/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_lazy.c | 381 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_BtFindBestMatch() argument 388 ZSTD_updateDUBT(ms, ip, iLimit, mls); in ZSTD_BtFindBestMatch() 389 return ZSTD_DUBT_findBestMatch(ms, ip, iLimit, offsetPtr, mls, dictMode); in ZSTD_BtFindBestMatch() 395 const BYTE* ip, const BYTE* const iLimit, in ZSTD_BtFindBestMatch_selectMLS() argument 401 case 4 : return ZSTD_BtFindBestMatch(ms, ip, iLimit, offsetPtr, 4, ZSTD_noDict); in ZSTD_BtFindBestMatch_selectMLS() 402 case 5 : return ZSTD_BtFindBestMatch(ms, ip, iLimit, offsetPtr, 5, ZSTD_noDict); in ZSTD_BtFindBestMatch_selectMLS() 404 case 6 : return ZSTD_BtFindBestMatch(ms, ip, iLimit, offsetPtr, 6, ZSTD_noDict); in ZSTD_BtFindBestMatch_selectMLS() 411 const BYTE* ip, const BYTE* const iLimit, in ZSTD_BtFindBestMatch_dictMatchState_selectMLS() argument 417 case 4 : return ZSTD_BtFindBestMatch(ms, ip, iLimit, offsetPtr, 4, ZSTD_dictMatchState); in ZSTD_BtFindBestMatch_dictMatchState_selectMLS() 418 case 5 : return ZSTD_BtFindBestMatch(ms, ip, iLimit, offsetPtr, 5, ZSTD_dictMatchState); in ZSTD_BtFindBestMatch_dictMatchState_selectMLS() [all …]
|
H A D | zstd_opt.c | 513 const BYTE* const ip, const BYTE* const iLimit, const ZSTD_dictMode_e dictMode, in ZSTD_insertBtAndGetAllMatches() argument 576 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches() 587 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches() 593 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + … in ZSTD_insertBtAndGetAllMatches() 604 | (ip+repLen == iLimit) ) { /* best possible */ in ZSTD_insertBtAndGetAllMatches() 616 mlen = ZSTD_count(ip, match, iLimit); in ZSTD_insertBtAndGetAllMatches() 619 mlen = ZSTD_count_2segments(ip, match, iLimit, dictEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches() 633 (ip+mlen == iLimit) ) { /* best possible length */ in ZSTD_insertBtAndGetAllMatches() 652 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iLimit); in ZSTD_insertBtAndGetAllMatches() 656 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iLimit, dictEnd, prefixStar… in ZSTD_insertBtAndGetAllMatches() [all …]
|
/freebsd/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 …]
|
/freebsd/contrib/sqlite3/ |
H A D | sqlite3.h | 9105 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit); 9126 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit);
|
H A D | sqlite3.c | 9418 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit); 9439 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit); 19504 int iLimit, iOffset; /* Memory registers holding LIMIT & OFFSET counters */ member 44386 int iLimit = 0; 44408 if( zBuf[nBuf-2]!=0 || (iLimit++)>10 ){ 53338 sqlite3_int64 iLimit = *(sqlite3_int64*)pArg; 53339 if( iLimit<p->sz ){ 53340 if( iLimit<0 ){ 53341 iLimit = p->szMax; 53343 iLimit = p->sz; [all …]
|
H A D | shell.c | 6043 sqlite3_int64 iLimit = sqlite3_value_int64(argv[i++]); in seriesFilter() local 6051 if( iLimit>=0 ){ in seriesFilter() 6052 iTerm = pCur->ss.iBase + (iLimit - 1)*pCur->ss.iStep; in seriesFilter() 27380 int iLimit = -1; in do_meta_command() local 27384 if( iLimit<0 ){ in do_meta_command() 27385 iLimit = i; in do_meta_command() 27393 if( iLimit<0 ){ in do_meta_command() 27401 sqlite3_limit(p->db, aLimit[iLimit].limitCode, in do_meta_command() 27404 sputf(stdout, "%20s %d\n", aLimit[iLimit].zLimitName, in do_meta_command() 27405 sqlite3_limit(p->db, aLimit[iLimit].limitCode, -1)); in do_meta_command()
|