Home
last modified time | relevance | path

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

/freebsd/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
163 if (offset_2 > maxRep) offsetSaved2 = offset_2, offset_2 = 0; in ZSTD_compressBlock_doubleFast_noDict_generic()
249 rep[1] = offset_2 ? offset_2 : offsetSaved2; in ZSTD_compressBlock_doubleFast_noDict_generic()
277 offset_2 = offset_1; in ZSTD_compressBlock_doubleFast_noDict_generic()
310 && ( (offset_2>0) in ZSTD_compressBlock_doubleFast_noDict_generic()
311 & (MEM_read32(ip) == MEM_read32(ip - offset_2)) )) { in ZSTD_compressBlock_doubleFast_noDict_generic()
313 size_t const rLength = ZSTD_count(ip+4, ip+4-offset_2, iend) + 4; 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
382 assert(offset_2 <= dictAndPrefixLength); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
[all …]
H A Dzstd_fast.c502 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_dictMatchState_generic() local
539 assert(offset_2 <= dictAndPrefixLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
593 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
611 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
648 U32 const repIndex2 = current2 - offset_2; 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()
675 rep[1] = offset_2; in ZSTD_compressBlock_fast_dictMatchState_generic()
733 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_extDict_generic() local
767 if (offset_2 >= maxRep) offsetSaved2 = offset_2, offset_2 = 0; in ZSTD_compressBlock_fast_extDict_generic()
896 rep[1] = offset_2 ? offset_2 : offsetSaved2; in ZSTD_compressBlock_fast_extDict_generic()
[all …]
H A Dzstd_lazy.c1535 U32 offset_1 = rep[0], offset_2 = rep[1]; in ZSTD_compressBlock_lazy_generic() local
1557 if (offset_2 > maxRep) offsetSaved2 = offset_2, offset_2 = 0; in ZSTD_compressBlock_lazy_generic()
1564 assert(offset_2 <= dictAndPrefixLength); in ZSTD_compressBlock_lazy_generic()
1720 offset_2 = offset_1; offset_1 = (U32)OFFBASE_TO_OFFSET(offBase); in ZSTD_compressBlock_lazy_generic()
1740 U32 const repIndex = current2 - offset_2; in ZSTD_compressBlock_lazy_generic()
1748 …offBase = offset_2; offset_2 = offset_1; offset_1 = (U32)offBase; /* swap offset_2 <=> offset_1 … in ZSTD_compressBlock_lazy_generic()
1759 while ( ((ip <= ilimit) & (offset_2>0)) in ZSTD_compressBlock_lazy_generic()
1760 && (MEM_read32(ip) == MEM_read32(ip - offset_2)) ) { in ZSTD_compressBlock_lazy_generic()
1762 matchLength = ZSTD_count(ip+4, ip+4-offset_2, iend) + 4; in ZSTD_compressBlock_lazy_generic()
1763 … offBase = offset_2; offset_2 = offset_1; offset_1 = (U32)offBase; /* swap repcodes */ in ZSTD_compressBlock_lazy_generic()
[all …]
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_double_fast.c123 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_noDict_generic() local
162 if (offset_2 > maxRep) offsetSaved2 = offset_2, offset_2 = 0; in ZSTD_compressBlock_doubleFast_noDict_generic()
248 rep[1] = offset_2 ? offset_2 : offsetSaved2; in ZSTD_compressBlock_doubleFast_noDict_generic()
276 offset_2 = offset_1; in ZSTD_compressBlock_doubleFast_noDict_generic()
309 && ( (offset_2>0) in ZSTD_compressBlock_doubleFast_noDict_generic()
310 & (MEM_read32(ip) == MEM_read32(ip - offset_2)) )) { in ZSTD_compressBlock_doubleFast_noDict_generic()
312 size_t const rLength = ZSTD_count(ip+4, ip+4-offset_2, iend) + 4; in ZSTD_compressBlock_doubleFast_noDict_generic()
313 …U32 const tmpOff = offset_2; offset_2 = offset_1; offset_1 = tmpOff; /* swap offset_2 <=> offset_… in ZSTD_compressBlock_doubleFast_noDict_generic()
348 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
381 assert(offset_2 <= dictAndPrefixLength); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
[all …]
H A Dzstd_fast.c501 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_dictMatchState_generic() local
538 assert(offset_2 <= dictAndPrefixLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
592 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
610 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
647 U32 const repIndex2 = current2 - offset_2; in ZSTD_compressBlock_fast_dictMatchState_generic()
655 …U32 tmpOffset = offset_2; offset_2 = offset_1; offset_1 = tmpOffset; /* swap offset_2 <=> offset… in ZSTD_compressBlock_fast_dictMatchState_generic()
674 rep[1] = offset_2; in ZSTD_compressBlock_fast_dictMatchState_generic()
732 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_extDict_generic() local
766 if (offset_2 >= maxRep) offsetSaved2 = offset_2, offset_2 = 0; in ZSTD_compressBlock_fast_extDict_generic()
895 rep[1] = offset_2 ? offset_2 : offsetSaved2; in ZSTD_compressBlock_fast_extDict_generic()
[all …]
H A Dzstd_lazy.c1534 U32 offset_1 = rep[0], offset_2 = rep[1]; in ZSTD_compressBlock_lazy_generic() local
1556 if (offset_2 > maxRep) offsetSaved2 = offset_2, offset_2 = 0; in ZSTD_compressBlock_lazy_generic()
1563 assert(offset_2 <= dictAndPrefixLength); in ZSTD_compressBlock_lazy_generic()
1719 offset_2 = offset_1; offset_1 = (U32)OFFBASE_TO_OFFSET(offBase); in ZSTD_compressBlock_lazy_generic()
1739 U32 const repIndex = current2 - offset_2; in ZSTD_compressBlock_lazy_generic()
1747 …offBase = offset_2; offset_2 = offset_1; offset_1 = (U32)offBase; /* swap offset_2 <=> offset_1 … in ZSTD_compressBlock_lazy_generic()
1758 while ( ((ip <= ilimit) & (offset_2>0)) in ZSTD_compressBlock_lazy_generic()
1759 && (MEM_read32(ip) == MEM_read32(ip - offset_2)) ) { in ZSTD_compressBlock_lazy_generic()
1761 matchLength = ZSTD_count(ip+4, ip+4-offset_2, iend) + 4; in ZSTD_compressBlock_lazy_generic()
1762 … offBase = offset_2; offset_2 = offset_1; offset_1 = (U32)offBase; /* swap repcodes */ in ZSTD_compressBlock_lazy_generic()
[all …]