Lines Matching refs:FoundState
303 p->FoundState = (CPpmd_State *)p->LoUnit; /* AllocUnits(p, PPMD_NUM_INDEXES - 1); */ in RestartModel()
305 p->MinContext->Stats = REF(p->FoundState); in RestartModel()
308 CPpmd_State *s = &p->FoundState[i]; in RestartModel()
345 CPpmd_Byte_Ref upBranch = (CPpmd_Byte_Ref)SUCCESSOR(p->FoundState); in CreateSuccessors()
350 ps[numPs++] = p->FoundState; in CreateSuccessors()
359 for (s = STATS(c); s->Symbol != p->FoundState->Symbol; s++); in CreateSuccessors()
423 CPpmd_Void_Ref successor, fSuccessor = SUCCESSOR(p->FoundState); in UpdateModel()
427 if (p->FoundState->Freq < MAX_FREQ / 4 && p->MinContext->Suffix != 0) in UpdateModel()
440 if (s->Symbol != p->FoundState->Symbol) in UpdateModel()
442 do { s++; } while (s->Symbol != p->FoundState->Symbol); in UpdateModel()
465 SetSuccessor(p->FoundState, REF(p->MinContext)); in UpdateModel()
469 *p->Text++ = p->FoundState->Symbol; in UpdateModel()
497 SetSuccessor(p->FoundState, successor); in UpdateModel()
501 s0 = p->MinContext->SummFreq - (ns = p->MinContext->NumStats) - (p->FoundState->Freq - 1); in UpdateModel()
547 cf = 2 * (UInt32)p->FoundState->Freq * (c->SummFreq + 6); in UpdateModel()
562 s->Symbol = p->FoundState->Symbol; in UpdateModel()
574 CPpmd_State *s = p->FoundState; in Rescale()
622 *(p->FoundState = ONE_STATE(p->MinContext)) = tmp; in Rescale()
631 p->FoundState = STATS(p->MinContext); in Rescale()
661 CTX_PTR c = CTX(SUCCESSOR(p->FoundState)); in NextContext()
670 CPpmd_State *s = p->FoundState; in Ppmd7_Update1()
676 p->FoundState = --s; in Ppmd7_Update1()
685 p->PrevSuccess = (2 * p->FoundState->Freq > p->MinContext->SummFreq); in Ppmd7_Update1_0()
688 if ((p->FoundState->Freq += 4) > MAX_FREQ) in Ppmd7_Update1_0()
695 p->FoundState->Freq = (Byte)(p->FoundState->Freq + (p->FoundState->Freq < 128 ? 1: 0)); in Ppmd7_UpdateBin()
704 if ((p->FoundState->Freq += 4) > MAX_FREQ) in Ppmd7_Update2()