Home
last modified time | relevance | path

Searched refs:charjump (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/regex/
H A Dregfree.c78 if (g->charjump != NULL) in regfree()
79 free(&g->charjump[CHAR_MIN]); in regfree()
H A Dregcomp.c300 g->charjump = NULL; in regcomp()
326 if (g->matchjump == NULL && g->charjump != NULL) { in regcomp()
327 free(g->charjump); in regcomp()
328 g->charjump = NULL; in regcomp()
1812 g->charjump = (int *)malloc((NC_MAX + 1) * sizeof (int)); in computejumps()
1813 if (g->charjump == NULL) /* Not a fatal error */ in computejumps()
1816 g->charjump = &g->charjump[-(CHAR_MIN)]; in computejumps()
1823 g->charjump[ch] = g->mlen; in computejumps()
1832 g->charjump[(int)g->must[mindex]] = g->mlen - mindex - 1; in computejumps()
H A Dengine.c203 int *charjump; in matcher() local
222 if (g->charjump != NULL && g->matchjump != NULL) { in matcher()
225 charjump = g->charjump; in matcher()
230 while (dp < stop && charjump[(int)*dp]) in matcher()
231 dp += charjump[(int)*dp]; in matcher()
249 cj = charjump[(int)*dp]; in matcher()
H A Dregex2.h185 int *charjump; /* Boyer-Moore char jump table */ member