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