Searched refs:tnfa (Results 1 - 3 of 3) sorted by relevance

/fuchsia/zircon/third_party/ulib/musl/third_party/tre/
H A Dregexec.c44 static void tre_fill_pmatch(size_t nmatch, regmatch_t pmatch[], int cflags, const tre_tnfa_t* tnfa,
79 #define CHECK_CHAR_CLASSES(trans_i, tnfa, eflags) \
80 (((trans_i->assertions & ASSERT_CHAR_CLASS) && !(tnfa->cflags & REG_ICASE) && \
82 ((trans_i->assertions & ASSERT_CHAR_CLASS) && (tnfa->cflags & REG_ICASE) && \
87 tnfa->cflags & REG_ICASE)))
150 static reg_errcode_t tre_tnfa_run_parallel(const tre_tnfa_t* tnfa, const void* string, argument
162 int reg_newline = tnfa->cflags & REG_NEWLINE;
184 num_tags = tnfa->num_tags;
195 rbytes = sizeof(*reach_next) * (tnfa->num_states + 1);
196 pbytes = sizeof(*reach_pos) * tnfa
513 tre_tnfa_run_backtrack(const tre_tnfa_t* tnfa, const void* string, int* match_tags, int eflags, int* match_end_ofs) argument
800 tre_fill_pmatch(size_t nmatch, regmatch_t pmatch[], int cflags, const tre_tnfa_t* tnfa, int* tags, int match_eo) argument
860 tre_tnfa_t* tnfa = (void*)preg->TRE_REGEX_T_FIELD; local
[all...]
H A Dregcomp.c1106 static void tre_purge_regset(int* regset, tre_tnfa_t* tnfa, int tag) { argument
1113 tnfa->submatch_data[id].so_tag = tag;
1115 tnfa->submatch_data[id].eo_tag = tag;
1123 tre_tnfa_t* tnfa) {
1129 int first_pass = (mem == NULL || tnfa == NULL);
1142 tnfa->end_tag = 0;
1143 tnfa->minimal_tags[0] = -1;
1146 regset = xmalloc(sizeof(*regset) * ((tnfa->num_submatches + 1) * 2));
1152 parents = xmalloc(sizeof(*parents) * (tnfa->num_submatches + 1));
1159 saved_states = xmalloc(sizeof(*saved_states) * (tnfa
1122 tre_add_tags(tre_mem_t mem, tre_stack_t* stack, tre_ast_node_t* tree, tre_tnfa_t* tnfa) argument
2445 tre_tnfa_t* tnfa = NULL; local
2638 tre_tnfa_t* tnfa; local
[all...]
H A Dtre.h146 typedef struct tnfa tre_tnfa_t;
148 struct tnfa { struct

Completed in 29 milliseconds