Searched refs:offset_1 (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/lib/zstd/compress/ |
D | zstd_fast.c | 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 [all …]
|
D | zstd_double_fast.c | 71 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_generic() local 115 if (offset_1 > maxRep) offsetSaved = offset_1, offset_1 = 0; in ZSTD_compressBlock_doubleFast_generic() 120 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_doubleFast_generic() 137 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_doubleFast_generic() 157 && ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1)))) { in ZSTD_compressBlock_doubleFast_generic() 158 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_generic() 248 offset_2 = offset_1; in ZSTD_compressBlock_doubleFast_generic() 249 offset_1 = offset; in ZSTD_compressBlock_doubleFast_generic() 281 …U32 tmpOffset = offset_2; offset_2 = offset_1; offset_1 = tmpOffset; /* swap offset_2 <=> offset… in ZSTD_compressBlock_doubleFast_generic() 298 …U32 const tmpOff = offset_2; offset_2 = offset_1; offset_1 = tmpOff; /* swap offset_2 <=> offset_… in ZSTD_compressBlock_doubleFast_generic() [all …]
|
D | zstd_lazy.c | 903 U32 offset_1 = rep[0], offset_2 = rep[1], savedOffset=0; in ZSTD_compressBlock_lazy_generic() local 929 if (offset_1 > maxRep) savedOffset = offset_1, offset_1 = 0; in ZSTD_compressBlock_lazy_generic() 934 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_lazy_generic() 952 const U32 repIndex = (U32)(ip - base) + 1 - offset_1; in ZSTD_compressBlock_lazy_generic() 965 && ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1)))) { in ZSTD_compressBlock_lazy_generic() 966 matchLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic() 987 && (offset) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic() 988 size_t const mlRep = ZSTD_count(ip+4, ip+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic() 995 const U32 repIndex = (U32)(ip - base) - offset_1; in ZSTD_compressBlock_lazy_generic() 1022 && (offset) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic() [all …]
|