Home
last modified time | relevance | path

Searched refs:prev_c (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/bsd/tre/dist/lib/
H A Dtre-match-utils.h19 prev_c = next_c; \
86 prev_c = next_c; \
117 prev_c = next_c; \
142 && (prev_c != L'\n' || !reg_newline)) \
147 && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
149 && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
152 && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
155 || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
160 && !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) \
[all …]
H A Dtre-match-parallel.c99 tre_char_t prev_c = 0, next_c = 0; in tre_tnfa_run_parallel() local
223 prev_c = (unsigned char)*(str_byte - 1); in tre_tnfa_run_parallel()
252 prev_c = *(str_byte - 2); in tre_tnfa_run_parallel()
260 prev_c = next_c; in tre_tnfa_run_parallel()
348 DPRINT(("%3d:%2lc/%05d |", pos - 1, (tre_cint_t)prev_c, (int)prev_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()
H A Dtre-match-backtrack.c189 tre_char_t prev_c = 0, next_c = 0; in tre_tnfa_run_backtrack() local
319 DPRINT(("> init %p, prev_c %lc\n", trans_i->state, (tre_cint_t)prev_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()
H A Dtre-match-approx.c195 tre_char_t prev_c = 0, next_c = 0; in tre_tnfa_run_approx() local
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()
/netbsd-src/external/bsd/unbound/dist/sldns/
H A Dparse.c35 int c, prev_c; in sldns_fget_token_l() local
55 prev_c = 0; in sldns_fget_token_l()
64 if (c == '(' && prev_c != '\\' && !quoted) { in sldns_fget_token_l()
69 prev_c = c; in sldns_fget_token_l()
73 if (c == ')' && prev_c != '\\' && !quoted) { in sldns_fget_token_l()
78 prev_c = c; in sldns_fget_token_l()
90 if (prev_c != '\\') { in sldns_fget_token_l()
94 if (c == '\"' && com == 0 && prev_c != '\\') { in sldns_fget_token_l()
124 prev_c = c; in sldns_fget_token_l()
131 prev_c = c; in sldns_fget_token_l()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/sl/
H A Dsl.c139 SL_cmd *c, *prev_c; in sl_help() local
147 prev_c = NULL; in sl_help()
150 if(prev_c) in sl_help()
151 printf ("\n\t%s%s", prev_c->usage ? prev_c->usage : "", in sl_help()
152 prev_c->usage ? "\n" : ""); in sl_help()
153 prev_c = c; in sl_help()
158 if(prev_c) in sl_help()
159 printf ("\n\t%s%s", prev_c->usage ? prev_c->usage : "", in sl_help()
160 prev_c->usage ? "\n" : ""); in sl_help()