Home
last modified time | relevance | path

Searched refs:nstates (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/regex/
H A Dregexec.c145 #define CLEAR(v) (void) memset(v, 0, m->g->nstates)
149 #define ASSIGN(d, s) (void) memcpy(d, s, m->g->nstates)
150 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
152 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
157 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
219 else if (g->nstates <= CHAR_BIT*sizeof (states1) && !(eflags&REG_LARGE)) in regexec()
H A Dregex2.h174 sopno nstates; /* = number of sops */ member
H A Dengine.c1035 for (i = 0; i < g->nstates; i++) in print()
H A Dregcomp.c1534 g->nstates = p->slen; in stripsnug()
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dmain.c300 gotof = (int *)myalloc(nstates, sizeof (*gotof));
306 state = (int **)myalloc(nstates, sizeof (*state));
308 atable = (int *)myalloc(nstates, sizeof (*atable));
310 sfall = (int *)myalloc(nstates, sizeof (*sfall));
311 cpackflg = (Boolean *)myalloc(nstates, sizeof (*cpackflg));
H A Donce.h82 int nstates = NSTATES, maxpos = MAXPOS; variable
H A Dldefs.h234 extern int nstates, maxpos;
H A Dparser.y355 nstates = siconv(p);
356 if(nstates<=0)error("illegal state number");
358 if(debug)(void) printf( " no. states (%%n) now %d\n",nstates);
H A Dsub2.c324 (void) fprintf(fout, "define Svstop %d\n", nstates+1); in cgoto()
418 if (stnum+1 >= nstates) { in cgoto()
421 (nstates == NSTATES ? in cgoto()
H A Dheader.c371 nstates, rcount); in statistics()
/illumos-gate/usr/src/tools/cscope-fast/
H A Dcgrep.c140 int nstates; /* Number of current states defined */ member
840 r->nstates = r->posnext = 0; in stateinit()
846 r->nstates = 0; /* reclaim space for states and positions */ in clrstates()
866 if (r->nstates >= r->statelim || in getstate()
873 return (r->nstates++); in getstate()
883 for (i = 0, s = r->states; i < r->nstates; i++, s++) { in stateof()