Lines Matching refs:anchor

86 #define UPDATABLE(ip, op, anchor) &ip, &op, &anchor
478 #define anchor (*_anchor)
486 U32 const pos = (start==NULL) ? 0 : (U32)(anchor - start);
487 U32 const ll = (U32)(ip - anchor);
491 if (start==NULL) start = anchor; /* only works for single segment */
495 (U32)(ip - anchor), matchLength, (U32)(ip-match),
501 length = (size_t)(ip - anchor);
519 LZ4_wildCopy8(op, anchor, op + length);
545 anchor = ip;
551 #undef anchor
568 const BYTE* anchor = ip;
610 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, limit, oend)) goto _dest_overflow;
658 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, limit, oend)) goto _dest_overflow;
661 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml2, ref2, limit, oend)) {
684 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, limit, oend)) goto _dest_overflow;
722 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, limit, oend)) goto _dest_overflow;
736 { size_t lastRunSize = (size_t)(iend - anchor); /* literals */
748 ip = anchor + lastRunSize; /* can be != iend if limit==fillOutput */
758 LZ4_memcpy(op, anchor, lastRunSize);
768 /* Assumption : ip, anchor, ml and ref must be set correctly */
769 size_t const ll = (size_t)(ip - anchor);
782 LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, notLimited, oend);
1351 const BYTE* anchor = ip;
1372 int const llen = (int)(ip - anchor);
1384 if ( LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), firstML, matchPos, limit, oend) ) { /* updates ip, op and anchor */
1560 if ( LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ip - offset, limit, oend) ) { /* updates ip, op and anchor */
1569 { size_t lastRunSize = (size_t)(iend - anchor); /* literals */
1584 ip = anchor + lastRunSize; /* can be != iend if limit==fillOutput */
1594 LZ4_memcpy(op, anchor, lastRunSize);
1605 /* Assumption : ip, anchor, ovml and ovref must be set correctly */
1606 size_t const ll = (size_t)(ip - anchor);
1620 DEBUGLOG(6, "Before : ip = %p, anchor = %p", ip, anchor);
1621 LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ovml, ovref, notLimited, oend);
1622 DEBUGLOG(6, "After : ip = %p, anchor = %p", ip, anchor);