Home
last modified time | relevance | path

Searched refs:ZSTD_count (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/lib/zstd/
Dcompress.c907 static size_t ZSTD_count(const BYTE *pIn, const BYTE *pMatch, const BYTE *const pInLimit) in ZSTD_count() function
943 size_t const matchLength = ZSTD_count(ip, match, vEnd); in ZSTD_count_2segments()
946 return matchLength + ZSTD_count(ip + matchLength, iStart, iEnd); in ZSTD_count_2segments()
1044 mLength = ZSTD_count(ip + 1 + 4, ip + 1 + 4 - offset_1, iend) + 4; in ZSTD_compressBlock_fast_generic()
1053 mLength = ZSTD_count(ip + 4, match + 4, iend) + 4; in ZSTD_compressBlock_fast_generic()
1077 size_t const rLength = ZSTD_count(ip + 4, ip + 4 - offset_2, iend) + 4; in ZSTD_compressBlock_fast_generic()
1295 mLength = ZSTD_count(ip + 1 + 4, ip + 1 + 4 - offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_generic()
1301 mLength = ZSTD_count(ip + 8, matchLong + 8, iend) + 8; in ZSTD_compressBlock_doubleFast_generic()
1314 mLength = ZSTD_count(ip + 9, match3 + 8, iend) + 8; in ZSTD_compressBlock_doubleFast_generic()
1323 mLength = ZSTD_count(ip + 4, match + 4, iend) + 4; in ZSTD_compressBlock_doubleFast_generic()
[all …]
Dzstd_opt.h271 currMl = ZSTD_count(ip, match, iLimit); in ZSTD_insertBtAndGetAllMatches()
303 matchLength += ZSTD_count(ip + matchLength + 1, match + matchLength + 1, iLimit) + 1; in ZSTD_insertBtAndGetAllMatches()
453 mlen = (U32)ZSTD_count(ip + minMatch, ip + minMatch - repCur, iend) + minMatch; in ZSTD_compressBlock_opt_generic()
557 mlen = (U32)ZSTD_count(inr + minMatch, inr + minMatch - repCur, iend) + minMatch; in ZSTD_compressBlock_opt_generic()