Lines Matching +full:- +full:v
1 /*-
67 #define CLEAR(v) ((v) = 0) argument
68 #define SET0(v, n) ((v) &= ~((unsigned long)1 << (n))) argument
69 #define SET1(v, n) ((v) |= (unsigned long)1 << (n)) argument
70 #define ISSET(v, n) (((v) & ((unsigned long)1 << (n))) != 0) argument
76 #define SETUP(v) ((v) = 0) argument
80 #define ISSTATEIN(v, o) (((v) & (o)) != 0) argument
85 #define ISSETBACK(v, n) (((v) & ((unsigned long)here >> (n))) != 0) argument
114 #define CLEAR(v) memset(v, 0, m->g->nstates) argument
115 #define SET0(v, n) ((v)[n] = 0) argument
116 #define SET1(v, n) ((v)[n] = 1) argument
117 #define ISSET(v, n) ((v)[n]) argument
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); \
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]) argument
129 #define ISSTATEIN(v, o) ((v)[o]) argument
133 #define BACK(dst, src, n) ((dst)[here-(n)] |= (src)[here])
134 #define ISSETBACK(v, n) ((v)[here - (n)]) argument
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()