Lines Matching refs:reg_errcode_t

24 static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern,
29 static reg_errcode_t init_dfa (re_dfa_t *dfa, size_t pat_len);
34 static reg_errcode_t create_initial_state (re_dfa_t *dfa);
38 static reg_errcode_t analyze (regex_t *preg);
39 static reg_errcode_t preorder (bin_tree_t *root,
40 reg_errcode_t (fn (void *, bin_tree_t *)),
42 static reg_errcode_t postorder (bin_tree_t *root,
43 reg_errcode_t (fn (void *, bin_tree_t *)),
45 static reg_errcode_t optimize_subexps (void *extra, bin_tree_t *node);
46 static reg_errcode_t lower_subexps (void *extra, bin_tree_t *node);
47 static bin_tree_t *lower_subexp (reg_errcode_t *err, regex_t *preg,
49 static reg_errcode_t calc_first (void *extra, bin_tree_t *node);
50 static reg_errcode_t calc_next (void *extra, bin_tree_t *node);
51 static reg_errcode_t link_nfa_nodes (void *extra, bin_tree_t *node);
55 static reg_errcode_t calc_eclosure (re_dfa_t *dfa);
56 static reg_errcode_t calc_eclosure_iter (re_node_set *new_set, re_dfa_t *dfa,
58 static reg_errcode_t calc_inveclosure (re_dfa_t *dfa);
64 reg_syntax_t syntax, reg_errcode_t *err);
67 Idx nest, reg_errcode_t *err);
70 Idx nest, reg_errcode_t *err);
73 Idx nest, reg_errcode_t *err);
76 Idx nest, reg_errcode_t *err);
79 reg_syntax_t syntax, reg_errcode_t *err);
82 reg_errcode_t *err);
83 static reg_errcode_t parse_bracket_element (bracket_elem_t *elem,
89 static reg_errcode_t parse_bracket_symbol (bracket_elem_t *elem,
93 static reg_errcode_t build_equiv_class (bitset_t sbcset,
97 static reg_errcode_t build_charclass (RE_TRANSLATE_TYPE trans,
104 static reg_errcode_t build_equiv_class (bitset_t sbcset,
106 static reg_errcode_t build_charclass (RE_TRANSLATE_TYPE trans,
115 bool non_match, reg_errcode_t *err);
124 static reg_errcode_t free_tree (void *extra, bin_tree_t *node);
125 static reg_errcode_t mark_opt_subexp (void *extra, bin_tree_t *node);
220 reg_errcode_t ret; in re_compile_pattern()
463 reg_errcode_t ret; in regcomp()
670 reg_errcode_t ret; in re_comp()
725 static reg_errcode_t
729 reg_errcode_t err = REG_NOERROR; in re_compile_internal()
826 static reg_errcode_t
996 static reg_errcode_t
1000 reg_errcode_t err; in create_initial_state()
1040 reg_errcode_t merge_err in create_initial_state()
1162 static reg_errcode_t
1166 reg_errcode_t ret; in analyze()
1225 static reg_errcode_t
1226 postorder (bin_tree_t *root, reg_errcode_t (fn (void *, bin_tree_t *)), in postorder()
1243 reg_errcode_t err = fn (extra, node); in postorder()
1257 static reg_errcode_t
1258 preorder (bin_tree_t *root, reg_errcode_t (fn (void *, bin_tree_t *)), in preorder()
1265 reg_errcode_t err = fn (extra, node); in preorder()
1290 static reg_errcode_t
1321 static reg_errcode_t
1325 reg_errcode_t err = REG_NOERROR; in lower_subexps()
1344 lower_subexp (reg_errcode_t *err, regex_t *preg, bin_tree_t *node) in lower_subexp()
1381 static reg_errcode_t
1403 static reg_errcode_t
1426 static reg_errcode_t
1431 reg_errcode_t err = REG_NOERROR; in link_nfa_nodes()
1486 static reg_errcode_t
1555 reg_errcode_t err; in duplicate_node_closure()
1627 static reg_errcode_t
1651 static reg_errcode_t
1661 reg_errcode_t err; in calc_eclosure()
1692 static reg_errcode_t
1695 reg_errcode_t err; in calc_eclosure_iter()
2118 reg_errcode_t *err) in parse()
2152 reg_syntax_t syntax, Idx nest, reg_errcode_t *err) in parse_reg_exp()
2201 reg_syntax_t syntax, Idx nest, reg_errcode_t *err) in parse_branch()
2246 reg_syntax_t syntax, Idx nest, reg_errcode_t *err) in parse_expression()
2480 reg_syntax_t syntax, Idx nest, reg_errcode_t *err) in parse_sub_exp()
2523 re_token_t *token, reg_syntax_t syntax, reg_errcode_t *err) in parse_dup_op()
2687 static reg_errcode_t
2815 static reg_errcode_t
2940 static inline reg_errcode_t
3029 static inline reg_errcode_t
3096 reg_syntax_t syntax, reg_errcode_t *err) in parse_bracket_exp()
3185 reg_errcode_t ret; in parse_bracket_exp()
3408 static reg_errcode_t
3448 static reg_errcode_t
3495 static reg_errcode_t
3580 static reg_errcode_t
3667 reg_errcode_t *err) in build_charclass_op()
3674 reg_errcode_t ret; in build_charclass_op()
3857 static reg_errcode_t
3884 static reg_errcode_t