Lines Matching refs:rPos
1377 { int rPos; in LZ4HC_compress_optimal() local
1378 for (rPos = 0 ; rPos < MINMATCH ; rPos++) { in LZ4HC_compress_optimal()
1379 int const cost = LZ4HC_literalsPrice(llen + rPos); in LZ4HC_compress_optimal()
1380 opt[rPos].mlen = 1; in LZ4HC_compress_optimal()
1381 opt[rPos].off = 0; in LZ4HC_compress_optimal()
1382 opt[rPos].litlen = llen + rPos; in LZ4HC_compress_optimal()
1383 opt[rPos].price = cost; in LZ4HC_compress_optimal()
1385 rPos, cost, opt[rPos].litlen); in LZ4HC_compress_optimal()
1535 { int rPos = 0; /* relative position (to ip) */ in LZ4HC_compress_optimal() local
1536 while (rPos < last_match_pos) { in LZ4HC_compress_optimal()
1537 int const ml = opt[rPos].mlen; in LZ4HC_compress_optimal()
1538 int const offset = opt[rPos].off; in LZ4HC_compress_optimal()
1539 …if (ml == 1) { ip++; rPos++; continue; } /* literal; note: can end up with several literals, in w… in LZ4HC_compress_optimal()
1540 rPos += ml; in LZ4HC_compress_optimal()