Lines Matching refs:constraint
1426 s->elems[i].constraint |= p.constraint; in insert()
1456 m->elems[m->nelem++].constraint |= s2->elems[j++].constraint; in merge()
1486 int constraint; in state_index() local
1493 hash ^= s->elems[i].index + s->elems[i].constraint; in state_index()
1502 if (s->elems[j].constraint in state_index()
1503 != d->states[i].elems.elems[j].constraint in state_index()
1518 d->states[i].constraint = 0; in state_index()
1527 constraint = s->elems[j].constraint; in state_index()
1528 if (SUCCEEDS_IN_CONTEXT(constraint, newline, 0, letter, 0) in state_index()
1529 || SUCCEEDS_IN_CONTEXT(constraint, newline, 0, letter, 1) in state_index()
1530 || SUCCEEDS_IN_CONTEXT(constraint, newline, 1, letter, 0) in state_index()
1531 || SUCCEEDS_IN_CONTEXT(constraint, newline, 1, letter, 1)) in state_index()
1532 d->states[i].constraint |= constraint; in state_index()
1538 d->states[i].constraint = NO_CONSTRAINT; in state_index()
1573 p.constraint = old.constraint; in epsclosure()
1584 p.constraint &= BEGLINE_CONSTRAINT; in epsclosure()
1587 p.constraint &= ENDLINE_CONSTRAINT; in epsclosure()
1590 p.constraint &= BEGWORD_CONSTRAINT; in epsclosure()
1593 p.constraint &= ENDWORD_CONSTRAINT; in epsclosure()
1596 p.constraint &= LIMWORD_CONSTRAINT; in epsclosure()
1599 p.constraint &= NOTLIMWORD_CONSTRAINT; in epsclosure()
1818 firstpos->constraint = lastpos->constraint = NO_CONSTRAINT; in dfaanalyze()
1885 if (PREV_NEWLINE_DEPENDENT(merged.elems[i].constraint)) in dfaanalyze()
2002 if (pos.constraint != 0xFF) in dfastate()
2004 if (! MATCHES_NEWLINE_CONTEXT(pos.constraint, in dfastate()
2007 if (! MATCHES_NEWLINE_CONTEXT(pos.constraint, in dfastate()
2011 if (! MATCHES_LETTER_CONTEXT(pos.constraint, in dfastate()
2015 if (! MATCHES_LETTER_CONTEXT(pos.constraint, in dfastate()
2100 if (PREV_NEWLINE_DEPENDENT(d->states[0].elems.elems[i].constraint)) in dfastate()
2102 if (PREV_LETTER_DEPENDENT(d->states[0].elems.elems[i].constraint)) in dfastate()
2180 if (PREV_NEWLINE_DEPENDENT(follows.elems[j].constraint)) in dfastate()
2189 if (PREV_LETTER_DEPENDENT(follows.elems[j].constraint)) in dfastate()
2450 if (!SUCCEEDS_IN_CONTEXT(pos.constraint, d->states[s].newline, in match_anychar()
2497 if (!SUCCEEDS_IN_CONTEXT(pos.constraint, d->states[s].newline, in match_mb_charset()