Home
last modified time | relevance | path

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

/freebsd/contrib/libarchive/libarchive/
H A Darchive_ppmd8.c363 p->MinContext->NumStats = 255; in RestartModel()
415 unsigned i = ctx->NumStats, escFreq, sumFreq, flags; in Refresh()
449 if (!ctx->NumStats) in CutOff()
465 ctx->Stats = STATS_REF(MoveUnitsUp(p, STATS(ctx), tmp = ((unsigned)ctx->NumStats + 2) >> 1)); in CutOff()
467 for (s = STATS(ctx) + (i = ctx->NumStats); s >= STATS(ctx); s--) in CutOff()
479 if (i != ctx->NumStats && order) in CutOff()
481 ctx->NumStats = (Byte)i; in CutOff()
507 if (!ctx->NumStats) in RemoveBinContexts()
516 if (!SUCCESSOR(s) && (!SUFFIX(ctx)->NumStats || SUFFIX(ctx)->Flags == 0xFF)) in RemoveBinContexts()
525 for (s = STATS(ctx) + ctx->NumStats; s >= STATS(ctx); s--) in RemoveBinContexts()
[all …]
H A Darchive_ppmd7.c23 p->NS2BSIndx[Ppmd7_GetContext(p, p->MinContext->Suffix)->NumStats - 1] + \
335 p->MinContext->NumStats = 256; in RestartModel()
391 if (c->NumStats != 1) in CreateSuccessors()
411 if (c->NumStats == 1) in CreateSuccessors()
419 s0 = c->SummFreq - c->NumStats - cf; in CreateSuccessors()
437 c1->NumStats = 1; in CreateSuccessors()
464 if (c->NumStats == 1) in UpdateModel()
534 s0 = p->MinContext->SummFreq - (ns = p->MinContext->NumStats) - (p->FoundState->Freq - 1); in UpdateModel()
540 if ((ns1 = c->NumStats) != 1) in UpdateModel()
597 c->NumStats = (UInt16)(ns1 + 1); in UpdateModel()
[all …]
H A Darchive_ppmd8_private.h29 Byte NumStats; member
114 p->NS2BSIndx[Ppmd8_GetContext(p, p->MinContext->Suffix)->NumStats] + \
H A Darchive_ppmd7_private.h36 UInt16 NumStats; member