Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_fast.c68 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_generic() local
79 if (offset_1 > maxRep) offsetSaved = offset_1, offset_1 = 0; in ZSTD_compressBlock_fast_generic()
101 BYTE const* repMatch = ip2 - offset_1; in ZSTD_compressBlock_fast_generic()
115 if ((offset_1 > 0) & (MEM_read32(repMatch) == MEM_read32(ip2))) { in ZSTD_compressBlock_fast_generic()
141 offset_2 = offset_1; in ZSTD_compressBlock_fast_generic()
142 offset_1 = (U32)(ip0-match0); in ZSTD_compressBlock_fast_generic()
143 offcode = offset_1 + ZSTD_REP_MOVE; in ZSTD_compressBlock_fast_generic()
167 …{ U32 const tmpOff = offset_2; offset_2 = offset_1; offset_1 = tmpOff; } /* swap offset_2 <=> offs… in ZSTD_compressBlock_fast_generic()
178 rep[0] = offset_1 ? offset_1 : offsetSaved; in ZSTD_compressBlock_fast_generic()
224 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_dictMatchState_generic() local
[all …]
H A Dzstd_double_fast.c71 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_generic() local
115 if (offset_1 > maxRep) offsetSaved = offset_1, offset_1 = 0; in ZSTD_compressBlock_doubleFast_generic()
120 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_doubleFast_generic()
137 const U32 repIndex = current + 1 - offset_1; in ZSTD_compressBlock_doubleFast_generic()
157 && ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1)))) { in ZSTD_compressBlock_doubleFast_generic()
158 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_generic()
250 offset_2 = offset_1; in ZSTD_compressBlock_doubleFast_generic()
251 offset_1 = offset; in ZSTD_compressBlock_doubleFast_generic()
283 …U32 tmpOffset = offset_2; offset_2 = offset_1; offset_1 = tmpOffset; /* swap offset_2 <=> offset… in ZSTD_compressBlock_doubleFast_generic()
300 …U32 const tmpOff = offset_2; offset_2 = offset_1; offset_1 = tmpOff; /* swap offset_2 <=> offset_… in ZSTD_compressBlock_doubleFast_generic()
[all …]
H A Dzstd_lazy.c649 U32 offset_1 = rep[0], offset_2 = rep[1], savedOffset=0; in ZSTD_compressBlock_lazy_generic() local
674 if (offset_1 > maxRep) savedOffset = offset_1, offset_1 = 0; in ZSTD_compressBlock_lazy_generic()
679 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_lazy_generic()
697 const U32 repIndex = (U32)(ip - base) + 1 - offset_1; in ZSTD_compressBlock_lazy_generic()
710 && ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1)))) { in ZSTD_compressBlock_lazy_generic()
711 matchLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic()
732 && (offset) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic()
733 size_t const mlRep = ZSTD_count(ip+4, ip+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic()
740 const U32 repIndex = (U32)(ip - base) - offset_1; in ZSTD_compressBlock_lazy_generic()
767 && (offset) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic()
[all …]
/freebsd/sys/contrib/zstd/lib/compress/
H A 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 …]
H A 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 …]
H A Dzstd_lazy.c1493 U32 offset_1 = rep[0], offset_2 = rep[1], savedOffset=0; in ZSTD_compressBlock_lazy_generic() local
1517 if (offset_1 > maxRep) savedOffset = offset_1, offset_1 = 0; in ZSTD_compressBlock_lazy_generic()
1522 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_lazy_generic()
1548 const U32 repIndex = (U32)(ip - base) + 1 - offset_1; in ZSTD_compressBlock_lazy_generic()
1561 && ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1)))) { in ZSTD_compressBlock_lazy_generic()
1562 matchLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic()
1584 && (offcode) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic()
1585 size_t const mlRep = ZSTD_count(ip+4, ip+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic()
1592 const U32 repIndex = (U32)(ip - base) - offset_1; in ZSTD_compressBlock_lazy_generic()
1620 && (offcode) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic()
[all …]