Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libc/port/locale/
H A Dregexec.c150 #define CLEAR(v) (void) memset(v, 0, m->g->nstates)
154 #define ASSIGN(d, s) (void) memcpy(d, s, m->g->nstates)
155 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
157 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
162 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
223 else if (g->nstates <= CHAR_BIT*sizeof (states1) && !(eflags&REG_LARGE)) in regexec()
225 else if (g->nstates <= CHAR_BIT*sizeof (states1)) in regexec()
H A Dregex2.h171 sopno nstates; /* = number of sops */ member
H A Dengine.c1084 for (i = 0; i < g->nstates; i++) in print()
H A Dregcomp.c1344 g->nstates = p->slen; in stripsnug()
/titanic_41/usr/src/cmd/sgs/lex/common/
H A Dmain.c291 gotof = (int *)myalloc(nstates, sizeof (*gotof));
297 state = (int **)myalloc(nstates, sizeof (*state));
299 atable = (int *)myalloc(nstates, sizeof (*atable));
301 sfall = (int *)myalloc(nstates, sizeof (*sfall));
302 cpackflg = (Boolean *)myalloc(nstates, sizeof (*cpackflg));
H A Donce.h83 int nstates = NSTATES, maxpos = MAXPOS; variable
H A Dldefs.h236 extern int nstates, maxpos;
H A Dparser.y379 nstates = siconv(p);
380 if(nstates<=0)error("illegal state number");
382 if(debug)(void) printf( " no. states (%%n) now %d\n",nstates);
H A Dheader.c375 nstates, rcount); in statistics()
H A Dsub2.c326 (void) fprintf(fout, "define Svstop %d\n", nstates+1); in cgoto()
420 if (stnum+1 >= nstates) { in cgoto()
423 (nstates == NSTATES ? in cgoto()
/titanic_41/usr/src/tools/cscope-fast/
H A Dcgrep.c143 int nstates; /* Number of current states defined */ member
845 r->nstates = r->posnext = 0; in stateinit()
851 r->nstates = 0; /* reclaim space for states and positions */ in clrstates()
871 if (r->nstates >= r->statelim || in getstate()
878 return (r->nstates++); in getstate()
888 for (i = 0, s = r->states; i < r->nstates; i++, s++) { in stateof()