Searched refs:nstates (Results 1 - 21 of 21) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
H A Dregexec.c107 #define CLEAR(v) memset(v, 0, m->g->nstates)
111 #define ASSIGN(d, s) memmove(d, s, m->g->nstates)
112 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
114 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
118 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
158 if (g->nstates <= (long)(CHAR_BIT*sizeof(states1)) && !(eflags&REG_LARGE))
H A Dregex2.h141 sopno nstates; /* = number of sops */ member in struct:re_guts
H A Dregcomp.c1573 g->nstates = p->slen;
/freebsd-12-stable/contrib/nvi/regex/
H A Dregexec.c110 #define CLEAR(v) memset(v, 0, m->g->nstates)
114 #define ASSIGN(d, s) memcpy(d, s, m->g->nstates)
115 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
117 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
121 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
169 if (g->nstates <= (int)(CHAR_BIT*sizeof(states1)) && !(eflags&REG_LARGE))
H A Dregex2.h144 sopno nstates; /* = number of sops */ member in struct:re_guts
H A Dengine.c981 for (i = 0; i < g->nstates; i++)
H A Dregcomp.c1483 g->nstates = p->slen;
/freebsd-12-stable/contrib/byacc/
H A Dmkpar.c51 parser = NEW2(nstates, action *);
52 for (i = 0; i < nstates; i++)
200 for (i = 0; i < nstates; ++i)
232 SRconflicts = NEW2(nstates, Value_t);
233 RRconflicts = NEW2(nstates, Value_t);
234 for (i = 0; i < nstates; i++)
373 defred = NEW2(nstates, Value_t);
374 for (i = 0; i < nstates; i++)
396 for (i = 0; i < nstates; i++)
H A Dgraph.c22 for (i = 0; i < nstates; ++i)
29 for (i = 0; i < nstates; ++i)
H A Doutput.c334 for (i = 1; i < nstates; i++)
357 if (nstates != 0)
359 translate = TMALLOC(int, nstates);
362 for (i = 0; i < nstates; ++i)
375 for (i = 1; i < nstates; ++i)
429 for (i = 0; i < nstates; ++i)
527 tally[nstates + i] = reducecount;
530 tally[2 * nstates + i] = conflictcount;
533 width[nstates + i] = 0;
536 width[2 * nstates
[all...]
H A Dlalr.c76 state_table = NEW2(nstates, core *);
86 accessing_symbol = NEW2(nstates, Value_t);
96 shift_table = NEW2(nstates, shifts *);
106 reduction_table = NEW2(nstates, reductions *);
145 lookaheads = NEW2(nstates + 1, Value_t);
148 for (i = 0; i < nstates; i++)
155 lookaheads[nstates] = (Value_t)k;
162 for (i = 0; i < nstates; i++)
539 n = lookaheads[nstates];
H A Dlr0.c19 int nstates; variable
245 nstates = 1;
296 if (nstates >= MAXYYINT)
305 p->number = (Value_t)nstates;
315 nstates++;
H A Dverbose.c30 for (i = 0; i < nstates; i++)
41 fprintf(verbose_file, "%d grammar rules, %d states\n", nrules - 2, nstates);
89 for (i = 0; i < nstates; i++)
/freebsd-12-stable/lib/libc/regex/
H A Dregexec.c154 #define CLEAR(v) memset(v, 0, m->g->nstates)
158 #define ASSIGN(d, s) memcpy(d, s, m->g->nstates)
159 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
161 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
165 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
231 else if (g->nstates <= CHAR_BIT*sizeof(states1) && !(eflags&REG_LARGE))
H A Dregex2.h177 sopno nstates; /* = number of sops */ member in struct:re_guts
H A Dengine.c1152 for (i = 0; i < g->nstates; i++)
H A Dregcomp.c1799 g->nstates = p->slen;
/freebsd-12-stable/sys/dev/gpio/
H A Dgpioregulator.c63 int nstates; member in struct:gpioregulator_init_def
139 for (n = 0; n < sc->def->nstates; n++) {
179 for (n = 0; n < sc->def->nstates; n++) {
226 sc->init_def.nstates = len / 2;
227 sc->init_def.states = malloc(sc->init_def.nstates *
229 for (n = 0; n < sc->init_def.nstates; n++) {
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/regex/
H A Ddebug.c60 fprintf(d, "%ld states, %zu categories", (long)g->nstates,
/freebsd-12-stable/lib/libc/regex/grot/
H A Ddebug.c32 fprintf(d, "%ld states", (long)g->nstates);
/freebsd-12-stable/sys/netpfil/ipfw/
H A Dip_fw_dynamic.c392 uint32_t nstates; local
395 nstates = V_dyn_max;
396 error = sysctl_handle_32(oidp, &nstates, 0, req);
401 V_dyn_max = nstates;
409 uint32_t nstates; local
412 nstates = V_dyn_parent_max;
413 error = sysctl_handle_32(oidp, &nstates, 0, req);
418 V_dyn_parent_max = nstates;

Completed in 269 milliseconds