Lines Matching defs:alt
44 rec_alt *alt; /* Main alternatives list */
76 orec_comp(rec_alt *alt, int flags)
80 inf.alt = alt;
85 orec_alt(&inf, alt);
107 orec_alt(orec_inf *inf, rec_alt *alt)
109 if (alt) {
110 rec_alt *ptr = alt;
161 for (ptr = alt; ptr; ptr = ptr->next) {
167 return (orec_str_list(inf, alt, str, count));
170 else if (alt == inf->alt && alt->pat && alt->pat->rep == NULL) {
172 switch (alt->pat->type) {
176 alt->pat->type = Rep_SearchLiteral;
179 alt->pat->type = Rep_SearchCaseLiteral;
182 alt->pat->type = Rep_SearchString;
185 alt->pat->type = Rep_SearchCaseString;
192 while (alt) {
193 orec_pat(inf, alt->pat);
194 alt = alt->next;
342 if (pat->data.grp->alt) {
343 for (pat = pat->data.grp->alt->pat; pat; pat = pat->next) {
380 pat->data.grp->alt &&
381 pat->data.grp->alt->pat)
382 orec_pat_bad_forward_rpt(inf, pat->data.grp->alt->pat);
393 orec_alt(inf, grp->alt);
576 orec_str_list(orec_inf *inf, rec_alt *alt, int str, int count)
607 for (i = tlen = 0, ptr = alt; i < count; i++) {
652 alt->pat = pat;
653 alt->next = NULL;