Home
last modified time | relevance | path

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

/netbsd-src/external/gpl2/lvm2/dist/libdm/regex/
H A Dmatcher.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 …]
H A Dparse_rx.h45 dm_bitset_t firstpos; member
/netbsd-src/external/bsd/tre/dist/lib/
H A Dtre-compile.c61 c->right->firstpos = NULL; in tre_add_tag_left()
94 c->left->firstpos = NULL; in tre_add_tag_right()
1349 node->firstpos = tre_set_one(mem, lit->position, 0, in tre_compute_nfl()
1351 if (!node->firstpos) in tre_compute_nfl()
1364 node->firstpos = tre_set_empty(mem); in tre_compute_nfl()
1365 if (!node->firstpos) in tre_compute_nfl()
1376 node->firstpos = in tre_compute_nfl()
1379 if (!node->firstpos) in tre_compute_nfl()
1429 node->firstpos = tre_set_union(mem, uni->left->firstpos, in tre_compute_nfl()
1430 uni->right->firstpos, NULL, 0, NULL); in tre_compute_nfl()
[all …]
H A Dtre-ast.h49 tre_pos_and_tags_t *firstpos; member
/netbsd-src/external/gpl2/grep/dist/src/
H A Ddfa.c1673 position *firstpos; /* Array where firstpos elements are stored. */ in dfaanalyze() local
1702 MALLOC(firstpos, position, d->nleaves); in dfaanalyze()
1703 o_firstpos = firstpos, firstpos += d->nleaves; in dfaanalyze()
1734 tmp.elems = firstpos; in dfaanalyze()
1754 tmp.elems = firstpos; in dfaanalyze()
1769 firstpos += nfirstpos[-1]; in dfaanalyze()
1816 --firstpos, --lastpos; in dfaanalyze()
1817 firstpos->index = lastpos->index = i; in dfaanalyze()
1818 firstpos->constraint = lastpos->constraint = NO_CONSTRAINT; in dfaanalyze()
1834 fprintf(stderr, " %d:", firstpos[j].index); in dfaanalyze()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgrep/
H A Ddfa.c1652 position *firstpos; /* Array where firstpos elements are stored. */ in dfaanalyze() local
1681 MALLOC(firstpos, position, d->nleaves); in dfaanalyze()
1682 o_firstpos = firstpos, firstpos += d->nleaves; in dfaanalyze()
1713 tmp.elems = firstpos; in dfaanalyze()
1733 tmp.elems = firstpos; in dfaanalyze()
1748 firstpos += nfirstpos[-1]; in dfaanalyze()
1795 --firstpos, --lastpos; in dfaanalyze()
1796 firstpos->index = lastpos->index = i; in dfaanalyze()
1797 firstpos->constraint = lastpos->constraint = NO_CONSTRAINT; in dfaanalyze()
1813 fprintf(stderr, " %d:", firstpos[j].index); in dfaanalyze()
[all …]