Lines Matching refs:context
1080 unsigned int context; in acquire_init_state_context() local
1081 context = re_string_context_at (&mctx->input, idx - 1, mctx->eflags); in acquire_init_state_context()
1082 if (IS_WORD_CONTEXT (context)) in acquire_init_state_context()
1084 else if (IS_ORDINARY_CONTEXT (context)) in acquire_init_state_context()
1086 else if (IS_BEGBUF_CONTEXT (context) && IS_NEWLINE_CONTEXT (context)) in acquire_init_state_context()
1088 else if (IS_NEWLINE_CONTEXT (context)) in acquire_init_state_context()
1090 else if (IS_BEGBUF_CONTEXT (context)) in acquire_init_state_context()
1095 context); in acquire_init_state_context()
1248 check_halt_node_context (const re_dfa_t *dfa, Idx node, unsigned int context) in check_halt_node_context() argument
1256 if (NOT_SATISFY_NEXT_CONSTRAINT (constraint, context)) in check_halt_node_context()
1271 unsigned int context; in check_halt_state_context() local
1275 context = re_string_context_at (&mctx->input, idx, mctx->eflags); in check_halt_state_context()
1277 if (check_halt_node_context (mctx->dfa, state->nodes.elems[i], context)) in check_halt_state_context()
2328 unsigned int context; in transit_state() local
2329 context in transit_state()
2333 if (IS_WORD_CONTEXT (context)) in transit_state()
2370 unsigned int context; in merge_state_with_log() local
2391 context = re_string_context_at (&mctx->input, in merge_state_with_log()
2395 = re_acquire_state_context (err, dfa, &next_nodes, context); in merge_state_with_log()
2502 unsigned int context;
2521 context = re_string_context_at (&mctx->input, cur_str_idx, mctx->eflags);
2522 next_state = re_acquire_state_context (err, dfa, &next_nodes, context);
2547 unsigned int context; in transit_state_mb() local
2555 context = re_string_context_at (&mctx->input, in transit_state_mb()
2559 context)) in transit_state_mb()
2591 context = re_string_context_at (&mctx->input, dest_idx - 1, in transit_state_mb()
2594 = re_acquire_state_context (&err, dfa, &dest_nodes, context); in transit_state_mb()
2617 unsigned int context; in transit_state_bkref() local
2627 context = re_string_context_at (&mctx->input, cur_str_idx, in transit_state_bkref()
2629 if (NOT_SATISFY_NEXT_CONSTRAINT (node->constraint, context)) in transit_state_bkref()
2659 context = re_string_context_at (&mctx->input, dest_str_idx - 1, in transit_state_bkref()
2669 context); in transit_state_bkref()
2686 = re_acquire_state_context (&err, dfa, &dest_nodes, context); in transit_state_bkref()
2930 unsigned int context; in check_arrival() local
2960 context = re_string_context_at (&mctx->input, str_idx - 1, mctx->eflags); in check_arrival()
2997 cur_state = re_acquire_state_context (&err, dfa, &next_nodes, context); in check_arrival()
3047 context = re_string_context_at (&mctx->input, str_idx - 1, mctx->eflags); in check_arrival()
3048 cur_state = re_acquire_state_context (&err, dfa, &next_nodes, context); in check_arrival()
4116 unsigned int context = re_string_context_at (&mctx->input, idx, in check_node_accept() local
4118 if (NOT_SATISFY_NEXT_CONSTRAINT (node->constraint, context)) in check_node_accept()