Home
last modified time | relevance | path

Searched refs:pMatch (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/sys/contrib/zstd/lib/compress/
H A Dzstd_ldm.c146 const BYTE* pMatch, const BYTE* pMatchBase) in ZSTD_ldm_countBackwardsMatch() argument
149 while (pIn > pAnchor && pMatch > pMatchBase && pIn[-1] == pMatch[-1]) { in ZSTD_ldm_countBackwardsMatch()
151 pMatch--; in ZSTD_ldm_countBackwardsMatch()
164 const BYTE* pMatch, const BYTE* pMatchBase, in ZSTD_ldm_countBackwardsMatch_2segments() argument
168 if (pMatch - matchLength != pMatchBase || pMatchBase == pExtDictStart) { in ZSTD_ldm_countBackwardsMatch_2segments()
340 BYTE const* const pMatch = curMatchBase + cur->offset; in ZSTD_ldm_generateSequences_internal() local
347 ip, pMatch, iend, in ZSTD_ldm_generateSequences_internal()
354 pMatch, lowMatchPtr, in ZSTD_ldm_generateSequences_internal()
359 BYTE const* const pMatch = base + cur->offset; in ZSTD_ldm_generateSequences_internal() local
360 curForwardMatchLength = ZSTD_count(ip, pMatch, iend); in ZSTD_ldm_generateSequences_internal()
[all …]
H A Dzstd_compress_internal.h632 MEM_STATIC size_t ZSTD_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* const pInLimit) in ZSTD_count() argument
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()
642 size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZSTD_count()
643 if (!diff) { pIn+=sizeof(size_t); pMatch+=sizeof(size_t); continue; } 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()
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/lz4/
H A Dlz4.c361 static unsigned LZ4_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* pInLimit) in LZ4_count() argument
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()
372 …f ((STEPSIZE==8) && (pIn<(pInLimit-3)) && (LZ4_read32(pMatch) == LZ4_read32(pIn))) { pIn+=4; pMatc… 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()
/freebsd-13.1/sys/contrib/zstd/lib/dictBuilder/
H A Dzdict.c191 static size_t ZDICT_count(const void* pIn, const void* pMatch) in ZDICT_count() argument
195 size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZDICT_count()
198 pMatch = (const char*)pMatch+sizeof(size_t); in ZDICT_count()
/freebsd-13.1/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.c10476 { size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZSTD_count()
10478 pIn+=sizeof(size_t); pMatch+=sizeof(size_t); in ZSTD_count()
10480 size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); 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()
19676 const BYTE* pMatch, const BYTE* pBase) in ZSTD_ldm_countBackwardsMatch() argument
19679 while (pIn > pAnchor && pMatch > pBase && pIn[-1] == pMatch[-1]) { in ZSTD_ldm_countBackwardsMatch()
19681 pMatch--; in ZSTD_ldm_countBackwardsMatch()
19856 ip, pMatch, iend, in ZSTD_ldm_generateSequences_internal()
[all …]
/freebsd-13.1/contrib/sqlite3/
H A Dshell.c17403 struct ArSwitch *pMatch = 0; /* Matching option */ in arParseCommand() local
17408 if( pMatch ){ in arParseCommand()
17411 pMatch = pOpt; in arParseCommand()
17416 if( pMatch==0 ){ in arParseCommand()
17419 if( pMatch->bArg ){ in arParseCommand()
17425 if( arProcessSwitch(pAr, pMatch->eSwitch, zArg) ) return SQLITE_ERROR; in arParseCommand()
H A Dsqlite3.c99946 pMatch = pItem;
99949 if( pMatch ){
100021 pMatch = 0;
100072 && pMatch
100132 pMatch = 0;
192311 JsonParse *pMatch = 0;
192323 if( pMatch==0
192328 pMatch = p;
192337 if( pMatch ){
192338 pMatch->nErr = 0;
[all …]