Lines Matching refs:mlen
1271 int mlen;
1286 /* requires mlen >= MINMATCH */
1287 LZ4_FORCE_INLINE int LZ4HC_sequencePrice(int litlen, int mlen)
1291 assert(mlen >= MINMATCH);
1295 if (mlen >= (int)(ML_MASK+MINMATCH))
1296 price += 1 + ((mlen-(int)(ML_MASK+MINMATCH)) / 255);
1396 opt[rPos].mlen = 1;
1404 { int mlen = MINMATCH;
1408 for ( ; mlen <= matchML ; mlen++) {
1409 int const cost = LZ4HC_sequencePrice(llen, mlen);
1410 opt[mlen].mlen = mlen;
1411 opt[mlen].off = offset;
1412 opt[mlen].litlen = llen;
1413 opt[mlen].price = cost;
1415 mlen, cost, mlen);
1420 opt[last_match_pos+addLit].mlen = 1; /* literal */
1471 opt[pos].mlen = 1; /* literal */
1491 if (opt[cur].mlen == 1) {
1509 opt[pos].mlen = ml;
1517 opt[last_match_pos+addLit].mlen = 1; /* literal */
1526 best_mlen = opt[last_match_pos].mlen;
1538 int const next_matchLength = opt[candidate_pos].mlen; /* can be 1, means literal */
1541 opt[candidate_pos].mlen = selected_matchLength;
1553 int const ml = opt[rPos].mlen;