Searched refs:nstates (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | regexec.c | 145 #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®_LARGE)) in regexec()
|
H A D | regex2.h | 174 sopno nstates; /* = number of sops */ member
|
H A D | engine.c | 1035 for (i = 0; i < g->nstates; i++) in print()
|
H A D | regcomp.c | 1534 g->nstates = p->slen; in stripsnug()
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | main.c | 300 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 D | once.h | 82 int nstates = NSTATES, maxpos = MAXPOS; variable
|
H A D | ldefs.h | 234 extern int nstates, maxpos;
|
H A D | parser.y | 355 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 D | sub2.c | 324 (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 D | header.c | 371 nstates, rcount); in statistics()
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | cgrep.c | 140 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()
|