Lines Matching refs:parse

55 struct parse {  struct
69 static void p_ere(struct parse *, int); argument
70 static void p_ere_exp(struct parse *);
71 static void p_str(struct parse *);
72 static void p_bre(struct parse *, int, int);
73 static int p_simp_re(struct parse *, int);
74 static int p_count(struct parse *);
75 static void p_bracket(struct parse *);
76 static void p_b_term(struct parse *, cset *);
77 static void p_b_cclass(struct parse *, cset *);
78 static void p_b_eclass(struct parse *, cset *);
79 static char p_b_symbol(struct parse *);
80 static char p_b_coll_elem(struct parse *, int);
82 static void bothcases(struct parse *, int);
83 static void ordinary(struct parse *, int);
84 static void backslash(struct parse *, int);
85 static void nonnewline(struct parse *);
86 static void repeat(struct parse *, sopno, int, int);
87 static void seterr(struct parse *, int);
88 static cset *allocset(struct parse *);
89 static void freeset(struct parse *, cset *);
90 static int freezeset(struct parse *, cset *);
91 static int firstch(struct parse *, cset *);
92 static int nch(struct parse *, cset *);
93 static sopno dupl(struct parse *, sopno, sopno);
94 static void doemit(struct parse *, sop, size_t);
95 static void doinsert(struct parse *, sop, size_t, sopno);
96 static void dofwd(struct parse *, sopno, sop);
97 static int enlarge(struct parse *, sopno);
98 static void stripsnug(struct parse *, struct re_guts *);
99 static void findmust(struct parse *, struct re_guts *);
100 static sopno pluscount(struct parse *, struct re_guts *);
143 struct parse pa; in regcomp()
145 struct parse *p = &pa; in regcomp()
236 p_ere(struct parse *p, int stop) /* character this ERE should end at */ in p_ere()
279 p_ere_exp(struct parse *p) in p_ere_exp()
416 p_str(struct parse *p) in p_str()
434 p_bre(struct parse *p, in p_bre()
465 p_simp_re(struct parse *p, in p_simp_re()
589 p_count(struct parse *p) in p_count()
610 p_bracket(struct parse *p) in p_bracket()
685 p_b_term(struct parse *p, cset *cs) in p_b_term()
748 p_b_cclass(struct parse *p, cset *cs) in p_b_cclass()
779 p_b_eclass(struct parse *p, cset *cs) in p_b_eclass()
791 p_b_symbol(struct parse *p) in p_b_symbol()
809 p_b_coll_elem(struct parse *p, in p_b_coll_elem()
854 bothcases(struct parse *p, int ch) in bothcases()
877 ordinary(struct parse *p, int ch) in ordinary()
889 backslash(struct parse *p, int ch) in backslash()
910 nonnewline(struct parse *p) in nonnewline()
928 repeat(struct parse *p, in repeat()
998 seterr(struct parse *p, int e) in seterr()
1010 allocset(struct parse *p) in allocset()
1067 freeset(struct parse *p, cset *cs) in freeset()
1089 freezeset(struct parse *p, cset *cs) in freezeset()
1120 firstch(struct parse *p, cset *cs) in firstch()
1136 nch(struct parse *p, cset *cs) in nch()
1152 dupl(struct parse *p, in dupl()
1177 doemit(struct parse *p, sop op, size_t opnd) in doemit()
1199 doinsert(struct parse *p, sop op, size_t opnd, sopno pos) in doinsert()
1234 dofwd(struct parse *p, sopno pos, sop value) in dofwd()
1248 enlarge(struct parse *p, sopno size) in enlarge()
1269 stripsnug(struct parse *p, struct re_guts *g) in stripsnug()
1289 findmust(struct parse *p, struct re_guts *g) in findmust()
1367 pluscount(struct parse *p, struct re_guts *g) in pluscount()