Home
last modified time | relevance | path

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

/src/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 …]
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_double_fast.c124 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_noDict_generic() local
164 if (offset_1 > maxRep) offsetSaved1 = offset_1, offset_1 = 0; in ZSTD_compressBlock_doubleFast_noDict_generic()
191 if ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1))) { in ZSTD_compressBlock_doubleFast_noDict_generic()
192 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_noDict_generic()
245 offsetSaved2 = ((offsetSaved1 != 0) && (offset_1 != 0)) ? offsetSaved1 : offsetSaved2; in ZSTD_compressBlock_doubleFast_noDict_generic()
248 rep[0] = offset_1 ? offset_1 : offsetSaved1; in ZSTD_compressBlock_doubleFast_noDict_generic()
277 offset_2 = offset_1; in ZSTD_compressBlock_doubleFast_noDict_generic()
278 offset_1 = offset; in ZSTD_compressBlock_doubleFast_noDict_generic()
314 …U32 const tmpOff = offset_2; offset_2 = offset_1; offset_1 = tmpOff; /* swap offset_2 <=> offset_… in ZSTD_compressBlock_doubleFast_noDict_generic()
349 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
[all …]
H A Dzstd_fast.c502 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_dictMatchState_generic() local
538 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
560 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
593 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
594 offset_1 = offset; in ZSTD_compressBlock_fast_dictMatchState_generic()
611 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
612 offset_1 = offset; in ZSTD_compressBlock_fast_dictMatchState_generic()
656 …U32 tmpOffset = offset_2; offset_2 = offset_1; offset_1 = tmpOffset; /* swap offset_2 <=> offset… in ZSTD_compressBlock_fast_dictMatchState_generic()
674 rep[0] = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
733 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_extDict_generic() local
[all …]
H A Dzstd_lazy.c1535 U32 offset_1 = rep[0], offset_2 = rep[1]; in ZSTD_compressBlock_lazy_generic() local
1558 if (offset_1 > maxRep) offsetSaved1 = offset_1, offset_1 = 0; in ZSTD_compressBlock_lazy_generic()
1563 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_lazy_generic()
1589 const U32 repIndex = (U32)(ip - base) + 1 - offset_1; in ZSTD_compressBlock_lazy_generic()
1602 && ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1)))) { in ZSTD_compressBlock_lazy_generic()
1603 matchLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic()
1634 && (offBase) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic()
1635 size_t const mlRep = ZSTD_count(ip+4, ip+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic()
1642 const U32 repIndex = (U32)(ip - base) - offset_1; in ZSTD_compressBlock_lazy_generic()
1670 && (offBase) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic()
[all …]