Lines Matching refs:FoundState
305 p->FoundState = (CPpmd_State *)p->LoUnit; /* AllocUnits(p, PPMD_NUM_INDEXES - 1); */ in RestartModel()
307 p->MinContext->Stats = REF(p->FoundState); in RestartModel()
310 CPpmd_State *s = &p->FoundState[i]; in RestartModel()
347 CPpmd_Byte_Ref upBranch = (CPpmd_Byte_Ref)SUCCESSOR(p->FoundState); in CreateSuccessors()
352 ps[numPs++] = p->FoundState; in CreateSuccessors()
361 for (s = STATS(c); s->Symbol != p->FoundState->Symbol; s++); in CreateSuccessors()
425 CPpmd_Void_Ref successor, fSuccessor = SUCCESSOR(p->FoundState); in UpdateModel()
429 if (p->FoundState->Freq < MAX_FREQ / 4 && p->MinContext->Suffix != 0) in UpdateModel()
442 if (s->Symbol != p->FoundState->Symbol) in UpdateModel()
444 do { s++; } while (s->Symbol != p->FoundState->Symbol); in UpdateModel()
467 SetSuccessor(p->FoundState, REF(p->MinContext)); in UpdateModel()
471 *p->Text++ = p->FoundState->Symbol; in UpdateModel()
499 SetSuccessor(p->FoundState, successor); in UpdateModel()
503 s0 = p->MinContext->SummFreq - (ns = p->MinContext->NumStats) - (p->FoundState->Freq - 1); in UpdateModel()
549 cf = 2 * (UInt32)p->FoundState->Freq * (c->SummFreq + 6); in UpdateModel()
564 s->Symbol = p->FoundState->Symbol; in UpdateModel()
576 CPpmd_State *s = p->FoundState; in Rescale()
624 *(p->FoundState = ONE_STATE(p->MinContext)) = tmp; in Rescale()
633 p->FoundState = STATS(p->MinContext); in Rescale()
663 CTX_PTR c = CTX(SUCCESSOR(p->FoundState)); in NextContext()
672 CPpmd_State *s = p->FoundState; in Ppmd7_Update1()
678 p->FoundState = --s; in Ppmd7_Update1()
687 p->PrevSuccess = (2 * p->FoundState->Freq > p->MinContext->SummFreq); in Ppmd7_Update1_0()
690 if ((p->FoundState->Freq += 4) > MAX_FREQ) in Ppmd7_Update1_0()
697 p->FoundState->Freq = (Byte)(p->FoundState->Freq + (p->FoundState->Freq < 128 ? 1: 0)); in Ppmd7_UpdateBin()
706 if ((p->FoundState->Freq += 4) > MAX_FREQ) in Ppmd7_Update2()