• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/

Lines Matching refs:parse

189  * parse structure, passed up and down to avoid global variables and
192 struct parse {
206 static void p_ere(struct parse *, int);
207 static void p_ere_exp(struct parse *);
208 static void p_str(struct parse *);
209 static void p_bre(struct parse *, int, int);
210 static int p_simp_re(struct parse *, int);
211 static int p_count(struct parse *);
212 static void p_bracket(struct parse *);
213 static void p_b_term(struct parse *, cset *);
214 static void p_b_cclass(struct parse *, cset *);
215 static void p_b_eclass(struct parse *, cset *);
216 static char p_b_symbol(struct parse *);
217 static char p_b_coll_elem(struct parse *, int);
219 static void bothcases(struct parse *, int);
220 static void ordinary(struct parse *, int);
221 static void nonnewline(struct parse *);
222 static void repeat(struct parse *, sopno, int, int);
223 static int seterr(struct parse *, int);
224 static cset *allocset(struct parse *);
225 static void freeset(struct parse *, cset *);
226 static int freezeset(struct parse *, cset *);
227 static int firstch(struct parse *, cset *);
228 static int nch(struct parse *, cset *);
229 static void mcadd(struct parse *, cset *, const char *);
230 static void mcinvert(struct parse *, cset *);
231 static void mccase(struct parse *, cset *);
234 static void categorize(struct parse *, struct re_guts *);
235 static sopno dupl(struct parse *, sopno, sopno);
236 static void doemit(struct parse *, sop, size_t);
237 static void doinsert(struct parse *, sop, size_t, sopno);
238 static void dofwd(struct parse *, sopno, sop);
239 static void enlarge(struct parse *, sopno);
240 static void stripsnug(struct parse *, struct re_guts *);
241 static void findmust(struct parse *, struct re_guts *);
242 static sopno pluscount(struct parse *, struct re_guts *);
247 * macros for use with parse structure
248 * BEWARE: these know that the parse structure is named `p' !!!
295 struct parse pa;
297 struct parse *p = &pa;
393 p_ere(struct parse *p, int stop) /* character this ERE should end at */
433 - p_ere_exp - parse one subERE, an atom possibly followed by a repetition op
436 p_ere_exp(struct parse *p)
523 * that marks a back-reference to the parse structure.
611 p_str(struct parse *p)
629 p_bre(struct parse *p,
657 - p_simp_re - parse a simple RE, an atom possibly followed by a repetition
660 p_simp_re(struct parse *p,
773 - p_count - parse a repetition count
776 p_count(struct parse *p)
791 - p_bracket - parse a bracketed character list
797 p_bracket(struct parse *p)
873 - p_b_term - parse one term of a bracketed character list
876 p_b_term(struct parse *p, cset *cs)
936 - p_b_cclass - parse a character-class name and deal with it
939 p_b_cclass(struct parse *p, cset *cs)
967 - p_b_eclass - parse an equivalence-class name and deal with it
972 p_b_eclass(struct parse *p, cset *cs)
981 - p_b_symbol - parse a character or [..]ed multicharacter collating symbol
984 p_b_symbol(struct parse *p)
999 - p_b_coll_elem - parse a collating-element name and look it up
1002 p_b_coll_elem(struct parse *p,
1047 bothcases(struct parse *p, int ch)
1070 ordinary(struct parse *p, int ch)
1089 nonnewline(struct parse *p)
1111 repeat(struct parse *p,
1181 seterr(struct parse *p, int e)
1194 allocset(struct parse *p)
1255 freeset(struct parse *p, cset *cs)
1277 freezeset(struct parse *p, cset *cs)
1308 firstch(struct parse *p, cset *cs)
1324 nch(struct parse *p, cset *cs)
1340 mcadd( struct parse *p, cset *cs, const char *cp)
1367 mcinvert(struct parse *p, cset *cs)
1380 mccase(struct parse *p, cset *cs)
1424 categorize(struct parse *p, struct re_guts *g)
1449 dupl(struct parse *p,
1475 doemit(struct parse *p, sop op, size_t opnd)
1497 doinsert(struct parse *p, sop op, size_t opnd, sopno pos)
1532 dofwd(struct parse *p, sopno pos, sop value)
1546 enlarge(struct parse *p, sopno size)
1571 stripsnug(struct parse *p, struct re_guts *g)
1597 findmust(struct parse *p, struct re_guts *g)
1675 pluscount(struct parse *p, struct re_guts *g)