Home
last modified time | relevance | path

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

/freebsd/lib/libc/regex/
H A Dregfree.c78 if (g->charjump != NULL) in regfree()
79 free(&g->charjump[CHAR_MIN]); in regfree()
H A Dregcomp.c298 g->charjump = NULL; in regcomp_internal()
323 if(g->matchjump == NULL && g->charjump != NULL) { in regcomp_internal()
324 free(&g->charjump[CHAR_MIN]); in regcomp_internal()
325 g->charjump = NULL; in regcomp_internal()
2123 g->charjump = (int *)malloc((NC_MAX + 1) * sizeof(int));
2124 if (g->charjump == NULL) /* Not a fatal error */
2127 g->charjump = &g->charjump[-(CHAR_MIN)];
2133 g->charjump[ch] = g->mlen;
2141 g->charjump[(int)g->must[mindex]] = g->mlen - mindex - 1;
H A Dengine.c207 int *charjump; in matcher() local
224 if (g->charjump != NULL && g->matchjump != NULL) { in matcher()
227 charjump = g->charjump; in matcher()
232 while (dp < stop && charjump[(int)*dp]) in matcher()
233 dp += charjump[(int)*dp]; in matcher()
249 cj = charjump[(int)*dp]; in matcher()
H A Dregex2.h190 int *charjump; /* Boyer-Moore char jump table */ member