Home
last modified time | relevance | path

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

/linux-6.15/lib/zstd/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()
349 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
498 offset_2 = offset_1; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
544 rep[1] = offset_2; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
678 offset_2 = offset_1; in ZSTD_compressBlock_doubleFast_extDict_generic()
703 offset_2 = offset_1; in ZSTD_compressBlock_doubleFast_extDict_generic()
[all …]
H A Dzstd_fast.c500 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_dictMatchState_generic() local
537 assert(offset_2 <= dictAndPrefixLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
591 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
609 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
654 …U32 tmpOffset = offset_2; offset_2 = offset_1; offset_1 = tmpOffset; /* swap offset_2 <=> offset… in ZSTD_compressBlock_fast_dictMatchState_generic()
673 rep[1] = offset_2; in ZSTD_compressBlock_fast_dictMatchState_generic()
731 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_extDict_generic() local
765 if (offset_2 >= maxRep) offsetSaved2 = offset_2, offset_2 = 0; in ZSTD_compressBlock_fast_extDict_generic()
894 rep[1] = offset_2 ? offset_2 : offsetSaved2; in ZSTD_compressBlock_fast_extDict_generic()
906 offset_2 = offset_1; 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()
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()
1763 … offBase = offset_2; offset_2 = offset_1; offset_1 = (U32)offBase; /* swap repcodes */ in ZSTD_compressBlock_lazy_generic()
1776 rep[1] = offset_2 ? offset_2 : offsetSaved2; in ZSTD_compressBlock_lazy_generic()
1959 U32 offset_1 = rep[0], offset_2 = rep[1]; in ZSTD_compressBlock_lazy_extDict_generic() local
2114 const U32 repIndex = repCurrent - offset_2; in ZSTD_compressBlock_lazy_extDict_generic()
2123 … offBase = offset_2; offset_2 = offset_1; offset_1 = (U32)offBase; /* swap offset history */ in ZSTD_compressBlock_lazy_extDict_generic()
[all …]