Lines Matching refs:g
22 register struct re_guts *g = r->re_g; local
28 fprintf(d, "%ld states, %d categories", (long)g->nstates,
29 g->ncategories);
30 fprintf(d, ", first %ld last %ld", (long)g->firststate,
31 (long)g->laststate);
32 if (g->iflags&USEBOL)
34 if (g->iflags&USEEOL)
36 if (g->iflags&BAD)
38 if (g->nsub > 0)
39 fprintf(d, ", nsub=%ld", (long)g->nsub);
40 if (g->must != NULL)
41 fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen,
42 g->must);
43 if (g->backrefs)
45 if (g->nplus > 0)
46 fprintf(d, ", nplus %ld", (long)g->nplus);
48 s_print(g, d);
49 for (i = 0; i < g->ncategories; i++) {
52 if (g->categories[c] == i)
56 for (i = 1; i < g->ncategories; i++)
59 if (g->categories[c] == i)
64 for (i = 1; i < g->ncategories; i++)
69 if (c <= CHAR_MAX && g->categories[c] == i) {
91 s_print(g, d) in s_print() argument
92 register struct re_guts *g; in s_print()
116 if (OP(g->strip[0]) != OEND)
118 for (s = &g->strip[1]; !done; s++) {
148 cs = &g->sets[opnd];
150 for (i = 0; i < g->csetsize+1; i++) /* +1 flushes */
151 if (CHIN(cs, i) && i < g->csetsize) {