Lines Matching defs:st
37 static void packtrans(int st, CHR *tch, int *tst, int cnt, int tryit);
513 packtrans(int st, CHR *tch, int *tst, int cnt, int tryit)
518 * gotof[st] = index into nchr, nexts for state st
519 * sfall[st] = t implies t is fall back state for st
573 "use compression %d, %d vs %d\n", st, k, cnt);
587 cpackflg[st] = TRUE;
597 for (i = 0; i < st; i++) {
600 if (cpackflg[st] == 1)
627 (cpackflg[st] && ach[j] != match[ach[j]]))
644 /* cmin = state "most like" state st */
647 (void) printf("select st %d for st %d diff %d\n",
648 cmin, st, cval);
651 if (cmin != -1) { /* if we can use st cmin */
652 gotof[st] = nptr;
654 sfall[st] = cmin;
658 /* if cmin has a transition on c, then so will st */
659 /* st may be "larger" than cmin, however */
669 warning("bad transition %d %d", st, cmin);
675 (cpackflg[st] && ach[j] != match[ach[j]])) {
688 nexts[gotof[st]] = cnt = k;
694 gotof[st] = nptr;
705 gotof[st] = -1;