Lines Matching +defs:match +defs:type
41 #define type(v) (v)->nobj /* badly overloaded here */
208 switch (type(p)) {
226 FATAL("can't happen: unknown type %d in penter", type(p));
233 switch (type(p)) {
249 FATAL("can't happen: unknown type %d in freetr", type(p));
367 switch (type(v)) {
370 f->re[info(v)].ltype = type(v);
400 FATAL("can't happen: unknown type %d in cfoll", type(v));
409 switch (type(p)) {
420 if (type(p) == EMPTYRE) {
428 if (type(p) == CCL && (*(char *) right(p)) == '\0')
446 FATAL("can't happen: unknown type %d in first", type(p)); /* can't happen */
454 if (type(v) == FINAL)
457 switch (type(p)) {
491 int match(fa *f, const char *p0) /* shortest match ? */
511 int pmatch(fa *f, const char *p0) /* longest match, for sub */
542 goto nextin; /* no match */
570 int nematch(fa *f, const char *p0) /* non-empty match, for sub */
599 goto nnextin; /* no nonempty match */