Home | History | Annotate | Download | only in Support

Lines Matching refs:parse

53  * parse structure, passed up and down to avoid global variables and
56 struct parse {
70 static void p_ere(struct parse *, int);
71 static void p_ere_exp(struct parse *);
72 static void p_str(struct parse *);
73 static void p_bre(struct parse *, int, int);
74 static int p_simp_re(struct parse *, int);
75 static int p_count(struct parse *);
76 static void p_bracket(struct parse *);
77 static void p_b_term(struct parse *, cset *);
78 static void p_b_cclass(struct parse *, cset *);
79 static void p_b_eclass(struct parse *, cset *);
80 static char p_b_symbol(struct parse *);
81 static char p_b_coll_elem(struct parse *, int);
83 static void bothcases(struct parse *, int);
84 static void ordinary(struct parse *, int);
85 static void nonnewline(struct parse *);
86 static void repeat(struct parse *, sopno, int, int);
87 static int 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 void mcadd(struct parse *, cset *, const char *);
94 static void mcinvert(struct parse *, cset *);
95 static void mccase(struct parse *, cset *);
98 static void categorize(struct parse *, struct re_guts *);
99 static sopno dupl(struct parse *, sopno, sopno);
100 static void doemit(struct parse *, sop, size_t);
101 static void doinsert(struct parse *, sop, size_t, sopno);
102 static void dofwd(struct parse *, sopno, sop);
103 static void enlarge(struct parse *, sopno);
104 static void stripsnug(struct parse *, struct re_guts *);
105 static void findmust(struct parse *, struct re_guts *);
106 static sopno pluscount(struct parse *, struct re_guts *);
111 * macros for use with parse structure
112 * BEWARE: these know that the parse structure is named `p' !!!
159 struct parse pa;
161 struct parse *p = &pa;
257 p_ere(struct parse *p, int stop) /* character this ERE should end at */
297 - p_ere_exp - parse one subERE, an atom possibly followed by a repetition op
300 p_ere_exp(struct parse *p)
447 p_str(struct parse *p)
465 p_bre(struct parse *p,
493 - p_simp_re - parse a simple RE, an atom possibly followed by a repetition
496 p_simp_re(struct parse *p,
609 - p_count - parse a repetition count
612 parse *p)
627 - p_bracket - parse a bracketed character list
633 p_bracket(struct parse *p)
709 - p_b_term - parse one term of a bracketed character list
712 p_b_term(struct parse *p, cset *cs)
772 - p_b_cclass - parse a character-class name and deal with it
775 p_b_cclass(struct parse *p, cset *cs)
803 - p_b_eclass - parse an equivalence-class name and deal with it
808 p_b_eclass(struct parse *p, cset *cs)
817 - p_b_symbol - parse a character or [..]ed multicharacter collating symbol
820 p_b_symbol(struct parse *p)
835 - p_b_coll_elem - parse a collating-element name and look it up
838 p_b_coll_elem(struct parse *p,
883 bothcases(struct parse *p, int ch)
906 ordinary(struct parse *p, int ch)
925 nonnewline(struct parse *p)
947 repeat(struct parse *p,
1017 seterr(struct parse *p, int e)
1030 allocset(struct parse *p)
1089 freeset(struct parse *p, cset *cs)
1111 freezeset(struct parse *p, cset *cs)
1142 firstch(struct parse *p, cset *cs)
1158 nch(struct parse *p, cset *cs)
1174 mcadd( struct parse *p, cset *cs, const char *cp)
1201 mcinvert(struct parse *p, cset *cs)
1214 mccase(struct parse *p, cset *cs)
1258 categorize(struct parse *p, struct re_guts *g)
1283 dupl(struct parse *p,
1309 doemit(struct parse *p, sop op, size_t opnd)
1331 doinsert(struct parse *p, sop op, size_t opnd, sopno pos)
1366 dofwd(struct parse *p, sopno pos, sop value)
1380 enlarge(struct parse *p, sopno size)
1400 stripsnug(struct parse *p, struct re_guts *g)
1420 findmust(struct parse *p, struct re_guts *g)
1498 pluscount(struct parse *p, struct re_guts *g)