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

/freebsd-9.3-release/lib/libc/regex/
H A Dregfree.c84 if (g->charjump != NULL)
85 free(&g->charjump[CHAR_MIN]);
H A Dregex2.h182 int *charjump; /* Boyer-Moore char jump table */ member in struct:re_guts
H A Dregcomp.c242 g->charjump = NULL;
269 if(g->matchjump == NULL && g->charjump != NULL) {
270 free(g->charjump);
271 g->charjump = NULL;
1646 g->charjump = (int*) malloc((NC + 1) * sizeof(int));
1647 if (g->charjump == NULL) /* Not a fatal error */
1650 g->charjump = &g->charjump[-(CHAR_MIN)];
1656 g->charjump[ch] = g->mlen;
1664 g->charjump[(in
[all...]
H A Dengine.c171 int *charjump; local
188 if (g->charjump != NULL && g->matchjump != NULL) {
191 charjump = g->charjump;
196 while (dp < stop && charjump[(int)*dp])
197 dp += charjump[(int)*dp];
213 cj = charjump[(int)*dp];

Completed in 105 milliseconds