Home
last modified time | relevance | path

Searched refs:tre_cint_t (Results 1 – 7 of 7) sorted by relevance

/netbsd/src/external/bsd/tre/dist/lib/
Dtre-parse.c129 tre_cint_t c; in tre_expand_ctype()
136 c = (tre_cint_t) j; in tre_expand_ctype()
177 int tre_isalnum_func(tre_cint_t);
178 int tre_isalpha_func(tre_cint_t);
179 int tre_isascii_func(tre_cint_t);
180 int tre_isblank_func(tre_cint_t);
181 int tre_iscntrl_func(tre_cint_t);
182 int tre_isdigit_func(tre_cint_t);
183 int tre_isgraph_func(tre_cint_t);
184 int tre_islower_func(tre_cint_t);
[all …]
Dtre-internal.h50 typedef wint_t tre_cint_t; typedef
81 typedef short tre_cint_t; typedef
103 #define tre_tolower(c) (tre_cint_t)(tolower(c))
104 #define tre_toupper(c) (tre_cint_t)(toupper(c))
120 typedef int (*tre_ctype_t)(tre_cint_t);
152 tre_cint_t code_min;
153 tre_cint_t code_max;
Dtre-match-utils.h160 && !tre_isctype((tre_cint_t)prev_c, trans_i->u.class)) \
163 && !tre_isctype(tre_tolower((tre_cint_t)prev_c),trans_i->u.class) \
164 && !tre_isctype(tre_toupper((tre_cint_t)prev_c),trans_i->u.class)) \
166 && tre_neg_char_classes_match(trans_i->neg_classes,(tre_cint_t)prev_c,\
200 tre_neg_char_classes_match(tre_ctype_t *classes, tre_cint_t wc, int icase) in tre_neg_char_classes_match()
Dtre-match-parallel.c348 DPRINT(("%3d:%2lc/%05d |", pos - 1, (tre_cint_t)prev_c, (int)prev_c)); in tre_tnfa_run_parallel()
350 DPRINT(("%3d:%2lc/%05d |", pos, (tre_cint_t)next_c, (int)next_c)); in tre_tnfa_run_parallel()
414 if (trans_i->code_min <= (tre_cint_t)prev_c && in tre_tnfa_run_parallel()
415 trans_i->code_max >= (tre_cint_t)prev_c) in tre_tnfa_run_parallel()
Dtre-match-backtrack.c319 DPRINT(("> init %p, prev_c %lc\n", trans_i->state, (tre_cint_t)prev_c)); in tre_tnfa_run_backtrack()
387 DPRINT(("%3d:%2lc/%05d | %p ", pos, (tre_cint_t)next_c, (int)next_c, in tre_tnfa_run_backtrack()
530 if (trans_i->code_min <= (tre_cint_t)prev_c in tre_tnfa_run_backtrack()
531 && trans_i->code_max >= (tre_cint_t)prev_c) in tre_tnfa_run_backtrack()
Dtre-match-approx.c325 DPRINT(("%03d:%2lc/%05d\n", pos, (tre_cint_t)next_c, (int)next_c)); in tre_tnfa_run_approx()
682 if (trans->code_min > (tre_cint_t)prev_c in tre_tnfa_run_approx()
683 || trans->code_max < (tre_cint_t)prev_c) in tre_tnfa_run_approx()
Dtre-compile.c1625 trans->code_min = (tre_cint_t) p1->code_min; in tre_make_trans()
1626 trans->code_max = (tre_cint_t) p1->code_max; in tre_make_trans()
2044 tre_cint_t k; in tre_compile()