Lines Matching refs:FoundState
307 p->FoundState = (CPpmd_State *)p->LoUnit; /* AllocUnits(p, PPMD_NUM_INDEXES - 1); */ in RestartModel()
309 p->MinContext->Stats = REF(p->FoundState); in RestartModel()
312 CPpmd_State *s = &p->FoundState[i]; in RestartModel()
349 CPpmd_Byte_Ref upBranch = (CPpmd_Byte_Ref)SUCCESSOR(p->FoundState); in CreateSuccessors()
354 ps[numPs++] = p->FoundState; in CreateSuccessors()
363 for (s = STATS(c); s->Symbol != p->FoundState->Symbol; s++); in CreateSuccessors()
427 CPpmd_Void_Ref successor, fSuccessor = SUCCESSOR(p->FoundState); in UpdateModel()
431 if (p->FoundState->Freq < MAX_FREQ / 4 && p->MinContext->Suffix != 0) in UpdateModel()
444 if (s->Symbol != p->FoundState->Symbol) in UpdateModel()
446 do { s++; } while (s->Symbol != p->FoundState->Symbol); in UpdateModel()
469 SetSuccessor(p->FoundState, REF(p->MinContext)); in UpdateModel()
473 *p->Text++ = p->FoundState->Symbol; in UpdateModel()
501 SetSuccessor(p->FoundState, successor); in UpdateModel()
505 s0 = p->MinContext->SummFreq - (ns = p->MinContext->NumStats) - (p->FoundState->Freq - 1); in UpdateModel()
551 cf = 2 * (UInt32)p->FoundState->Freq * (c->SummFreq + 6); in UpdateModel()
566 s->Symbol = p->FoundState->Symbol; in UpdateModel()
578 CPpmd_State *s = p->FoundState; in Rescale()
626 *(p->FoundState = ONE_STATE(p->MinContext)) = tmp; in Rescale()
635 p->FoundState = STATS(p->MinContext); in Rescale()
665 CTX_PTR c = CTX(SUCCESSOR(p->FoundState)); in NextContext()
674 CPpmd_State *s = p->FoundState; in Ppmd7_Update1()
680 p->FoundState = --s; in Ppmd7_Update1()
689 p->PrevSuccess = (2 * p->FoundState->Freq > p->MinContext->SummFreq); in Ppmd7_Update1_0()
692 if ((p->FoundState->Freq += 4) > MAX_FREQ) in Ppmd7_Update1_0()
699 p->FoundState->Freq = (Byte)(p->FoundState->Freq + (p->FoundState->Freq < 128 ? 1: 0)); in Ppmd7_UpdateBin()
708 if ((p->FoundState->Freq += 4) > MAX_FREQ) in Ppmd7_Update2()