Home
last modified time | relevance | path

Searched refs:cregex_node_t (Results 1 – 4 of 4) sorted by relevance

/third_party/iowow/src/re/
Dparse.c9 cregex_node_t *stack, *output;
16 static inline cregex_node_t* push( in push()
18 const cregex_node_t *node in push()
25 static inline cregex_node_t* drop(regex_parse_context *context) { in drop()
29 static inline cregex_node_t* consume(regex_parse_context *context) { in consume()
34 static inline cregex_node_t* concatenate( in concatenate()
36 const cregex_node_t *bottom in concatenate()
39 push(context, &(cregex_node_t) { .type = REGEX_NODE_TYPE_EPSILON }); in concatenate()
42 cregex_node_t *right = consume(context); in concatenate()
43 cregex_node_t *left = consume(context); in concatenate()
[all …]
Dcompile.c11 static int count_instructions(const cregex_node_t *node) { in count_instructions()
53 static bool node_is_anchored(const cregex_node_t *node) { in node_is_anchored()
99 const cregex_node_t *node, in compile_char_class()
132 const cregex_node_t *node in compile_context()
263 const cregex_node_t *root, in compile_node_with_program()
267 root = &(cregex_node_t) { in compile_node_with_program()
269 .captured = (cregex_node_t*) root in compile_node_with_program()
272 cregex_node_t naroot = (cregex_node_t) { in compile_node_with_program()
275 = &(cregex_node_t) { in compile_node_with_program()
281 cregex_node_t) { in compile_node_with_program()
[all …]
Dcregex.h52 } cregex_node_t; typedef
128 cregex_program_t* cregex_compile_node(const cregex_node_t *root);
134 cregex_node_t* cregex_parse(const char *pattern);
137 void cregex_parse_free(cregex_node_t *root);
Diwre.c46 cregex_node_t *node = cregex_parse(pattern); in iwre_create()