Home
last modified time | relevance | path

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

/ndk/sources/host-tools/sed-4.2.1/lib/
Dregex_internal.h348 unsigned int constraint : 10; /* context constraint */ member
526 #define NOT_SATISFY_PREV_CONSTRAINT(constraint,context) \ argument
527 ((((constraint) & PREV_WORD_CONSTRAINT) && !IS_WORD_CONTEXT (context)) \
528 || ((constraint & PREV_NOTWORD_CONSTRAINT) && IS_WORD_CONTEXT (context)) \
529 || ((constraint & PREV_NEWLINE_CONSTRAINT) && !IS_NEWLINE_CONTEXT (context))\
530 || ((constraint & PREV_BEGBUF_CONSTRAINT) && !IS_BEGBUF_CONTEXT (context)))
532 #define NOT_SATISFY_NEXT_CONSTRAINT(constraint,context) \ argument
533 ((((constraint) & NEXT_WORD_CONSTRAINT) && !IS_WORD_CONTEXT (context)) \
534 || (((constraint) & NEXT_NOTWORD_CONSTRAINT) && IS_WORD_CONTEXT (context)) \
535 || (((constraint) & NEXT_NEWLINE_CONSTRAINT) && !IS_NEWLINE_CONTEXT (context)) \
[all …]
Dregcomp.c51 static Idx duplicate_node (re_dfa_t *dfa, Idx org_idx, unsigned int constraint);
53 unsigned int constraint);
1373 dfa->nodes[node->node_idx].constraint = node->token.opr.ctx_type; in calc_first()
1469 unsigned int constraint = init_constraint; in duplicate_node_closure() local
1481 clone_dest = duplicate_node (dfa, org_dest, constraint); in duplicate_node_closure()
1503 clone_dest = search_duplicated_node (dfa, org_dest, constraint); in duplicate_node_closure()
1514 constraint |= dfa->nodes[org_node].constraint; in duplicate_node_closure()
1515 clone_dest = duplicate_node (dfa, org_dest, constraint); in duplicate_node_closure()
1529 clone_dest = search_duplicated_node (dfa, org_dest, constraint); in duplicate_node_closure()
1534 clone_dest = duplicate_node (dfa, org_dest, constraint); in duplicate_node_closure()
[all …]
Dregex_internal.c1443 dfa->nodes[dfa->nodes_len].constraint = 0; in re_dfa_add_node()
1644 if (type == CHARACTER && !node->constraint) in create_ci_newstate()
1655 else if (type == ANCHOR || node->constraint) in create_ci_newstate()
1696 unsigned int constraint = node->constraint; in create_cd_newstate() local
1698 if (type == CHARACTER && !constraint) in create_cd_newstate()
1710 if (constraint) in create_cd_newstate()
1725 if (NOT_SATISFY_PREV_CONSTRAINT (constraint,context)) in create_cd_newstate()
Dregexec.c1251 unsigned int constraint = dfa->nodes[node].constraint; in check_halt_node_context() local
1254 if (!constraint) in check_halt_node_context()
1256 if (NOT_SATISFY_NEXT_CONSTRAINT (constraint, context)) in check_halt_node_context()
2553 if (dfa->nodes[cur_node_idx].constraint) in transit_state_mb()
2558 if (NOT_SATISFY_NEXT_CONSTRAINT (dfa->nodes[cur_node_idx].constraint, in transit_state_mb()
2625 if (node->constraint) in transit_state_bkref()
2629 if (NOT_SATISFY_NEXT_CONSTRAINT (node->constraint, context)) in transit_state_bkref()
3603 unsigned int constraint = node->constraint; in group_nodes_into_DFAstates() local
3643 if (constraint) in group_nodes_into_DFAstates()
3645 if (constraint & NEXT_NEWLINE_CONSTRAINT) in group_nodes_into_DFAstates()
[all …]
/ndk/sources/host-tools/make-3.81/doc/
Dmake.info-2425 The motivation for this constraint is that nonterminal match-anything
Dmake.texi8937 constraint has the added benefit of preventing any infinite loop in the
9418 The motivation for this constraint is that nonterminal match-anything
Dmake.info-17253 constraint has the added benefit of preventing any infinite loop in the