Lines Matching refs:anchor

402 	const BYTE *anchor = istart;  in ZSTD_compressBlock_opt_generic()  local
434 litlen = (U32)(ip - anchor); in ZSTD_compressBlock_opt_generic()
438 U32 i, last_i = ZSTD_REP_CHECK + (ip == anchor); in ZSTD_compressBlock_opt_generic()
439 for (i = (ip == anchor); i < last_i; i++) { in ZSTD_compressBlock_opt_generic()
451 best_off = i - (ip == anchor); in ZSTD_compressBlock_opt_generic()
453 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
483 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
513 price = ZSTD_getLiteralPrice(seqStorePtr, litlen, anchor); in ZSTD_compressBlock_opt_generic()
567 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
602 … price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
649 litLength = (U32)(ip - anchor); in ZSTD_compressBlock_opt_generic()
668 ZSTD_updatePrice(seqStorePtr, litLength, anchor, offset, mlen - MINMATCH); in ZSTD_compressBlock_opt_generic()
669 ZSTD_storeSeq(seqStorePtr, litLength, anchor, offset, mlen - MINMATCH); in ZSTD_compressBlock_opt_generic()
670 anchor = ip = ip + mlen; in ZSTD_compressBlock_opt_generic()
683 size_t const lastLLSize = iend - anchor; in ZSTD_compressBlock_opt_generic()
684 memcpy(seqStorePtr->lit, anchor, lastLLSize); in ZSTD_compressBlock_opt_generic()
695 const BYTE *anchor = istart; in ZSTD_compressBlock_opt_extDict_generic() local
733 opt[0].litlen = (U32)(ip - anchor); in ZSTD_compressBlock_opt_extDict_generic()
737 U32 i, last_i = ZSTD_REP_CHECK + (ip == anchor); in ZSTD_compressBlock_opt_extDict_generic()
738 for (i = (ip == anchor); i < last_i; i++) { in ZSTD_compressBlock_opt_extDict_generic()
758 best_off = i - (ip == anchor); in ZSTD_compressBlock_opt_extDict_generic()
761 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_extDict_generic()
800 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_extDict_generic()
821 price = ZSTD_getLiteralPrice(seqStorePtr, litlen, anchor); in ZSTD_compressBlock_opt_extDict_generic()
881 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_extDict_generic()
916 … price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_extDict_generic()
963 litLength = (U32)(ip - anchor); in ZSTD_compressBlock_opt_extDict_generic()
983 ZSTD_updatePrice(seqStorePtr, litLength, anchor, offset, mlen - MINMATCH); in ZSTD_compressBlock_opt_extDict_generic()
984 ZSTD_storeSeq(seqStorePtr, litLength, anchor, offset, mlen - MINMATCH); in ZSTD_compressBlock_opt_extDict_generic()
985 anchor = ip = ip + mlen; in ZSTD_compressBlock_opt_extDict_generic()
998 size_t lastLLSize = iend - anchor; in ZSTD_compressBlock_opt_extDict_generic()
999 memcpy(seqStorePtr->lit, anchor, lastLLSize); in ZSTD_compressBlock_opt_extDict_generic()