| /freebsd-13.1/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_compress_internal.h | 634 const BYTE* const pStart = pIn; in ZSTD_count() 637 if (pIn < pInLoopLimit) { in ZSTD_count() 638 { size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZSTD_count() 640 pIn+=sizeof(size_t); pMatch+=sizeof(size_t); in ZSTD_count() 641 while (pIn < pInLoopLimit) { in ZSTD_count() 644 pIn += ZSTD_NbCommonBytes(diff); in ZSTD_count() 645 return (size_t)(pIn - pStart); in ZSTD_count() 647 …if (MEM_64bits() && (pIn<(pInLimit-3)) && (MEM_read32(pMatch) == MEM_read32(pIn))) { pIn+=4; pMatc… in ZSTD_count() 648 if ((pIn<(pInLimit-1)) && (MEM_read16(pMatch) == MEM_read16(pIn))) { pIn+=2; pMatch+=2; } in ZSTD_count() 649 if ((pIn<pInLimit) && (*pMatch == *pIn)) pIn++; in ZSTD_count() [all …]
|
| H A D | zstd_ldm.c | 145 const BYTE* pIn, const BYTE* pAnchor, in ZSTD_ldm_countBackwardsMatch() argument 149 while (pIn > pAnchor && pMatch > pMatchBase && pIn[-1] == pMatch[-1]) { in ZSTD_ldm_countBackwardsMatch() 150 pIn--; in ZSTD_ldm_countBackwardsMatch() 163 const BYTE* pIn, const BYTE* pAnchor, in ZSTD_ldm_countBackwardsMatch_2segments() argument 167 size_t matchLength = ZSTD_ldm_countBackwardsMatch(pIn, pAnchor, pMatch, pMatchBase); in ZSTD_ldm_countBackwardsMatch_2segments() 173 …matchLength += ZSTD_ldm_countBackwardsMatch(pIn - matchLength, pAnchor, pExtDictEnd, pExtDictStart… in ZSTD_ldm_countBackwardsMatch_2segments()
|
| /freebsd-13.1/contrib/sqlite3/ |
| H A D | sqlite3.h | 11679 int nIn, const void *pIn, 11816 int (*xInputA)(void *pIn, void *pData, int *pnData), 11824 int (*xInput)(void *pIn, void *pData, int *pnData), 11825 void *pIn, 11831 int (*xInput)(void *pIn, void *pData, int *pnData), 11832 void *pIn 11836 int (*xInput)(void *pIn, void *pData, int *pnData), 11837 void *pIn, 11852 void *pIn 11860 int (*xInput)(void *pIn, void *pData, int *pnData), [all …]
|
| H A D | sqlite3.c | 31280 p->pIn = pIn; 31378 p->pIn = pIn; 31451 p->pIn = pIn; 33708 if( pIn==0 || pIn[1]+nInt > pIn[0] ){ 33722 assert( pIn[1]<=pIn[0] ); 52289 pIn = pIn ? rowSetEntryMerge(pIn, aBucket[i]) : aBucket[i]; 211290 pRet->in.pIn = pIn; 211353 pIn->nData = pIn->buf.nBuf; 211372 rc = pIn->xInput(pIn->pIn, &pIn->buf.aBuf[pIn->buf.nBuf], &nNew); 211559 while( (pIn->iNext + nRead)<pIn->nData && pIn->aData[pIn->iNext + nRead] ){ [all …]
|
| H A D | shell.c | 4634 sqlite3_value *pIn, in decimal_new() argument 4654 if( sqlite3_value_type(pIn)==SQLITE_NULL ){ in decimal_new() 4659 n = sqlite3_value_bytes(pIn); in decimal_new() 4660 zIn = sqlite3_value_text(pIn); in decimal_new()
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_subr/lz4/ |
| H A D | lz4.c | 361 static unsigned LZ4_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* pInLimit) in LZ4_count() argument 363 const BYTE* const pStart = pIn; in LZ4_count() 365 while (likely(pIn<pInLimit-(STEPSIZE-1))) { in LZ4_count() 366 reg_t const diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn); in LZ4_count() 367 if (!diff) { pIn+=STEPSIZE; pMatch+=STEPSIZE; continue; } in LZ4_count() 368 pIn += LZ4_NbCommonBytes(diff); in LZ4_count() 369 return (unsigned)(pIn - pStart); in LZ4_count() 372 …if ((STEPSIZE==8) && (pIn<(pInLimit-3)) && (LZ4_read32(pMatch) == LZ4_read32(pIn))) { pIn+=4; pMat… in LZ4_count() 373 if ((pIn<(pInLimit-1)) && (LZ4_read16(pMatch) == LZ4_read16(pIn))) { pIn+=2; pMatch+=2; } in LZ4_count() 374 if ((pIn<pInLimit) && (*pMatch == *pIn)) pIn++; in LZ4_count() [all …]
|
| /freebsd-13.1/sys/contrib/zstd/lib/dictBuilder/ |
| H A D | zdict.c | 191 static size_t ZDICT_count(const void* pIn, const void* pMatch) in ZDICT_count() argument 193 const char* const pStart = (const char*)pIn; in ZDICT_count() 195 size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZDICT_count() 197 pIn = (const char*)pIn+sizeof(size_t); in ZDICT_count() 201 pIn = (const char*)pIn+ZDICT_NbCommonBytes(diff); in ZDICT_count() 202 return (size_t)((const char*)pIn - pStart); in ZDICT_count()
|
| /freebsd-13.1/contrib/sqlite3/tea/generic/ |
| H A D | tclsqlite3.c | 978 sqlite3_value *pIn = argv[i]; in tclSqlFunc() local 982 switch( sqlite3_value_type(pIn) ){ in tclSqlFunc() 984 int bytes = sqlite3_value_bytes(pIn); in tclSqlFunc() 985 pVal = Tcl_NewByteArrayObj(sqlite3_value_blob(pIn), bytes); in tclSqlFunc() 989 sqlite_int64 v = sqlite3_value_int64(pIn); in tclSqlFunc() 998 double r = sqlite3_value_double(pIn); in tclSqlFunc() 1007 int bytes = sqlite3_value_bytes(pIn); in tclSqlFunc() 1008 pVal = Tcl_NewStringObj((char *)sqlite3_value_text(pIn), bytes); in tclSqlFunc()
|
| /freebsd-13.1/sys/contrib/openzfs/module/zstd/lib/ |
| H A D | zstd.c | 10472 const BYTE* const pStart = pIn; in ZSTD_count() 10475 if (pIn < pInLoopLimit) { in ZSTD_count() 10479 while (pIn < pInLoopLimit) { in ZSTD_count() 10482 pIn += ZSTD_NbCommonBytes(diff); in ZSTD_count() 10483 return (size_t)(pIn - pStart); in ZSTD_count() 10485 …if (MEM_64bits() && (pIn<(pInLimit-3)) && (MEM_read32(pMatch) == MEM_read32(pIn))) { pIn+=4; pMatc… in ZSTD_count() 10486 if ((pIn<(pInLimit-1)) && (MEM_read16(pMatch) == MEM_read16(pIn))) { pIn+=2; pMatch+=2; } in ZSTD_count() 10487 if ((pIn<pInLimit) && (*pMatch == *pIn)) pIn++; in ZSTD_count() 10488 return (size_t)(pIn - pStart); in ZSTD_count() 19679 while (pIn > pAnchor && pMatch > pBase && pIn[-1] == pMatch[-1]) { in ZSTD_ldm_countBackwardsMatch() [all …]
|