Lines Matching refs:matchLength

132 …e_t *seqStorePtr, U32 litLength, const BYTE *literals, U32 offset, U32 matchLength, const int ultr…  in ZSTD_getPrice()  argument
139 …return ZSTD_getLiteralPrice(seqStorePtr, litLength, literals) + ZSTD_highbit32((U32)matchLength + … in ZSTD_getPrice()
148 …const BYTE mlCode = (matchLength > 127) ? (BYTE)ZSTD_highbit32(matchLength) + ML_deltaCode : ML_Co… in ZSTD_getPrice()
155 …atePrice(seqStore_t *seqStorePtr, U32 litLength, const BYTE *literals, U32 offset, U32 matchLength) in ZSTD_updatePrice() argument
182 …const BYTE mlCode = (matchLength > 127) ? (BYTE)ZSTD_highbit32(matchLength) + ML_deltaCode : ML_Co… in ZSTD_updatePrice()
287 …size_t matchLength = MIN(commonLengthSmaller, commonLengthLarger); /* guaranteed minimum nb of com… in ZSTD_insertBtAndGetAllMatches() local
290 if ((!extDict) || (matchIndex + matchLength >= dictLimit)) { in ZSTD_insertBtAndGetAllMatches()
292 if (match[matchLength] == ip[matchLength]) { in ZSTD_insertBtAndGetAllMatches()
293 matchLength += ZSTD_count(ip + matchLength + 1, match + matchLength + 1, iLimit) + 1; in ZSTD_insertBtAndGetAllMatches()
297matchLength += ZSTD_count_2segments(ip + matchLength, match + matchLength, iLimit, dictEnd, prefix… in ZSTD_insertBtAndGetAllMatches()
298 if (matchIndex + matchLength >= dictLimit) in ZSTD_insertBtAndGetAllMatches()
302 if (matchLength > bestLength) { in ZSTD_insertBtAndGetAllMatches()
303 if (matchLength > matchEndIdx - matchIndex) in ZSTD_insertBtAndGetAllMatches()
304 matchEndIdx = matchIndex + (U32)matchLength; in ZSTD_insertBtAndGetAllMatches()
305 bestLength = matchLength; in ZSTD_insertBtAndGetAllMatches()
307 matches[mnum].len = (U32)matchLength; in ZSTD_insertBtAndGetAllMatches()
309 if (matchLength > ZSTD_OPT_NUM) in ZSTD_insertBtAndGetAllMatches()
311 if (ip + matchLength == iLimit) /* equal : no way to know if inf or sup */ in ZSTD_insertBtAndGetAllMatches()
315 if (match[matchLength] < ip[matchLength]) { in ZSTD_insertBtAndGetAllMatches()
318 …commonLengthSmaller = matchLength; /* all smaller will now have at least this guaranteed common le… in ZSTD_insertBtAndGetAllMatches()
328 commonLengthLarger = matchLength; in ZSTD_insertBtAndGetAllMatches()