Home
last modified time | relevance | path

Searched refs:posns (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/host-tools/nawk-20071023/
Db.c140 if ((f->posns[0] = (int *) calloc(1, *(f->re[0].lfollow)*sizeof(int))) == NULL) in mkdfa()
142 if ((f->posns[1] = (int *) calloc(1, sizeof(int))) == NULL) in mkdfa()
144 *f->posns[1] = 0; in mkdfa()
159 xfree(f->posns[2]); in makeinit()
160 if ((f->posns[2] = (int *) calloc(1, (k+1)*sizeof(int))) == NULL) in makeinit()
163 (f->posns[2])[i] = (f->re[0].lfollow)[i]; in makeinit()
165 if ((f->posns[2])[1] == f->accept) in makeinit()
171 *f->posns[2] = k-1; /* leave out position 0 */ in makeinit()
173 (f->posns[0])[i] = (f->posns[2])[i]; in makeinit()
178 --(*f->posns[f->curstat]); in makeinit()
[all …]
Dawk.h222 int *posns[NSTATES]; member