Home
last modified time | relevance | path

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

/openbmc/linux/lib/zstd/compress/
H A Dzstd_fast.c119 U32 rep_offset2 = rep[1]; in ZSTD_compressBlock_fast_noDict_generic() local
144 if (rep_offset2 > maxRep) offsetSaved = rep_offset2, rep_offset2 = 0; in ZSTD_compressBlock_fast_noDict_generic()
259 rep[1] = rep_offset2 ? rep_offset2 : offsetSaved; in ZSTD_compressBlock_fast_noDict_generic()
268 rep_offset2 = rep_offset1; in ZSTD_compressBlock_fast_noDict_generic()
302 if (rep_offset2 > 0) { /* rep_offset2==0 means rep_offset2 is invalidated */ in ZSTD_compressBlock_fast_noDict_generic()
303 while ( (ip0 <= ilimit) && (MEM_read32(ip0) == MEM_read32(ip0 - rep_offset2)) ) { in ZSTD_compressBlock_fast_noDict_generic()
305 size_t const rLength = ZSTD_count(ip0+4, ip0+4-rep_offset2, iend) + 4; in ZSTD_compressBlock_fast_noDict_generic()
306 …{ U32 const tmpOff = rep_offset2; rep_offset2 = rep_offset1; rep_offset1 = tmpOff; } /* swap rep_o… in ZSTD_compressBlock_fast_noDict_generic()