Lines Matching defs:offset
313 *matchpos = prefixPtr - prefixIdx + matchIndex + back; /* virtual pos, relative to ip, to retrieve offset */
401 *matchpos = prefixPtr - prefixIdx + matchIndex; /* virtual pos, relative to ip, to retrieve offset */
493 DEBUGLOG(6, "pos:%7u -- literals:%4u, match:%4i, offset:%5u, cost:%4u + %5u",
523 assert( (ip - match) <= LZ4_DISTANCE_MAX ); /* note : consider providing offset as a value, rather than as a pointer difference */
772 BYTE* const maxLitPos = oend - 3; /* 2 for offset, 1 for token */
1289 int price = 1 + 2 ; /* token + 16-bit offset */
1406 int const offset = firstMatch.off;
1411 opt[mlen].off = offset;
1486 int const offset = newMatch.off;
1510 opt[pos].off = offset;
1554 int const offset = opt[rPos].off;
1558 assert((offset >= 1) && (offset <= LZ4_DISTANCE_MAX));
1560 if ( LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ip - offset, limit, oend) ) { /* updates ip, op and anchor */
1562 ovref = ip - offset;
1609 BYTE* const maxLitPos = oend - 3; /* 2 for offset, 1 for token */