Lines Matching +full:- +full:nv
1 /*-
114 #define CLEAR(v) memset(v, 0, m->g->nstates)
118 #define ASSIGN(d, s) memcpy(d, s, m->g->nstates)
119 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
121 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \ argument
122 if ((m)->space == NULL) return(REG_ESPACE); \
123 (m)->vn = 0; }
124 #define STATETEARDOWN(m) { free((m)->space); }
125 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
133 #define BACK(dst, src, n) ((dst)[here-(n)] |= (src)[here])
134 #define ISSETBACK(v, n) ((v)[here - (n)])
141 - regexec - interface for matching
162 struct re_guts *g = preg->re_g; in regexec()
169 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2) in regexec()
171 assert(!(g->iflags&BAD)); in regexec()
172 if (g->iflags&BAD) /* backstop for no-debug case */ in regexec()
176 if (g->nstates <= (sopno) (CHAR_BIT*sizeof(states1)) && !(eflags®_LARGE)) in regexec()