Lines Matching refs:anchor
111 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_noDict_generic() local
262 return (size_t)(iend - anchor); in ZSTD_compressBlock_fast_noDict_generic()
274 while (((ip0>anchor) & (match0>prefixStart)) && (ip0[-1] == match0[-1])) { in ZSTD_compressBlock_fast_noDict_generic()
285 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength); in ZSTD_compressBlock_fast_noDict_generic()
288 anchor = ip0; in ZSTD_compressBlock_fast_noDict_generic()
309 ZSTD_storeSeq(seqStore, 0 /*litLen*/, anchor, iend, STORE_REPCODE_1, rLength); in ZSTD_compressBlock_fast_noDict_generic()
310 anchor = ip0; in ZSTD_compressBlock_fast_noDict_generic()
384 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_dictMatchState_generic() local
442 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_REPCODE_1, mLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
450 ip += ((ip-anchor) >> kSearchStrength) + stepSize; in ZSTD_compressBlock_fast_dictMatchState_generic()
456 while (((ip>anchor) & (dictMatch>dictStart)) in ZSTD_compressBlock_fast_dictMatchState_generic()
462 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_OFFSET(offset), mLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
467 ip += ((ip-anchor) >> kSearchStrength) + stepSize; in ZSTD_compressBlock_fast_dictMatchState_generic()
473 while (((ip>anchor) & (match>prefixStart)) in ZSTD_compressBlock_fast_dictMatchState_generic()
477 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_OFFSET(offset), mLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
482 anchor = ip; in ZSTD_compressBlock_fast_dictMatchState_generic()
502 ZSTD_storeSeq(seqStore, 0, anchor, iend, STORE_REPCODE_1, repLength2); in ZSTD_compressBlock_fast_dictMatchState_generic()
505 anchor = ip; in ZSTD_compressBlock_fast_dictMatchState_generic()
518 return (size_t)(iend - anchor); in ZSTD_compressBlock_fast_dictMatchState_generic()
561 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_extDict_generic() local
601 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_REPCODE_1, rLength); in ZSTD_compressBlock_fast_extDict_generic()
603 anchor = ip; in ZSTD_compressBlock_fast_extDict_generic()
608 ip += ((ip-anchor) >> kSearchStrength) + stepSize; in ZSTD_compressBlock_fast_extDict_generic()
615 …while (((ip>anchor) & (match>lowMatchPtr)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; }… in ZSTD_compressBlock_fast_extDict_generic()
617 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_OFFSET(offset), mLength); in ZSTD_compressBlock_fast_extDict_generic()
619 anchor = ip; in ZSTD_compressBlock_fast_extDict_generic()
636 … ZSTD_storeSeq(seqStore, 0 /*litlen*/, anchor, iend, STORE_REPCODE_1, repLength2); in ZSTD_compressBlock_fast_extDict_generic()
639 anchor = ip; in ZSTD_compressBlock_fast_extDict_generic()
650 return (size_t)(iend - anchor); in ZSTD_compressBlock_fast_extDict_generic()