| /freebsd/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 …]
|
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_lazy.c | 396 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_BtFindBestMatch() argument 403 ZSTD_updateDUBT(ms, ip, iLimit, mls); in ZSTD_BtFindBestMatch() 404 return ZSTD_DUBT_findBestMatch(ms, ip, iLimit, offBasePtr, mls, dictMode); in ZSTD_BtFindBestMatch() 531 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_dedicatedDictSearch_lazy_search() argument 571 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_dedicatedDictSearch_lazy_search() 578 if (ip+currentMl == iLimit) { in ZSTD_dedicatedDictSearch_lazy_search() 608 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_dedicatedDictSearch_lazy_search() 615 … if (ip+currentMl == iLimit) break; /* best possible, avoids read overflow on next attempt */ in ZSTD_dedicatedDictSearch_lazy_search() 669 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_HcFindBestMatch() argument 715 currentMl = ZSTD_count(ip, match, iLimit); in ZSTD_HcFindBestMatch() [all …]
|
| H A D | zstd_opt.c | 594 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_insertBtAndGetAllMatches() argument 658 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches() 669 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches() 675 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + … in ZSTD_insertBtAndGetAllMatches() 686 | (ip+repLen == iLimit) ) { /* best possible */ in ZSTD_insertBtAndGetAllMatches() 698 mlen = ZSTD_count(ip, match, iLimit); in ZSTD_insertBtAndGetAllMatches() 701 mlen = ZSTD_count_2segments(ip, match, iLimit, dictEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches() 715 (ip+mlen == iLimit) ) { /* best possible length */ in ZSTD_insertBtAndGetAllMatches() 734 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iLimit); in ZSTD_insertBtAndGetAllMatches() 738 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iLimit, dictEnd, prefixStar… in ZSTD_insertBtAndGetAllMatches() [all …]
|
| /freebsd/contrib/sqlite3/ |
| H A D | sqlite3.h | 9515 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit); 9536 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit);
|
| H A D | sqlite3.c | 9836 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit); 9857 void (*xTruncate)(sqlite3_pcache*, unsigned iLimit); 20610 int iLimit, iOffset; /* Memory registers holding LIMIT & OFFSET counters */ member 46509 int iLimit = 0; in unixGetTempname() local 46531 if( zBuf[nBuf-2]!=0 || (iLimit++)>10 ){ in unixGetTempname() 55779 sqlite3_int64 iLimit = *(sqlite3_int64*)pArg; local 55780 if( iLimit<p->sz ){ 55781 if( iLimit<0 ){ 55782 iLimit = p->szMax; 55784 iLimit = p->sz; [all …]
|
| H A D | shell.c | 8282 sqlite3_int64 iLimit = 0; /* if >0, the value of the LIMIT */ in seriesFilter() local 8350 iLimit = sqlite3_value_int64(argv[iArg++]); in seriesFilter() 8504 if( iLimit>=0 && seriesSteps(pCur) > (sqlite3_uint64)iLimit ){ in seriesFilter() 8505 pCur->iTerm = add64(pCur->iBase, (iLimit - 1)*pCur->iStep); in seriesFilter() 33581 int iLimit = -1; in do_meta_command() local 33585 if( iLimit<0 ){ in do_meta_command() 33586 iLimit = i; in do_meta_command() 33594 if( iLimit<0 ){ in do_meta_command() 33602 sqlite3_limit(p->db, aLimit[iLimit].limitCode, in do_meta_command() 33605 cli_printf(stdout, "%20s %d\n", aLimit[iLimit].zLimitName, in do_meta_command() [all …]
|