Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_double_fast.c69 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_noDict_generic() local
104 if (offset_1 > maxRep) offsetSaved = offset_1, offset_1 = 0; in ZSTD_compressBlock_doubleFast_noDict_generic()
131 if ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1))) { in ZSTD_compressBlock_doubleFast_noDict_generic()
132 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_noDict_generic()
179 rep[0] = offset_1 ? offset_1 : offsetSaved; in ZSTD_compressBlock_doubleFast_noDict_generic()
206 offset_2 = offset_1; in ZSTD_compressBlock_doubleFast_noDict_generic()
207 offset_1 = offset; in ZSTD_compressBlock_doubleFast_noDict_generic()
243 …U32 const tmpOff = offset_2; offset_2 = offset_1; offset_1 = tmpOff; /* swap offset_2 <=> offset_… in ZSTD_compressBlock_doubleFast_noDict_generic()
277 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
303 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
[all …]
Dzstd_fast.c389 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_dictMatchState_generic() local
421 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
431 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
460 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
461 offset_1 = offset; in ZSTD_compressBlock_fast_dictMatchState_generic()
475 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
476 offset_1 = offset; in ZSTD_compressBlock_fast_dictMatchState_generic()
501 …U32 tmpOffset = offset_2; offset_2 = offset_1; offset_1 = tmpOffset; /* swap offset_2 <=> offset… in ZSTD_compressBlock_fast_dictMatchState_generic()
514 rep[0] = offset_1 ? offset_1 : offsetSaved; in ZSTD_compressBlock_fast_dictMatchState_generic()
572 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_extDict_generic() local
[all …]
Dzstd_lazy.c1494 U32 offset_1 = rep[0], offset_2 = rep[1], savedOffset=0; in ZSTD_compressBlock_lazy_generic() local
1516 if (offset_1 > maxRep) savedOffset = offset_1, offset_1 = 0; in ZSTD_compressBlock_lazy_generic()
1521 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_lazy_generic()
1546 const U32 repIndex = (U32)(ip - base) + 1 - offset_1; in ZSTD_compressBlock_lazy_generic()
1559 && ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1)))) { in ZSTD_compressBlock_lazy_generic()
1560 matchLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic()
1582 && (offcode) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic()
1583 size_t const mlRep = ZSTD_count(ip+4, ip+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic()
1590 const U32 repIndex = (U32)(ip - base) - offset_1; in ZSTD_compressBlock_lazy_generic()
1618 && (offcode) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic()
[all …]