Lines Matching refs:nfa
75 * Change all references to a dfa: this is actually an nfa.
209 * constant 16 bytes in the internal nfa, and re_exec does a single
274 static CHAR nfa[MAXNFA]; /* automaton.. */
292 #define badpat(x) (*nfa = END, x)
299 register CHAR *mp=nfa; /* nfa pointer */
301 register CHAR *sp=nfa; /* another one.. */
518 * execute nfa to find a match.
520 * special cases: (nfa[0])
543 register CHAR *ap = nfa;
595 * special case optimizations: (nfa[n], nfa[n+1])
609 * execute the remaining nfa recursively, same as
736 re_fail("closure: bad nfa.", *ap);
749 re_fail("re_exec: bad nfa.", op);
839 * symbolic - produce a symbolic dump of the nfa
846 nfadump(nfa);
912 (void) printf("bad nfa. opcode %o\n", ap[-1]);