Home
last modified time | relevance | path

Searched refs:offcode (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/lib/zstd/compress/
Dzstd_lazy.c1540 size_t offcode=STORE_REPCODE_1; in ZSTD_compressBlock_lazy_generic() local
1568 matchLength = ml2, start = ip, offcode=offsetFound; in ZSTD_compressBlock_lazy_generic()
1582 && (offcode) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic()
1585 … int const gain1 = (int)(matchLength*3 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 1); in ZSTD_compressBlock_lazy_generic()
1587 matchLength = mlRep, offcode = STORE_REPCODE_1, start = ip; in ZSTD_compressBlock_lazy_generic()
1599 … int const gain1 = (int)(matchLength*3 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 1); in ZSTD_compressBlock_lazy_generic()
1601 matchLength = mlRep, offcode = STORE_REPCODE_1, start = ip; in ZSTD_compressBlock_lazy_generic()
1607 … int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 4); in ZSTD_compressBlock_lazy_generic()
1609 matchLength = ml2, offcode = offset2, start = ip; in ZSTD_compressBlock_lazy_generic()
1618 && (offcode) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic()
[all …]
Dzstd_fast.c127 U32 offcode; in ZSTD_compressBlock_fast_noDict_generic() local
183 offcode = STORE_REPCODE_1; in ZSTD_compressBlock_fast_noDict_generic()
270 offcode = STORE_OFFSET(rep_offset1); in ZSTD_compressBlock_fast_noDict_generic()
285 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength); in ZSTD_compressBlock_fast_noDict_generic()
Dzstd_opt.c298 ZSTD_getMatchPrice(U32 const offcode, in ZSTD_getMatchPrice() argument
304 U32 const offCode = ZSTD_highbit32(STORED_TO_OFFBASE(offcode)); in ZSTD_getMatchPrice()
1125 U32 const offcode = matches[matchNb].off; in ZSTD_compressBlock_opt_generic() local
1128 … U32 const matchPrice = ZSTD_getMatchPrice(offcode, pos, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic()
1133 opt[pos].off = offcode; in ZSTD_compressBlock_opt_generic()