Home
last modified time | relevance | path

Searched refs:offset_2 (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_double_fast.c69 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_noDict_generic() local
103 if (offset_2 > maxRep) offsetSaved = offset_2, offset_2 = 0; in ZSTD_compressBlock_doubleFast_noDict_generic()
180 rep[1] = offset_2 ? offset_2 : offsetSaved; in ZSTD_compressBlock_doubleFast_noDict_generic()
206 offset_2 = offset_1; in ZSTD_compressBlock_doubleFast_noDict_generic()
239 && ( (offset_2>0) in ZSTD_compressBlock_doubleFast_noDict_generic()
240 & (MEM_read32(ip) == MEM_read32(ip - offset_2)) )) { in ZSTD_compressBlock_doubleFast_noDict_generic()
242 size_t const rLength = ZSTD_count(ip+4, ip+4-offset_2, ien in ZSTD_compressBlock_doubleFast_noDict_generic()
277 U32 offset_1=rep[0], offset_2=rep[1]; ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
555 U32 offset_1=rep[0], offset_2=rep[1]; ZSTD_compressBlock_doubleFast_extDict_generic() local
[all...]
H A Dzstd_fast.c389 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_dictMatchState_generic() local
422 assert(offset_2 <= dictAndPrefixLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
460 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
475 offset_2 = offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic()
493 U32 const repIndex2 = current2 - offset_2; in ZSTD_compressBlock_fast_dictMatchState_generic()
501 U32 tmpOffset = offset_2; offset_2 = offset_1; offset_1 = tmpOffset; /* swap offset_2 <=> offset_1 */ in ZSTD_compressBlock_fast_dictMatchState_generic()
515 rep[1] = offset_2 ? offset_2 in ZSTD_compressBlock_fast_dictMatchState_generic()
572 U32 offset_1=rep[0], offset_2=rep[1]; ZSTD_compressBlock_fast_extDict_generic() local
[all...]
H A Dzstd_lazy.c1494 U32 offset_1 = rep[0], offset_2 = rep[1], savedOffset=0; in ZSTD_compressBlock_lazy_generic() local
1515 if (offset_2 > maxRep) savedOffset = offset_2, offset_2 = 0; in ZSTD_compressBlock_lazy_generic()
1522 assert(offset_2 <= dictAndPrefixLength); in ZSTD_compressBlock_lazy_generic()
1668 offset_2 = offset_1; offset_1 = (U32)STORED_OFFSET(offcode); in ZSTD_compressBlock_lazy_generic()
1681 U32 const repIndex = current2 - offset_2; in ZSTD_compressBlock_lazy_generic()
1689 offcode = offset_2; offset_2 = offset_1; offset_1 = (U32)offcode; /* swap offset_2 < in ZSTD_compressBlock_lazy_generic()
1885 U32 offset_1 = rep[0], offset_2 = rep[1]; ZSTD_compressBlock_lazy_extDict_generic() local
[all...]
/kernel/linux/linux-5.10/lib/zstd/
H A Dcompress.c1021 U32 offset_1 = cctx->rep[0], offset_2 = cctx->rep[1]; in ZSTD_compressBlock_fast_generic() local
1028 if (offset_2 > maxRep) in ZSTD_compressBlock_fast_generic()
1029 offsetSaved = offset_2, offset_2 = 0; in ZSTD_compressBlock_fast_generic()
1060 offset_2 = offset_1; in ZSTD_compressBlock_fast_generic()
1075 while ((ip <= ilimit) && ((offset_2 > 0) & (ZSTD_read32(ip) == ZSTD_read32(ip - offset_2)))) { in ZSTD_compressBlock_fast_generic()
1077 size_t const rLength = ZSTD_count(ip + 4, ip + 4 - offset_2, iend) + 4; in ZSTD_compressBlock_fast_generic()
1079 U32 const tmpOff = offset_2; in ZSTD_compressBlock_fast_generic()
1080 offset_2 in ZSTD_compressBlock_fast_generic()
1133 U32 offset_1 = ctx->rep[0], offset_2 = ctx->rep[1]; ZSTD_compressBlock_fast_extDict_generic() local
1269 U32 offset_1 = cctx->rep[0], offset_2 = cctx->rep[1]; ZSTD_compressBlock_doubleFast_generic() local
1414 U32 offset_1 = ctx->rep[0], offset_2 = ctx->rep[1]; ZSTD_compressBlock_doubleFast_extDict_generic() local
1912 U32 offset_1 = ctx->rep[0], offset_2 = ctx->rep[1], savedOffset = 0; ZSTD_compressBlock_lazy_generic() local
2080 U32 offset_1 = ctx->rep[0], offset_2 = ctx->rep[1]; ZSTD_compressBlock_lazy_extDict_generic() local
[all...]

Completed in 12 milliseconds