Home
last modified time | relevance | path

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

/lib/zstd/
Dzstd_opt.h426 U32 offset, rep[ZSTD_REP_NUM]; in ZSTD_compressBlock_opt_generic() local
435 rep[i] = ctx->rep[i]; in ZSTD_compressBlock_opt_generic()
450 const S32 repCur = (i == ZSTD_REP_MOVE_OPT) ? (rep[0] - 1) : rep[i]; in ZSTD_compressBlock_opt_generic()
509 opt[0].rep[i] = rep[i]; in ZSTD_compressBlock_opt_generic()
540 opt[cur].rep[2] = opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_generic()
541 opt[cur].rep[1] = opt[cur - mlen].rep[0]; in ZSTD_compressBlock_opt_generic()
542 opt[cur].rep[0] = opt[cur].off - ZSTD_REP_MOVE_OPT; in ZSTD_compressBlock_opt_generic()
544 opt[cur].rep[2] = (opt[cur].off > 1) ? opt[cur - mlen].rep[1] : opt[cur - mlen].rep[2]; in ZSTD_compressBlock_opt_generic()
545 opt[cur].rep[1] = (opt[cur].off > 0) ? opt[cur - mlen].rep[0] : opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_generic()
546 opt[cur].rep[0] = in ZSTD_compressBlock_opt_generic()
[all …]
Ddecompress.c74 U32 rep[ZSTD_REP_NUM]; member
117 ZSTD_STATIC_ASSERT(sizeof(dctx->entropy.rep) == sizeof(repStartValue)); in ZSTD_decompressBegin()
118 memcpy(dctx->entropy.rep, repStartValue, sizeof(repStartValue)); /* initial repcodes */ in ZSTD_decompressBegin()
1122 seqState.prevOffset[i] = dctx->entropy.rep[i]; in ZSTD_decompressSequences()
1147 dctx->entropy.rep[i] = (U32)(seqState.prevOffset[i]); in ZSTD_decompressSequences()
1385 seqState.prevOffset[i] = dctx->entropy.rep[i]; in ZSTD_decompressSequencesLong()
1429 dctx->entropy.rep[i] = (U32)(seqState.prevOffset[i]); in ZSTD_decompressSequencesLong()
1932 U32 const rep = ZSTD_readLE32(dictPtr); in ZSTD_loadEntropy() local
1934 if (rep == 0 || rep >= dictContentSize) in ZSTD_loadEntropy()
1936 entropy->rep[i] = rep; in ZSTD_loadEntropy()
[all …]
Dcompress.c66 U32 rep[ZSTD_REP_NUM]; member
231 cctx->rep[i] = repStartValue[i]; in ZSTD_continueCCtx()
303 zc->rep[i] = repStartValue[i]; in ZSTD_resetCCtx_advanced()
341 cctx->rep[i] = 0; in ZSTD_invalidateRepCodes()
852 zc->rep[i] = zc->repToConfirm[i]; in ZSTD_compressSequences()
1021 U32 offset_1 = cctx->rep[0], offset_2 = cctx->rep[1]; in ZSTD_compressBlock_fast_generic()
1133 U32 offset_1 = ctx->rep[0], offset_2 = ctx->rep[1]; in ZSTD_compressBlock_fast_extDict_generic()
1269 U32 offset_1 = cctx->rep[0], offset_2 = cctx->rep[1]; in ZSTD_compressBlock_doubleFast_generic()
1414 U32 offset_1 = ctx->rep[0], offset_2 = ctx->rep[1]; in ZSTD_compressBlock_doubleFast_extDict_generic()
1912 U32 offset_1 = ctx->rep[0], offset_2 = ctx->rep[1], savedOffset = 0; in ZSTD_compressBlock_lazy_generic()
[all …]
Dzstd_internal.h169 U32 rep[ZSTD_REP_NUM]; member
/lib/raid6/
Dunroll.awk12 if (/\$\$/) { rep = n } else { rep = 1 }
13 for (i = 0; i < rep; ++i) {
/lib/842/
D842_decompress.c282 u64 op, rep, tmp, bytes, total; in sw842_decompress() local
305 ret = next_bits(&p, &rep, REPEAT_BITS); in sw842_decompress()
313 rep++; in sw842_decompress()
315 if (rep * 8 > p.olen) in sw842_decompress()
318 while (rep-- > 0) { in sw842_decompress()
/lib/
Dbch.c710 const struct gf_poly *a, int *rep) in gf_poly_logrep() argument
716 rep[i] = a->c[i] ? mod_s(bch, a_log(bch, a->c[i])+l) : -1; in gf_poly_logrep()
723 const struct gf_poly *b, int *rep) in gf_poly_mod() argument
733 if (!rep) { in gf_poly_mod()
734 rep = bch->cache; in gf_poly_mod()
735 gf_poly_logrep(bch, b, rep); in gf_poly_mod()
743 m = rep[i]; in gf_poly_mod()