Home | History | Annotate | Download | only in Support

Lines Matching refs:parse

61  * parse structure, passed up and down to avoid global variables and
64 struct parse {
78 static void p_ere(struct parse *, int);
79 static void p_ere_exp(struct parse *);
80 static void p_str(struct parse *);
81 static void p_bre(struct parse *, int, int);
82 static int p_simp_re(struct parse *, int);
83 static int p_count(struct parse *);
84 static void p_bracket(struct parse *);
85 static void p_b_term(struct parse *, cset *);
86 static void p_b_cclass(struct parse *, cset *);
87 static void p_b_eclass(struct parse *, cset *);
88 static char p_b_symbol(struct parse *);
89 static char p_b_coll_elem(struct parse *, int);
91 static void bothcases(struct parse *, int);
92 static void ordinary(struct parse *, int);
93 static void nonnewline(struct parse *);
94 static void repeat(struct parse *, sopno, int, int);
95 static int seterr(struct parse *, int);
96 static cset *allocset(struct parse *);
97 static void freeset(struct parse *, cset *);
98 static int freezeset(struct parse *, cset *);
99 static int firstch(struct parse *, cset *);
100 static int nch(struct parse *, cset *);
101 static void mcadd(struct parse *, cset *, const char *);
102 static void mcinvert(struct parse *, cset *);
103 static void mccase(struct parse *, cset *);
106 static void categorize(struct parse *, struct re_guts *);
107 static sopno dupl(struct parse *, sopno, sopno);
108 static void doemit(struct parse *, sop, size_t);
109 static void doinsert(struct parse *, sop, size_t, sopno);
110 static void dofwd(struct parse *, sopno, sop);
111 static void enlarge(struct parse *, sopno);
112 static void stripsnug(struct parse *, struct re_guts *);
113 static void findmust(struct parse *, struct re_guts *);
114 static sopno pluscount(struct parse *, struct re_guts *);
119 * macros for use with parse structure
120 * BEWARE: these know that the parse structure is named `p' !!!
167 struct parse pa;
169 struct parse *p = &pa;
265 p_ere(struct parse *p, int stop) /* character this ERE should end at */
305 - p_ere_exp - parse one subERE, an atom possibly followed by a repetition op
308 p_ere_exp(struct parse *p)
395 * that marks a back-reference to the parse structure.
483 p_str(struct parse *p)
501 p_bre(struct parse *p,
529 - p_simp_re - parse a simple RE, an atom possibly followed by a repetition
532 p_simp_re(struct parse *p,
645 - p_count - parse a repetition count
648 p_count(struct parse *p)
663 - p_bracket - parse a bracketed character list
669 p_bracket(struct parse *p)
745 - p_b_term - parse one term of a bracketed character list
748 p_b_term(struct parse *p, cset *cs)
808 - p_b_cclass - parse a character-class name and deal with it
811 p_b_cclass(struct parse *p, cset *cs)
839 - p_b_eclass - parse an equivalence-class name and deal with it
844 p_b_eclass(struct parse *p, cset *cs)
853 - p_b_symbol - parse a character or [..]ed multicharacter collating symbol
856 p_b_symbol(struct parse *p)
871 - p_b_coll_elem - parse a collating-element name and look it up
874 p_b_coll_elem(struct parse *p,
919 bothcases(struct parse *p, int ch)
942 ordinary(struct parse *p, int ch)
961 nonnewline(struct parse *p)
983 repeat(struct parse *p,
1053 seterr(struct parse *p, int e)
1066 allocset(struct parse *p)
1127 freeset(struct parse *p, cset *cs)
1149 freezeset(struct parse *p, cset *cs)
1180 firstch(struct parse *p, cset *cs)
1196 nch(struct parse *p, cset *cs)
1212 mcadd( struct parse *p, cset *cs, const char *cp)
1239 mcinvert(struct parse *p, cset *cs)
1252 mccase(struct parse *p, cset *cs)
1296 categorize(struct parse *p, struct re_guts *g)
1321 dupl(struct parse *p,
1347 doemit(struct parse *p, sop op, size_t opnd)
1369 doinsert(struct parse *p, sop op, size_t opnd, sopno pos)
1404 dofwd(struct parse *p, sopno pos, sop value)
1418 enlarge(struct parse *p, sopno size)
1443 stripsnug(struct parse *p, struct re_guts *g)
1469 findmust(struct parse *p, struct re_guts *g)
1547 pluscount(struct parse *p, struct re_guts *g)