Home
last modified time | relevance | path

Searched refs:firstpos (Results 1 – 5 of 5) sorted by relevance

/dragonfly/contrib/lvm2/dist/libdm/regex/
HDmatcher.c76 n->firstpos = dm_bitset_create(m->scratch, m->num_nodes); in _create_bitsets()
98 dm_bit_union(rx->firstpos, in _calc_functions()
99 c1->firstpos, c2->firstpos); in _calc_functions()
101 dm_bit_copy(rx->firstpos, c1->firstpos); in _calc_functions()
113 dm_bit_copy(rx->firstpos, c1->firstpos); in _calc_functions()
119 dm_bit_union(rx->firstpos, c1->firstpos, c2->firstpos); in _calc_functions()
126 dm_bit_copy(rx->firstpos, c1->firstpos); in _calc_functions()
132 dm_bit_set(rx->firstpos, i); in _calc_functions()
152 n->followpos, c2->firstpos); in _calc_functions()
163 n->followpos, rx->firstpos); in _calc_functions()
[all …]
HDparse_rx.h45 dm_bitset_t firstpos; member
/dragonfly/contrib/tre/lib/
HDtre-compile.c2373 node->firstpos = tre_set_one(mem, lit->position, 0, in tre_compute_nfl()
2375 if (!node->firstpos) in tre_compute_nfl()
2388 node->firstpos = tre_set_empty(mem); in tre_compute_nfl()
2389 if (!node->firstpos) in tre_compute_nfl()
2400 node->firstpos = in tre_compute_nfl()
2403 if (!node->firstpos) in tre_compute_nfl()
2453 node->firstpos = tre_set_union(mem, uni->left->firstpos, in tre_compute_nfl()
2454 uni->right->firstpos, NULL, 0, NULL); in tre_compute_nfl()
2455 if (!node->firstpos) in tre_compute_nfl()
2548 node->firstpos = iter->arg->firstpos; in tre_compute_nfl()
[all …]
HDtre-ast.h50 tre_pos_and_tags_t *firstpos; member
/dragonfly/contrib/grep/lib/
HDdfa.c2614 position *firstpos = posalloc; in dfaanalyze() local
2615 position *lastpos = firstpos + d->nleaves; in dfaanalyze()
2666 tmp.elems = firstpos - stk[-1].nfirstpos; in dfaanalyze()
2687 tmp.elems = firstpos - stk[-1].nfirstpos; in dfaanalyze()
2701 firstpos -= stk[-1].nfirstpos; in dfaanalyze()
2745 firstpos->index = lastpos->index = i; in dfaanalyze()
2746 firstpos->constraint = lastpos->constraint = NO_CONSTRAINT; in dfaanalyze()
2747 firstpos++, lastpos++; in dfaanalyze()
2761 fprintf (stderr, " %td:", firstpos[j - stk[-1].nfirstpos].index); in dfaanalyze()
2762 prtok (d->tokens[firstpos[j - stk[-1].nfirstpos].index]); in dfaanalyze()