Home
last modified time | relevance | path

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

/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregfree.c99 if (g->charjump != NULL) in __weak_alias()
100 free(&g->charjump[CHAR_MIN]); in __weak_alias()
Dregcomp.c367 g->charjump = NULL; in regcomp_internal()
392 if(g->matchjump == NULL && g->charjump != NULL) { in regcomp_internal()
393 free(g->charjump); in regcomp_internal()
394 g->charjump = NULL; in regcomp_internal()
2288 g->charjump = calloc((NC_MAX + 1), sizeof(*g->charjump));
2289 if (g->charjump == NULL) /* Not a fatal error */
2292 g->charjump = &g->charjump[-(CHAR_MIN)];
2298 g->charjump[ch] = g->mlen;
2306 g->charjump[(int)g->must[mindex]] = g->mlen - mindex - 1;
Dengine.c221 size_t *charjump; in matcher() local
244 if (g->charjump != NULL && g->matchjump != NULL) { in matcher()
247 charjump = g->charjump; in matcher()
252 while (dp < stop && charjump[(int)*dp]) in matcher()
253 dp += charjump[(int)*dp]; in matcher()
269 cj = charjump[(int)*dp]; in matcher()
Dregex2.h195 size_t *charjump; /* Boyer-Moore char jump table */ member