Lines Matching refs:g
105 #define CLEAR(v) memset(v, 0, m->g->nstates)
109 #define ASSIGN(d, s) memcpy(d, s, m->g->nstates)
110 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
112 #define STATESETUP(m, nv) { (m)->space = (char*)malloc((nv)*(m)->g->nstates); \
116 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
142 struct re_guts *g = preg->re_g; in regexec() local
149 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2) in regexec()
151 assert(!(g->iflags&BAD)); in regexec()
152 if (g->iflags&BAD) /* backstop for no-debug case */ in regexec()
156 if (g->nstates <= (int)(CHAR_BIT*sizeof(states1)) && !(eflags®_LARGE)) in regexec()
157 return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()
159 return(lmatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()