Lines Matching refs:offset_1
68 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_generic() local
79 if (offset_1 > maxRep) offsetSaved = offset_1, offset_1 = 0; in ZSTD_compressBlock_fast_generic()
101 BYTE const* repMatch = ip2 - offset_1; in ZSTD_compressBlock_fast_generic()
115 if ((offset_1 > 0) & (MEM_read32(repMatch) == MEM_read32(ip2))) { in ZSTD_compressBlock_fast_generic()
141 offset_2 = offset_1; in ZSTD_compressBlock_fast_generic()
142 offset_1 = (U32)(ip0-match0); in ZSTD_compressBlock_fast_generic()
143 offcode = offset_1 + ZSTD_REP_MOVE; in ZSTD_compressBlock_fast_generic()
167 …{ U32 const tmpOff = offset_2; offset_2 = offset_1; offset_1 = tmpOff; } /* swap offset_2 <=> offs… in ZSTD_compressBlock_fast_generic()
178 rep[0] = offset_1 ? offset_1 : offsetSaved; in ZSTD_compressBlock_fast_generic()
224 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_dictMatchState_generic() local
254 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
264 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
293 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
294 offset_1 = offset; in ZSTD_compressBlock_fast_dictMatchState_generic()
308 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
309 offset_1 = offset; in ZSTD_compressBlock_fast_dictMatchState_generic()
334 …U32 tmpOffset = offset_2; offset_2 = offset_1; offset_1 = tmpOffset; /* swap offset_2 <=> offset… in ZSTD_compressBlock_fast_dictMatchState_generic()
347 rep[0] = offset_1 ? offset_1 : offsetSaved; in ZSTD_compressBlock_fast_dictMatchState_generic()
399 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_extDict_generic() local
401 DEBUGLOG(5, "ZSTD_compressBlock_fast_extDict_generic (offset_1=%u)", offset_1); in ZSTD_compressBlock_fast_extDict_generic()
414 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_fast_extDict_generic()
418 DEBUGLOG(7, "offset_1 = %u , curr = %u", offset_1, curr); in ZSTD_compressBlock_fast_extDict_generic()
419 assert(offset_1 <= curr +1); /* check repIndex */ in ZSTD_compressBlock_fast_extDict_generic()
441 offset_2 = offset_1; offset_1 = offset; /* update offset history */ in ZSTD_compressBlock_fast_extDict_generic()
460 …{ U32 const tmpOffset = offset_2; offset_2 = offset_1; offset_1 = tmpOffset; } /* swap offset_2 <… in ZSTD_compressBlock_fast_extDict_generic()
471 rep[0] = offset_1; in ZSTD_compressBlock_fast_extDict_generic()