Lines Matching defs:pos
84 #define DELTANEXTU16(table, pos) table[(U16)(pos)] /* faster */
313 *matchpos = prefixPtr - prefixIdx + matchIndex + back; /* virtual pos, relative to ip, to retrieve offset */
325 int pos;
326 for (pos = 0; pos < end; pos += step) {
327 U32 const candidateDist = DELTANEXTU16(chainTable, matchIndex + (U32)pos);
331 matchChainPos = (U32)pos;
401 *matchpos = prefixPtr - prefixIdx + matchIndex; /* virtual pos, relative to ip, to retrieve offset */
486 U32 const pos = (start==NULL) ? 0 : (U32)(anchor - start);
492 /* g_debuglog_enable = (pos >= 2228) & (pos <= 2262); */
493 DEBUGLOG(6, "pos:%7u -- literals:%4u, match:%4i, offset:%5u, cost:%4u + %5u",
494 pos,
1469 int const pos = cur + litlen;
1470 if (price < opt[pos].price) {
1471 opt[pos].mlen = 1; /* literal */
1472 opt[pos].off = 0;
1473 opt[pos].litlen = baseLitlen+litlen;
1474 opt[pos].price = price;
1476 pos, price, opt[pos].litlen);
1485 int const pos = cur + ml;
1490 pos, last_match_pos);
1501 if (pos > last_match_pos+TRAILING_LITERALS
1502 || price <= opt[pos].price - (int)favorDecSpeed) {
1504 pos, price, ml);
1505 assert(pos < LZ4_OPT_NUM);
1506 if ( (ml == matchML) /* last pos of last match */
1507 && (last_match_pos < pos) )
1508 last_match_pos = pos;
1509 opt[pos].mlen = ml;
1510 opt[pos].off = offset;
1511 opt[pos].litlen = ll;
1512 opt[pos].price = price;
1540 DEBUGLOG(7, "pos %i: sequence length %i", candidate_pos, selected_matchLength);