Home
last modified time | relevance | path

Searched refs:upState (Results 1 – 2 of 2) sorted by relevance

/dflybsd-src/contrib/libarchive/libarchive/
H A Darchive_ppmd8.c613 CPpmd_State upState; in CreateSuccessors() local
658 upState.Symbol = *(const Byte *)Ppmd8_GetPtr(p, upBranch); in CreateSuccessors()
659 SetSuccessor(&upState, upBranch + 1); in CreateSuccessors()
660 flags = (Byte)(0x10 * (p->FoundState->Symbol >= 0x40) + 0x08 * (upState.Symbol >= 0x40)); in CreateSuccessors()
663 upState.Freq = ONE_STATE(c)->Freq; in CreateSuccessors()
668 for (s = STATS(c); s->Symbol != upState.Symbol; s++); in CreateSuccessors()
671 upState.Freq = (Byte)(1 + ((2 * cf <= s0) ? (5 * cf > s0) : ((cf + 2 * s0 - 3) / s0))); in CreateSuccessors()
690 *ONE_STATE(c1) = upState; in CreateSuccessors()
H A Darchive_ppmd7.c377 CPpmd_State upState; in CreateSuccessors() local
408 upState.Symbol = *(const Byte *)Ppmd7_GetPtr(p, upBranch); in CreateSuccessors()
409 SetSuccessor(&upState, upBranch + 1); in CreateSuccessors()
412 upState.Freq = ONE_STATE(c)->Freq; in CreateSuccessors()
417 for (s = STATS(c); s->Symbol != upState.Symbol; s++); in CreateSuccessors()
420upState.Freq = (Byte)(1 + ((2 * cf <= s0) ? (5 * cf > s0) : ((2 * cf + 3 * s0 - 1) / (2 * s0)))); in CreateSuccessors()
438 *ONE_STATE(c1) = upState; in CreateSuccessors()