Lines Matching refs:curstat
156 f->curstat = 2; in makeinit()
170 f->curstat = cgoto(f, 2, HAT); in makeinit()
178 if (f->curstat != 2) in makeinit()
179 --(*f->posns[f->curstat]); in makeinit()
181 return f->curstat; in makeinit()
532 for (i = 2; i <= f->curstat; i++) in pmatch()
539 f->initstat = f->curstat = 2; in pmatch()
589 for (i = 2; i <= f->curstat; i++) in nematch()
596 f->initstat = f->curstat = 2; in nematch()
913 for (i = 1; i <= f->curstat; i++) { in cgoto()
927 if (f->curstat >= NSTATES-1) { in cgoto()
928 f->curstat = 2; in cgoto()
933 ++(f->curstat); in cgoto()
935 f->gototab[f->curstat][i] = 0; in cgoto()
936 xfree(f->posns[f->curstat]); in cgoto()
940 f->posns[f->curstat] = p; in cgoto()
941 f->gototab[s][c] = f->curstat; in cgoto()
945 f->out[f->curstat] = 1; in cgoto()
947 f->out[f->curstat] = 0; in cgoto()
948 return f->curstat; in cgoto()
958 for (i = 0; i <= f->curstat; i++) in freefa()