Lines Matching refs:match

52 #define	match	smat
63 #define match lmat
74 #define match mmat
78 struct match {
85 const char *coldp; /* can be no match starting before here */
102 static const char *dissect(struct match *, const char *, const char *,
104 static const char *backref(struct match *, const char *, const char *, sopno,
106 static const char *fast(struct match *, const char *, const char *, sopno,
108 static const char *slow(struct match *, const char *, const char *, sopno,
121 static void print(struct match *, const char *, states, int, FILE *);
124 static void at(struct match *, const char *, const char *, const char *,
158 struct match mv;
159 struct match *m = &mv;
215 /* Jump to next possible match */
234 /* match struct setup */
313 /* uh-oh... we couldn't find a subexpression-level match */
337 /* despite initial appearances, there is no match here */
373 dissect(struct match *m, const char *start, const char *stop, sopno startst,
428 /* cases where length of match is hard to find */
434 assert(rest != NULL); /* it did match */
435 /* could the rest match the rest? */
439 /* no -- try a shorter match for this one */
445 /* did innards match? */
461 assert(rest != NULL); /* it did match */
462 /* could the rest match the rest? */
466 /* no -- try a shorter match for this one */
474 for (;;) { /* find last match of innards */
482 /* last successful match */
497 assert(rest != NULL); /* it did match */
498 /* could the rest match the rest? */
502 /* no -- try a shorter match for this one */
558 backref(struct match *m, const char *start, const char *stop, sopno startst,
674 return (NULL); /* not enough left to match */
756 fast(struct match *m, const char *start, const char *stop, sopno startst,
767 const char *coldp; /* last p after which no match was underway */
858 slow(struct match *m, const char *start, const char *stop, sopno startst,
869 const char *matchp; /* last p at which a match ended */
976 /* only characters can match */
1072 print(struct match *m, const char *caption, states st, int ch, FILE *d)
1096 at(struct match *m, const char *title, const char *start, const char *stop,
1139 #undef match