Lines Matching refs:matchLength

142 …e_t *seqStorePtr, U32 litLength, const BYTE *literals, U32 offset, U32 matchLength, const int ultr…  in ZSTD_getPrice()  argument
149 …return ZSTD_getLiteralPrice(seqStorePtr, litLength, literals) + ZSTD_highbit32((U32)matchLength + … in ZSTD_getPrice()
158 …const BYTE mlCode = (matchLength > 127) ? (BYTE)ZSTD_highbit32(matchLength) + ML_deltaCode : ML_Co… in ZSTD_getPrice()
165 …atePrice(seqStore_t *seqStorePtr, U32 litLength, const BYTE *literals, U32 offset, U32 matchLength) in ZSTD_updatePrice() argument
192 …const BYTE mlCode = (matchLength > 127) ? (BYTE)ZSTD_highbit32(matchLength) + ML_deltaCode : ML_Co… in ZSTD_updatePrice()
297 …size_t matchLength = MIN(commonLengthSmaller, commonLengthLarger); /* guaranteed minimum nb of com… in ZSTD_insertBtAndGetAllMatches() local
300 if ((!extDict) || (matchIndex + matchLength >= dictLimit)) { in ZSTD_insertBtAndGetAllMatches()
302 if (match[matchLength] == ip[matchLength]) { in ZSTD_insertBtAndGetAllMatches()
303 matchLength += ZSTD_count(ip + matchLength + 1, match + matchLength + 1, iLimit) + 1; in ZSTD_insertBtAndGetAllMatches()
307matchLength += ZSTD_count_2segments(ip + matchLength, match + matchLength, iLimit, dictEnd, prefix… in ZSTD_insertBtAndGetAllMatches()
308 if (matchIndex + matchLength >= dictLimit) in ZSTD_insertBtAndGetAllMatches()
312 if (matchLength > bestLength) { in ZSTD_insertBtAndGetAllMatches()
313 if (matchLength > matchEndIdx - matchIndex) in ZSTD_insertBtAndGetAllMatches()
314 matchEndIdx = matchIndex + (U32)matchLength; in ZSTD_insertBtAndGetAllMatches()
315 bestLength = matchLength; in ZSTD_insertBtAndGetAllMatches()
317 matches[mnum].len = (U32)matchLength; in ZSTD_insertBtAndGetAllMatches()
319 if (matchLength > ZSTD_OPT_NUM) in ZSTD_insertBtAndGetAllMatches()
321 if (ip + matchLength == iLimit) /* equal : no way to know if inf or sup */ in ZSTD_insertBtAndGetAllMatches()
325 if (match[matchLength] < ip[matchLength]) { in ZSTD_insertBtAndGetAllMatches()
328 …commonLengthSmaller = matchLength; /* all smaller will now have at least this guaranteed common le… in ZSTD_insertBtAndGetAllMatches()
338 commonLengthLarger = matchLength; in ZSTD_insertBtAndGetAllMatches()