Lines Matching defs:anchor

111     const BYTE* anchor = istart;
154 /* calculate positions, ip0 - anchor == 0, so we skip step calc */
262 return (size_t)(iend - anchor);
274 while (((ip0>anchor) & (match0>prefixStart)) && (ip0[-1] == match0[-1])) {
285 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength);
288 anchor = ip0;
309 ZSTD_storeSeq(seqStore, 0 /*litLen*/, anchor, iend, STORE_REPCODE_1, rLength);
310 anchor = ip0;
384 const BYTE* anchor = istart;
442 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_REPCODE_1, mLength);
450 ip += ((ip-anchor) >> kSearchStrength) + stepSize;
456 while (((ip>anchor) & (dictMatch>dictStart))
462 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_OFFSET(offset), mLength);
467 ip += ((ip-anchor) >> kSearchStrength) + stepSize;
473 while (((ip>anchor) & (match>prefixStart))
477 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_OFFSET(offset), mLength);
482 anchor = ip;
502 ZSTD_storeSeq(seqStore, 0, anchor, iend, STORE_REPCODE_1, repLength2);
505 anchor = ip;
518 return (size_t)(iend - anchor);
561 const BYTE* anchor = istart;
601 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_REPCODE_1, rLength);
603 anchor = ip;
608 ip += ((ip-anchor) >> kSearchStrength) + stepSize;
615 while (((ip>anchor) & (match>lowMatchPtr)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; } /* catch up */
617 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_OFFSET(offset), mLength);
619 anchor = ip;
636 ZSTD_storeSeq(seqStore, 0 /*litlen*/, anchor, iend, STORE_REPCODE_1, repLength2);
639 anchor = ip;
650 return (size_t)(iend - anchor);