Home
last modified time | relevance | path

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

/linux/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
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.c500 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_dictMatchState_generic() local
536 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
558 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
591 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
592 offset_1 = offset; in ZSTD_compressBlock_fast_dictMatchState_generic()
609 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
610 offset_1 = offset; 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()
672 rep[0] = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
731 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 …]